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

Commita8f7831

Browse files
committed
Merge pull requestfsharp#17 from kongo2002/reference_fix
fix up resolution of assembly references
2 parents5090d51 +063f241 commita8f7831

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/fsharp/build.fs‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2996,19 +2996,23 @@ type TcAssemblyResolutions(results : AssemblyResolution list, unresolved : Unres
29962996

29972997
if tcConfig.frameworkthen
29982998
for sin DefaultBasicReferencesForOutOfProjectSourcesdo
2999+
#if SILVERLIGHT
29993000
yield AssemblyReference(rangeStartup,s)
3001+
#else
3002+
yield AssemblyReference(rangeStartup,s+".dll")
3003+
#endif
30003004

30013005
if tcConfig.framework|| tcConfig.addVersionSpecificFrameworkReferencesthen
30023006
// For out-of-project context, then always reference some extra DLLs on .NET 4.0, but not Silverlight 5.0
30033007
if tcConfig.MscorlibMajorVersion>=4&&not(tcConfig.MscorlibMinorVersion=0&& tcConfig.MscorlibRevisionVersion=5)then
30043008
for sin DefaultBasicReferencesForOutOfProjectSources40do
3005-
yield AssemblyReference(rangeStartup,s+".dll")
3009+
yield AssemblyReference(rangeStartup,s+".dll")
30063010

30073011
if tcConfig.useFsiAuxLibthen
30083012
#if SILVERLIGHT
30093013
letname= GetFsiLibraryName()//Path.Combine(tcConfig.fsharpBinariesDir, GetFsiLibraryName())
30103014
#else
3011-
letname= Path.Combine(tcConfig.fsharpBinariesDir, GetFsiLibraryName()^".dll")
3015+
letname= Path.Combine(tcConfig.fsharpBinariesDir, GetFsiLibraryName()+".dll")
30123016
#endif
30133017
yield AssemblyReference(rangeStartup,name)
30143018
yield! tcConfig.referencedDLLs]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp