Skip to content

Commit

Permalink
sourcelink it is
Browse files Browse the repository at this point in the history
  • Loading branch information
m0sa committed Dec 14, 2018
1 parent c6a151e commit d595fac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
Version 5.1.0
* updating roslyn packages to 2.10.0
* updating mvc packages to 5.2.7
* fixing SourceLink support for native pdbs
Version 5.0.0
* updating how Precompilation.Build resolves it's Workspaces dependency
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<Name>StackExchange.Precompilation</Name>
</ProjectReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.10.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.DiaSymReader.Native" Version="1.7.0" PrivateAssets="all" />
</ItemGroup>

<Target Name="_ToolsSetup">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
 <!--
HACK

We need to include the native DiaSymReader Native runtime files in order to support sourcelink etc.
Roslyn does it too: https://github.com/dotnet/roslyn/blob/1fe72cd3f196005a1a407c582f60145d096b2f43/src/Compilers/Core/Portable/Microsoft.CodeAnalysis.csproj#L26-L37
We make build/Microsoft.DiaSymRerader.Native.props from the package do it, via the existance of this dummy packages.config file.
-->

0 comments on commit d595fac

Please sign in to comment.