Skip to content

Commit

Permalink
Problem with deployment, try explicit Microsoft.Bcl.AsyncInterfaces v…
Browse files Browse the repository at this point in the history
…ersion.

typescript compile on publish.
  • Loading branch information
Layoric committed Feb 25, 2021
1 parent 3e89701 commit 9ede0fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />
<PackageReference Include="ServiceStack" Version="5.*" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />
<PackageReference Include="ServiceStack.Interfaces" Version="5.*" />
</ItemGroup>

Expand Down
5 changes: 5 additions & 0 deletions RazorTemplate/RazorTemplate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
<RazorCompileOnPublish>false</RazorCompileOnPublish>
</PropertyGroup>

<Target Name="Bundle" BeforeTargets="BeforePublish">
<Exec Command="tsc wwwroot/assets/js/dtos.ts" />
</Target>

<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />
<PackageReference Include="ServiceStack" Version="5.*" />
<PackageReference Include="ServiceStack.Mvc" Version="5.*" />

Expand Down

0 comments on commit 9ede0fe

Please sign in to comment.