Skip to content

Commit

Permalink
Microsoft.TypeScript.Msbuild only for debug config. Fixes #55 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tewr authored Sep 1, 2019
1 parent cb36e37 commit 537fdf4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Blazor.FileReader/Blazor.FileReader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.0.0-preview8.19405.7" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.0.0-preview8.19405.4" />
</ItemGroup>

<ItemGroup Condition="'$(Configuration)'=='Debug'">
<!--
Referencing this is needed for a smooth developer experience,
but it will botch the pack command, thus only available for debug config
-->
<PackageReference Include="Microsoft.TypeScript.Msbuild" Version="3.4.5">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit 537fdf4

Please sign in to comment.