Skip to content

Commit 1836eb5

Browse files
authored
Merge pull request #9484 from baronfel/sourcelink-for-fcs
enable sourcelink packaging for FCS, and embed PDBs
2 parents 194b6c7 + 3da2355 commit 1836eb5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fcs/FSharp.Compiler.Service/FSharp.Compiler.Service.fsproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<Tailcalls>true</Tailcalls> <!-- .tail annotations always emitted for this binary, even in debug mode -->
2020
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2121
<GenerateDocumentationFile>true</GenerateDocumentationFile>
22+
<DebugType>embedded</DebugType>
2223
</PropertyGroup>
2324
<PropertyGroup>
2425
<Summary>The F# compiler as library. For editors, for tools, for scripting. For you.</Summary>
@@ -29,6 +30,8 @@
2930
<PackageProjectUrl>https://github.com/fsharp/FSharp.Compiler.Service</PackageProjectUrl>
3031
<PackageIcon>logo.png</PackageIcon>
3132
<PackageTags>F#, fsharp, interactive, compiler, editor</PackageTags>
33+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
34+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
3235
</PropertyGroup>
3336
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
3437
<DefineConstants>$(DefineConstants);FX_NO_PDB_READER</DefineConstants>
@@ -722,6 +725,7 @@
722725
<PackageReference Include="System.Reflection.Metadata" Version="1.6.0" />
723726
<PackageReference Include="System.Buffers" Version="4.5.0" />
724727
<PackageReference Include="System.Memory" Version="4.5.3" />
728+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" />
725729
</ItemGroup>
726730
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
727731
<PackageReference Include="System.Reflection.Emit" Version="4.3.0" />

0 commit comments

Comments
 (0)