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

Commit8a9fe75

Browse files
TIHanbrettfo
authored andcommitted
Minor refactor
1 parentff19ad6 commit8a9fe75

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎vsintegration/src/FSharp.Editor/LanguageService/LegacyProjectWorkspaceMap.fs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ type internal LegacyProjectWorkspaceMap(workspace: VisualStudioWorkspaceImpl,
117117
hierarchy,
118118
Option.toObj site.CompilationBinOutputPath)
119119

120-
// The real project ID that was actually added. See comments for fakeProjectId why this one is actually good.
121120
letrealProjectId= workspace.ProjectTracker.GetOrCreateProjectIdForPath(projectFileName, projectDisplayName)
122121

123122
// Sync IProjectSite --> projectContext, and IProjectSite --> ProjectInfoManage

‎vsintegration/src/FSharp.ProjectSystem.FSharp/Project.fs‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,6 @@ namespace rec Microsoft.VisualStudio.FSharp.ProjectSystem
12851285
member__.CompilationSourceFiles=match sourcesAndFlagswith None->[||]| Some(sources,_)-> sources
12861286
member__.CompilationOptions=match sourcesAndFlagswith None->[||]| Some(_,flags)-> flags
12871287
member__.CompilationReferences=match normalizedRefswith None->[||]| Some refs-> refs
1288-
memberx.CompilationBinOutputPath= x.GetCurrentOutputAssembly()
12891288

12901289
overridex.ComputeSourcesAndFlags()=
12911290

@@ -1408,7 +1407,7 @@ namespace rec Microsoft.VisualStudio.FSharp.ProjectSystem
14081407
member__.CompilationOptions= x.CompilationOptions
14091408
member__.CompilationReferences= x.CompilationReferences
14101409
member__.CompilationBinOutputPath=
1411-
letoutputPath= x.CompilationBinOutputPath
1410+
letoutputPath= x.GetCurrentOutputAssembly()
14121411
if String.IsNullOrWhiteSpace(outputPath)then Noneelse Some(outputPath)
14131412

14141413
member__.Description=
@@ -1436,7 +1435,7 @@ namespace rec Microsoft.VisualStudio.FSharp.ProjectSystem
14361435
// that does _not_ reference "this" to get its information.
14371436
// CreateStaticProjectSite can be called on a project that failed to load (as in Close)
14381437
memberprivatex.CreateStaticProjectSite()=
1439-
letoutputPath= x.CompilationBinOutputPath
1438+
letoutputPath= x.GetCurrentOutputAssembly()
14401439
letsourceFiles= x.CompilationSourceFiles
14411440
letoptions= x.CompilationOptions
14421441
letrefs= x.CompilationReferences

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp