Browse Source

Add EmbedSources flag to allow source stepping in nupkg.

pull/940/merge
Siegfried Pammer 8 years ago
parent
commit
472c4fb936
  1. 11
      ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj

11
ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj

@ -32,6 +32,7 @@ @@ -32,6 +32,7 @@
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<EmbedSources>true</EmbedSources>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>$(DefineConstants);STEP</DefineConstants>
</PropertyGroup>
@ -39,6 +40,7 @@ @@ -39,6 +40,7 @@
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
<EmbedSources>true</EmbedSources>
</PropertyGroup>
<PropertyGroup>
@ -587,4 +589,13 @@ @@ -587,4 +589,13 @@
</PropertyGroup>
<Exec WorkingDirectory="$(SolutionDir)" Command="$(UpdateAssemblyInfo)" Timeout="60000" />
</Target>
<!-- Workaround for EmbedSources support, see https://github.com/dotnet/roslyn/issues/19127 -->
<Target Name="PopulateEmbeddedFiles"
AfterTargets="BeforeCompile"
BeforeTargets="CoreCompile">
<ItemGroup>
<EmbeddedFiles Include="@(Compile)" />
</ItemGroup>
</Target>
</Project>
Loading…
Cancel
Save