MSBuild 和 Web 部署项目外部依赖项

发布于 2024-08-21 12:01:59 字数 238 浏览 3 评论 0原文

第一次 MSBuild/CI 设置。我已经构建了所有的类库,但我对网络部署项目感到困惑。这需要从同级文件夹复制多个二进制文件。该文件夹包含我不想复制的其他二进制文件;我只想要它需要的东西,仅此而已。

csproj 文件使用方便的“提示路径”指定二进制文件,以便我可以将它们指向正确的位置。这似乎不存在于 wdproj 中。

我的偏好是不将它们添加到网站 bin 目录中的 subversion 中。

秘诀是什么?

First time MSBuild/CI setup. I've got all my class libraries building, but am getting hung up on a web deployment project. This requires several binaries that are to be copied from a sibling folder. The folder contains other binaries that I do not want copied; I just want what it needs and nothing more.

The csproj files specify the binaries with a handy "hintpath" so I can point them to the right place. This doesn't seem to be present in the wdproj.

My preference is not to add them to subversion in the web site's bin directory.

What's the secret sauce?

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

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

发布评论

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

评论(1

病毒体 2024-08-28 12:01:59

我犹豫以这种方式回答我自己的问题,但因为似乎没有人有任何想法......我将正在编译的网站从网站切换到 Web 应用程序项目。这带来了它自己的问题,但至少现在我不必在 subversion 中保留 bin 文件夹。

I hesitate to answer my own question this way but since nobody else seems to have any ideas... I switched the site being compiled from a Web Site to a Web Application Project. That's introduced its own problems, but at least now I don't have to keep a bin folder in subversion.

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