@@ -2996,19 +2996,23 @@ type TcAssemblyResolutions(results : AssemblyResolution list, unresolved : Unres
29962996
29972997if tcConfig.frameworkthen
29982998for sin DefaultBasicReferencesForOutOfProjectSourcesdo
2999+ #if SILVERLIGHT
29993000yield AssemblyReference( rangeStartup, s)
3001+ #else
3002+ yield AssemblyReference( rangeStartup, s+ " .dll" )
3003+ #endif
30003004
30013005if 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
30033007if tcConfig.MscorlibMajorVersion>= 4 && not ( tcConfig.MscorlibMinorVersion= 0 && tcConfig.MscorlibRevisionVersion= 5 ) then
30043008for sin DefaultBasicReferencesForOutOfProjectSources40do
3005- yield AssemblyReference( rangeStartup, s+ " .dll" )
3009+ yield AssemblyReference( rangeStartup, s+ " .dll" )
30063010
30073011if tcConfig.useFsiAuxLibthen
30083012#if SILVERLIGHT
30093013let name = GetFsiLibraryName() //Path.Combine(tcConfig.fsharpBinariesDir, GetFsiLibraryName())
30103014#else
3011- let name = Path.Combine( tcConfig.fsharpBinariesDir, GetFsiLibraryName()^ " .dll" )
3015+ let name = Path.Combine( tcConfig.fsharpBinariesDir, GetFsiLibraryName()+ " .dll" )
30123016#endif
30133017yield AssemblyReference( rangeStartup, name)
30143018yield ! tcConfig.referencedDLLs]