Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit 756879f

Browse files
authored
Merge pull request #6 from xamarin/fsharp-cleanup
Fsharp cleanup
2 parents 414f8bf + cec82e2 commit 756879f

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

vsintegration/src/FSharp.Editor/FSharp.Editor.fsproj

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<WarningLevel>3</WarningLevel>
2626
<DocumentationFile>..\..\..\..\..\build\AddIns\FSharp.Editor\FSharp.Editor.XML</DocumentationFile>
2727
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
28-
<OtherFlags> --warnon:11111182 --subsystemversion:6.00 --simpleresolution</OtherFlags>
28+
<OtherFlags> --warnon:11111182 --subsystemversion:6.00 --simpleresolution</OtherFlags>
2929
<SignAssembly>true</SignAssembly>
3030
<OtherFlags>--publicsign</OtherFlags>
3131
<AssemblyOriginatorKeyFile>..\..\..\src\buildtools\keys\MSFT.snk</AssemblyOriginatorKeyFile>
@@ -76,11 +76,6 @@
7676
<HintPath>..\..\..\..\Xamarin.Mac.dll</HintPath>
7777
<Private>False</Private>
7878
</Reference>
79-
<Reference Include="ExtCore">
80-
<HintPath>..\..\..\..\fsharpbinding\packages\ExtCore\lib\net45\ExtCore.dll</HintPath>
81-
<Private>True</Private>
82-
<Paket>True</Paket>
83-
</Reference>
8479
</ItemGroup>
8580
<ItemGroup>
8681
<Compile Include="..\..\..\src\fsharp\FSharp.Compiler.LanguageServer\JsonOptionConverter.fs" />
@@ -223,7 +218,7 @@
223218
<Private>False</Private>
224219
</ProjectReference>
225220
<PackageReference Include="Microsoft.CodeAnalysis" Version="$(NuGetVersionRoslyn)" PrivateAssets="all" ExcludeAssets="runtime;contentFiles;build;analyzers;native" />
226-
<PackageReference Include="FSharp.Core" Version="4.7.0" />
221+
<PackageReference Include="FSharp.Core" Version="$(NuGetFSharpCore)" />
227222
<PackageReference Include="Microsoft.CodeAnalysis.Features" Version="$(NuGetVersionRoslyn)" />
228223
<ProjectReference Include="..\..\..\..\..\src\core\MonoDevelop.Ide\MonoDevelop.Ide.csproj">
229224
<Project>{27096E7F-C91C-4AC6-B289-6897A701DF21}</Project>
@@ -233,7 +228,7 @@
233228
</ProjectReference>
234229
<PackageReference Include="Microsoft.CodeAnalysis.EditorFeatures.Text" Version="$(NuGetVersionRoslyn)" PrivateAssets="all" ExcludeAssets="runtime;contentFiles;build;analyzers;native" />
235230
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="$(NuGetVersionRoslyn)" PrivateAssets="all" ExcludeAssets="runtime;contentFiles;build;analyzers;native" />
236-
<PackageReference Include="FSharp.Compiler.Service" Version="34.1.0" />
231+
<PackageReference Include="FSharp.Compiler.Service" Version="$(NuGetFSharpCompilerService)" />
237232
<ProjectReference Include="..\..\..\..\..\src\addins\MonoDevelop.TextEditor\MonoDevelop.TextEditor\MonoDevelop.TextEditor.csproj">
238233
<Project>{3F5B5BDA-69D5-441A-8142-AA25C998A997}</Project>
239234
<Name>MonoDevelop.TextEditor</Name>
@@ -292,4 +287,4 @@
292287
</Properties>
293288
</MonoDevelop>
294289
</ProjectExtensions>
295-
</Project>
290+
</Project>

vsintegration/src/FSharp.Editor/FSharp.addin.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Runtime>
44
<Import assembly="FSharp.Editor.dll" />
55
<Import assembly="FSharpBinding.Gui.dll" />
6-
<Import assembly="ExtCore.dll" />
76

87
<Import file = "VSMac/templates/EmptyFSharpSource.xft.xml" />
98
<Import file = "VSMac/templates/EmptyFSharpScript.xft.xml" />
@@ -21,7 +20,6 @@
2120
<!-- Code VSMac/templates -->
2221
<Import file = "VSMac/templates/FSharp-templates.xml" />
2322

24-
<ScanExclude path="ExtCore.dll" />
2523
<ScanExclude path="FSharp.Compiler.CodeDom.dll" />
2624
<ScanExclude path="FSharp.Compiler.Interactive.Settings.dll" />
2725
<ScanExclude path="FSharp.Core.dll" />

vsintegration/src/FSharp.Editor/VSMac/FSharpSymbolHelper.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ open System.Collections.Generic
44
open System.Text
55
open FSharp.Compiler
66
open FSharp.Compiler.SourceCodeServices
7+
open Microsoft.VisualStudio.FSharp.Editor.Symbols
78

89
module Symbols =
910
let getLocationFromSymbolUse (s: FSharpSymbolUse) =

0 commit comments

Comments
 (0)