简体   繁体   中英

PowerShell Script To build Visual Studio Project

是否有任何powershell脚本可以在没有开放视觉工作室的情况下构建visual studio项目?

You don't even need power shell or visual studio. Just use the msbuild program installed with .Net. Usage example is like this:

msbuild DBMigration.csproj /p:Configuration=Debug

msbuild is located at C:\\Windows\\Microsoft.NET\\Framework\\v3.5 (or select your version)

There is also a powershell build system, https://github.com/JamesKovacs/psake

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM