使用 psake 构建 Visual Studio 2003 解决方案或 .NET 1.1 项目
不幸的是,我有混合的.NET 版本项目。一些遗留代码位于 .NET 1.1 中,其他代码位于 .NET 3.5 中。我无法使用
exec { msbuild test.sln }
,因为 msbuild 不支持编译 .NET 1.1 解决方案。
如何使用 psake 构建 .NET 1.1 解决方案?我认为 psake 很酷并且想利用它。
在命令提示符下,我可以执行
.\devenv.com /rebuild release "c:\engine.sln"
但我不知道如何在 psake 构建文件中执行相同的操作。
Unfortunately, I have mixed .NET version projects. Some legacy code is in .NET 1.1 and other is in .NET 3.5. I cannot use
exec { msbuild test.sln }
because msbuild does not support compiling .NET 1.1 solution.
How can I build .NET 1.1 solutions with psake? I think psake is cool and want to utilise it.
On command prompt, I can do
.\devenv.com /rebuild release "c:\engine.sln"
But I can't figure out how I do the same thing within psake build file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果
这是你所做的,你所要做的就是确保 devenv 在 PATH 中或提供完整路径并执行以下操作:
If
is what you do, all you have to do is either make sure devenv is in PATH or supply the full path and do: