开发者

Powershell to run exe after vs2010 solution/project build..?

I have an exe that I have to run every time I build a project or the entire solution in VS2010. Can I automate this process somehow using Powershell? I've not used Powershell before, but have seen it do a lot of cool things and am hoping that this would be one of those things. :开发者_如何学C)

Thanks


In the project properties there is "Build Events" tab and you can set it so the exe will get called after the build process. MSDN has an article that should help:

How to: Specify Build Events (C#)


Build events will be fine for you, probably. However, you could look at StudioShell - it is PowerShell in VisualStudio that accesses VS internals in a clever way (providers). There are some examples and video that will tell you more.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜