有人知道我在哪里可以获得 dotnet 2.0 的 MSBuild 社区任务吗?或者

发布于 2024-09-09 06:34:30 字数 625 浏览 1 评论 0原文

有人可以给我一些关于 TeamCity+CI+Deployment 的建议吗?

到目前为止,我的“感觉很垃圾”的解决方案是;

TeamCity + 三个构建配置;
1) 解决方案运行程序(输出所有安装程序先决条件)
2) 命令行运行程序 +“版本控制构建”更新版本号(仅在 1 次成功时)
3) 命令行运行程序 \devenv.exe 到构建器安装程序 msi(仅在 2 次成功时)
4) 压缩我的 msi+pre-req 输出文件夹
5) FTP 到远程 ftp 位置

我的前三个部分工作正常并且可以,但我无法弄清楚如何自动将其压缩并将其 ftp 到站点。

我查看了 msbuild + MSBuild 社区任务,但这不适用于 2.0,并且该网站说它是 3.5+(可能是为什么)我可以安装 3.5 吗?这会对构建产生任何奇怪的影响吗?即我可以安装 3.5 以使构建任务正常工作吗?但是使用 3.5 msbuild 告诉它使用 2.0 编译器进行编译?这可能吗?我不知道

是否会写一个该死的批处理文件,但 id 而不是。任何人对如何做到这一点有任何想法,因为这对我来说感觉不对......我可能是新人,但这里仍然有些不对劲......?

在vs2005中使用vb.net 2.0

Can someone offer me some advice on TeamCity+CI+Deployment

So far my "it feels rubbish" solution is;

TeamCity + three build configs;
1) solution runner (outputs all installer pre-reqs)
2) command line runner +"Version Controlled Build" updates version numbers (only on 1 success)
3) command line runner \devenv.exe to builder installer msi (only on 2 success)
4) Zip up my msi+pre-req output folders
5) FTP to remote ftp location

ive got the first three parts working ok and itll do, but i cant for the life of me figure out how to automatically zip it up and ftp it to a site.

ive looked at msbuild + MSBuild Community Tasks but thats not working with 2.0 and the site says its 3.5+ (probably why) could i install 3.5? would that do anything odd with the build? i.e. can i install 3.5 to get build tasks working. but using 3.5 msbuild tell it to compile using the 2.0 compiler? is that even possible? ive no idea

if it comes to it i'll write a damn batch file but id rather not. Anyone got any ideas on how this should be done because this just feels wrong to me... i might be new but still somethings not right here....?

using vb.net 2.0 in vs2005

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

数理化全能战士 2024-09-16 06:34:30

您始终可以指示 msbuild 使用 .Net 2.0 - 它应该向后兼容。此外,您正在编译一个具有自己的设置的项目,您可以在那里告诉编译器它需要使用哪个框架。

You can always point msbuild to use .Net 2.0 - it should be backward compatible. Besides, you're compiling A PROJECT which has it's own settings and there you can tell the compiler which framework it need to use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文