发布包含两个项目的解决方案时未发布文本文件 [英] Text files not published when publishing solution containing two projects

查看:66
本文介绍了发布包含两个项目的解决方案时未发布文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2012并尝试使用ClickOnce功能发布解决方案。我创建了一个项目,用于计算已添加到该项目的一些数据和参考文本文件。因为我的许多应用程序最终都在进行这些计算,所以我在编写新应用程序时只引用该项目。问题是,当我发布只发布计算项目中的.exe文件时,该项目需要执行计算的文本文件不会随之发布。我检查了应用程序文件列表,文本文件甚至没有显示为包含或排除的选项。



这根本不可能做到吗?

I am using Visual Studio 2012 and trying to publish a solution using the ClickOnce feature. I created a project that calculates some data and reference text files that have been added to that project. Because many of my applications end up doing these calculation I just reference that project when writing a new application. The problem is that when I publish only the .exe file from my calculation project is published, the text files that this project would need to perform the calculations are not publish with them. I checked the Application Files list and the text files don't even show up as an option to Include or Exclude.

Is this simply not possible to do?

推荐答案

您好,



这可能对您有所帮助。



项目部署VS2012 [ ^ ]



谢谢!
Hi,

This may help you.

Project Deployment VS2012[^]

Thanks!


这篇关于发布包含两个项目的解决方案时未发布文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆