开发者

how to run target from post build events using MSBuild

开发者 https://www.devze.com 2023-02-03 17:03 出处:网络
I want to run a target in csproj file using post build events from the visual studio properties window (not from cmd promt).

I want to run a target in csproj file using post build events from the visual studio properties window (not from cmd promt).

Is that possible? Please explains t开发者_如何转开发hks


You can define a target called AfterBuild in your csproj file and it will be called near the end of the build process. There is also a BeforeBuild target you can add that gets called just before the core build actions.

0

精彩评论

暂无评论...
验证码 换一张
取 消