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

Commit

Permalink
Create fcs solution (dotnet#10137)
Browse files Browse the repository at this point in the history
* Create fcs solution

* Rename Fcs.sln to FSharp.Compiler.Service.sln

* Update Directory.Build.props

* Update Directory.Build.props

Co-authored-by: KevinRansom <codecutter@Hotmail>
  • Loading branch information
2 people authored and nosami committed Feb 22, 2021
1 parent e321120 commit 8a62182
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 17 deletions.
25 changes: 25 additions & 0 deletions FSharp.Compiler.Service.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30503.244
MinimumVisualStudioVersion = 10.0.40219.1
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Compiler.Service", "src\fsharp\FSharp.Compiler.Service\FSharp.Compiler.Service.fsproj", "{A59DB8AE-8044-41A5-848A-800A7FF31C93}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A59DB8AE-8044-41A5-848A-800A7FF31C93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A59DB8AE-8044-41A5-848A-800A7FF31C93}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A59DB8AE-8044-41A5-848A-800A7FF31C93}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A59DB8AE-8044-41A5-848A-800A7FF31C93}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F9A60F3B-D894-4C8E-BA0F-C51115B25A5A}
EndGlobalSection
EndGlobal
9 changes: 0 additions & 9 deletions FSharp.Compiler.Service.slnf

This file was deleted.

9 changes: 9 additions & 0 deletions src/fsharp/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<!--
When developers load the FSharp.Compiler.Service solution we set FSHARPCORE_USE_PACKAGE to true if it hasn't already been set to a value.
This option ensures that building and testing uses the specified FSharp.Core nuget package instead of the local
FSharp.Core project.
-->
<PropertyGroup Condition="'$(FSHARPCORE_USE_PACKAGE)' == ''">
<FSHARPCORE_USE_PACKAGE Condition="'$(SolutionName)' == 'FSharp.Compiler.Service'">true</FSHARPCORE_USE_PACKAGE>
</PropertyGroup>

<PropertyGroup>
<DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -719,14 +719,6 @@
</Compile>
</ItemGroup>

<PropertyGroup>
<!--
Some users have found it easier to work on FSharp.CompilerService when referencing the nuget package rather than the fsharp.core project
set FSHARPCORE_USE_PACKAGE to true to use package
-->
<FSHARPCORE_USE_PACKAGE>false</FSHARPCORE_USE_PACKAGE>
</PropertyGroup>

<ItemGroup Condition="'$(FSHARPCORE_USE_PACKAGE)' != 'true'">
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Core\FSharp.Core.fsproj" />
</ItemGroup>
Expand Down

0 comments on commit 8a62182

Please sign in to comment.