Tarball 创建 - 根解决方案目录之外的引用文件
我在 monodevelop 中创建了一个 Tarball 项目(Ubuntu 11.10 上为 2.6),用于从 Windows 移植到 mono-land 的 C# 解决方案。当前设置为为解决方案中的每个项目生成新的 makefile,而无需设置任何开关。
当我构建 tarball 项目时,我最终遇到了一些错误:
文件“未找到”。
...看起来它们会在下游导致这些错误:
解决方案“(blah)”正在引用位于根解决方案目录之外的文件“”。
我已尝试按照此相关问题中的建议删除 .pidb 文件。但我的问题更多的是包装时间的问题;构建解决方案效果很好。有没有人弄清楚(1)如何确定项目被哪些文件阻塞,以及(2)如何在输出中包含这些文件?
I've created a Tarball project within monodevelop (2.6 on Ubuntu 11.10) for a C# solution that's being ported from Windows to mono-land. It's currently set to generate new makefiles for each of the projects in the solution with no switches set.
When I build the tarball project, I end up with a handful of these errors:
File '' not found.
...which look like they cause these errors downstream:
The solution '(blah)' is referencing the file '' which is located outside the root solution directory.
I've tried removing the .pidb files, as recommended in this related issue. But my issue is more or a packaging-time one; building the solution works just fine. Has anyone figured out (1) how to determine which file(s) the project is choking on, and (2) how to include these files in the output?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可以使用 MonoDevelop 2.8.6.3 重现同样的问题。我在尝试导出项目或创建 tarball 时遇到以下错误:
解决方案: 您需要清理
.CSPROJ
文件以使它们与 MonoDevelop 兼容。就我而言,我通过删除以下条目摆脱了
File '' not found
错误:不知何故,我在 Visual Studio 的“项目属性”窗口中选中了“Sign assembly”复选框选项,但没有“ t 提供密钥文件的路径。
我通过删除此 ItemGroup 摆脱了其他错误:
希望对其他人有帮助!
I could reproduce the same issue with MonoDevelop 2.8.6.3. I got the following errors when trying to export the project or create a tarball:
Solution: You need to clean up your
.CSPROJ
files to make them compatible with MonoDevelop.In my case, I got rid of the
File '' not found
error by removing the following entry:Somehow I had checked the "Sign assembly" checkbox option in the Project Properties window in Visual Studio but didn't provide a path for the key file.
I got rid of the other errors by removing this ItemGroup:
Hope that helps other people!