Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf661d8c

Browse files
committed
Merge pull requestfsharp#132 from 7sharp9/master
Fix forfsharp#131 - SimpleSourceCodeServices.fs will not generate dynamic assemblies for non silverlight builds
2 parentsf3c8ea8 +3edb6b3 commitf661d8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/fsharp/vs/SimpleServices.fs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ namespace Microsoft.FSharp.Compiler.SimpleSourceCodeServices
213213
(ilGlobals,
214214
Microsoft.FSharp.Compiler.AbstractIL.ILRuntimeWriter.emEnv0,
215215
assemblyBuilder,moduleBuilder,
216-
ilxMainModule,
216+
// Omit resources in dynamic assemblies, because the module builder is constructed without a filename the module
217+
// is tagged as transient and as such DefineManifestResource will throw an invalid operation if resources are present
218+
{ ilxMainModulewith Resources=Microsoft.FSharp.Compiler.AbstractIL.IL.mkILResources[]},
217219
debugInfo,
218220
(fun s->
219221
match tcImportsRef.Value.Value.TryFindExistingFullyQualifiedPathFromAssemblyRef swith

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp