Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to add a pre-build event to visual studio 2015 by nuget?

$
0
0

I  create a code generator(WebCompiler.exe) for my mvc web project.

Then I add a pre-build event command line "$(TargetDir)WebCompiler.exe" manually.

Before Visutal Studio compiled,WebCompiler.exe create Models from Action automatic.

So that when I write "ViewBag.",The editor can support prompt automatic.

Then I make this in nuget,but i didn't know how to add "$(TargetDir)WebCompiler.exe" to visual studio by nuget.

Is there any interface for this?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>