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

Commit651b6d6

Browse files
author
Kevin Ransom
committed
Revert "Make cross language project references work when references are built"
This reverts commit87c4f5e.
1 parent0437472 commit651b6d6

File tree

4 files changed

+17
-25
lines changed

4 files changed

+17
-25
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ open Microsoft.VisualStudio.Shell
3535
openMicrosoft.VisualStudio.Shell.Interop
3636
openMicrosoft.VisualStudio.ComponentModelHost
3737

38-
/// Exposes FSharpChecker as MEF export
38+
// Exposes FSharpChecker as MEF export
3939
[<Export(typeof<FSharpCheckerProvider>); Composition.Shared>]
4040
typeinternalFSharpCheckerProvider
4141
[<ImportingConstructor>]
@@ -82,10 +82,10 @@ type internal FSharpCheckerProvider
8282

8383

8484
/// Exposes FCS FSharpProjectOptions information management as MEF component.
85-
///
86-
/// This service allows analyzers to get an appropriate FSharpProjectOptions value for a project or single file.
87-
/// It also allows a 'cheaper' route to get the project options relevant to parsing (e.g. the #define values).
88-
/// The main entrypoints are TryGetOptionsForDocumentOrProject and TryGetOptionsForEditingDocumentOrProject.
85+
//
86+
// This service allows analyzers to get an appropriate FSharpProjectOptions value for a project or single file.
87+
// It also allows a 'cheaper' route to get the project options relevant to parsing (e.g. the #define values).
88+
// The main entrypoints are TryGetOptionsForDocumentOrProject and TryGetOptionsForEditingDocumentOrProject.
8989
[<Export(typeof<FSharpProjectOptionsManager>); Composition.Shared>]
9090
typeinternalFSharpProjectOptionsManager
9191
[<ImportingConstructor>]

‎vsintegration/src/FSharp.LanguageService/FSharp.LanguageService.fsproj‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
<GeneratedModuleName>Microsoft.VisualStudio.FSharp.LanguageService.Strings</GeneratedModuleName>
6868
</EmbeddedResource>
6969
<CompileInclude="AssemblyInfo.fs" />
70-
<CompileInclude="LanguageServiceConstants.fs" />
7170
<CompileInclude="Error.fs" />
7271
<CompileInclude="Vs.fs" />
7372
<CompileInclude="Colorize.fs" />

‎vsintegration/src/FSharp.LanguageService/LanguageServiceConstants.fs‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎vsintegration/src/FSharp.LanguageService/ProjectSitesAndFiles.fs‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,23 @@ module internal rec Microsoft.VisualStudio.FSharp.LanguageService.SiteProvider
3434

3535
openSystem
3636
openSystem.Collections.Concurrent
37-
openSystem.Diagnostics
37+
openSystem.ComponentModel.Composition
3838
openSystem.IO
39-
40-
openMicrosoft.CodeAnalysis
39+
openSystem.Diagnostics
40+
openMicrosoft.VisualStudio
41+
openMicrosoft.VisualStudio.TextManager.Interop
42+
openMicrosoft.VisualStudio.Shell.Interop
4143
openMicrosoft.FSharp.Compiler.SourceCodeServices
4244

43-
openMicrosoft.VisualStudio
44-
openMicrosoft.VisualStudio.FSharp.LanguageService
45+
openMicrosoft.CodeAnalysis
46+
openMicrosoft.VisualStudio.LanguageServices
4547
openMicrosoft.VisualStudio.LanguageServices.Implementation.ProjectSystem
4648
openMicrosoft.VisualStudio.LanguageServices.Implementation.TaskList
47-
openMicrosoft.VisualStudio.Shell.Interop
48-
openMicrosoft.VisualStudio.TextManager.Interop
49-
5049
openVSLangProj
50+
openSystem.ComponentModel.Composition.Primitives
51+
openMicrosoft.VisualStudio.Shell
52+
openSystem.Collections.Immutable
53+
5154

5255
/// An additional interface that an IProjectSite object can implement to indicate it has an FSharpProjectOptions
5356
/// already available, so we don't have to recreate it
@@ -271,7 +274,7 @@ type internal ProjectSitesAndFiles() =
271274
ifnot(isNull project)then
272275
for referencein project.ProjectReferencesdo
273276
letproject= workspace.CurrentSolution.GetProject(reference.ProjectId)
274-
ifnot(isNull project)&& project.Language= LanguageServiceConstants.FSharpLanguageNamethen
277+
ifnot(isNull project)then
275278
letsiteProvider= provideProjectSiteProvider(workspace, project, serviceProvider, projectOptionsTable)
276279
letreferenceProject= workspace.ProjectTracker.GetProject(reference.ProjectId)
277280
letoutputPath= referenceProject.BinOutputPath

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp