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

Commitf09f727

Browse files
authored
no xproj refrences for FSharp.Core (#3073)
* no xproj refrences for FSHarp.Core* no xproj refrences for FSHarp.Core
1 parent00474eb commitf09f727

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎src/fsharp/vs/service.fs‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,8 +2099,16 @@ type BackgroundCompiler(referenceResolver, projectCacheSize, keepAssemblyContent
20992099
cancellable{
21002100

21012101
letprojectReferences=
2102-
[for(nm,opts)in options.ReferencedProjects->
2103-
{new IProjectReferencewith
2102+
[for(nm,opts)in options.ReferencedProjectsdo
2103+
2104+
// Don't use cross-project references for FSharp.Core, since various bits of code require a concrete FSharp.Core to exist on-disk.
2105+
// The only solutions that have these cross-project references to FSharp.Core are VisualFSharp.sln and FSharp.sln. The only ramification
2106+
// of this is that you need to build FSharp.Core to get intellisense in those projects.
2107+
2108+
if(try Path.GetFileNameWithoutExtension(nm)with_->"")<> GetFSharpCoreLibraryName()then
2109+
2110+
yield
2111+
{new IProjectReferencewith
21042112
memberx.EvaluateRawContents(ctok)=
21052113
cancellable{
21062114
let!r= self.ParseAndCheckProjectImpl(opts, ctok, userOpName+".CheckReferencedProject("+nm+")")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp