Skip to content

Commit 23b588d

Browse files
authored
Build fix for FX_NO_LOCAL_FILESYSTEM (#404)
1 parent 9e8239f commit 23b588d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProvidedTypes.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15929,14 +15929,14 @@ namespace ProviderImplementation.ProvidedTypes
1592915929
let probingFolders = ResizeArray()
1593015930
let handler = ResolveEventHandler(fun _ args -> this.ResolveAssembly(args))
1593115931
do AppDomain.CurrentDomain.add_AssemblyResolve handler
15932-
#endif
1593315932

1593415933
// By default add the location of the TPDTC assembly (which is assumed to contain this file)
1593515934
// as a probing location.
1593615935
do if addDefaultProbingLocation then
1593715936
let thisAssembly = Assembly.GetExecutingAssembly()
1593815937
let folder = thisAssembly.Location |> Path.GetDirectoryName
1593915938
probingFolders.Add folder
15939+
#endif
1594015940

1594115941
new (config, namespaceName, types, ?sourceAssemblies, ?assemblyReplacementMap, ?addDefaultProbingLocation) =
1594215942
let sourceAssemblies = defaultArg sourceAssemblies [ Assembly.GetCallingAssembly() ]

0 commit comments

Comments
 (0)