Visual Studio 安装程序不包含卫星资源程序集

发布于 2024-07-08 08:28:05 字数 130 浏览 6 评论 0原文

我有一个 VS2008 安装程序项目,它安装 .NET Windows 服务。 该服务的依赖项之一是 .NET 程序集,它具有附属程序集形式的本地化资源。 由于某种原因,安装程序没有打包或安装附属程序集,因此服务将无法启动。 有任何想法吗?

I have a VS2008 installer project which installs a .NET Windows Service. One of the service's dependencies is a .NET assembly which has localized resources in the form of a satellite assembly. The installer is not packaging or installing the satellite assembly for some reason and the service will consequently not start. Any ideas?

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

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

发布评论

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

评论(1

我要还你自由 2024-07-15 08:28:05

如果您在解决方案资源管理器中右键单击该项目并选择“查看”>“ 文件您可以看到哪些文件将安装到目标计算机。

它可能就像将本地化资源文件添加为目标计算机的应用程序目录中的输出一样简单。

但是,请检查安装程序项目的依赖项并确保列出所有项目(主程序集和其他项目)。

希望有帮助!

If you right click the project in solution explorer and choose View > Files you can see which files will be installed to the target machine.

It may be as simple as adding the localized resource file as an output in the Target Machine's Application directory.

However, check the installer project's dependencies and make sure that all of the projects (main assembly and otherwise) are listed.

Hope that helps!

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