Skip to content

Commit

Permalink
Closes #943; Use official EmbedAllSources parameter; remove workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Jul 18, 2018
1 parent abe3b3a commit f634710
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<EmbedSources>true</EmbedSources>
<EmbedAllSources>true</EmbedAllSources>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>$(DefineConstants);STEP</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<EmbedSources>true</EmbedSources>
<EmbedAllSources>true</EmbedAllSources>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -607,11 +607,4 @@
</PropertyGroup>
<Exec WorkingDirectory=".." 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>

0 comments on commit f634710

Please sign in to comment.