Skip to content

Commit 000fdd3

Browse files
committed
Updated the web project to regenerate the typescript definitions on build
1 parent 7a708dc commit 000fdd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/TypeScriptSample.Web/TypeScriptSample.Web.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@
327327
</FlavorProperties>
328328
</VisualStudio>
329329
</ProjectExtensions>
330+
<PropertyGroup>
331+
<PreBuildEvent>"$(SolutionDir)Tools\TypeScriptSample.Generator.exe" "$(SolutionDir)TypeScriptSample.Models\bin\debug\TypeScriptSample.Models.dll" "$(ProjectDir)App\server"</PreBuildEvent>
332+
</PropertyGroup>
330333
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
331334
Other similar extension points exist, see Microsoft.Common.targets.
332335
<Target Name="BeforeBuild">

0 commit comments

Comments
 (0)