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 @@
<PropertyGroup Condition="'$(Configuration)' == 'Debug'"> <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<EmbedSources>true</EmbedSources>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow> <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>$(DefineConstants);STEP</DefineConstants> <DefineConstants>$(DefineConstants);STEP</DefineConstants>
</PropertyGroup> </PropertyGroup>
@ -39,6 +40,7 @@
<PropertyGroup Condition="'$(Configuration)' == 'Release'"> <PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<EmbedSources>true</EmbedSources>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
@ -587,4 +589,13 @@
</PropertyGroup> </PropertyGroup>
<Exec WorkingDirectory="$(SolutionDir)" Command="$(UpdateAssemblyInfo)" Timeout="60000" /> <Exec WorkingDirectory="$(SolutionDir)" Command="$(UpdateAssemblyInfo)" Timeout="60000" />
</Target> </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> </Project>
Loading…
Cancel
Save