Visual Studio 2015 Build Publisher [英] Visual Studio 2015 Build Publisher

查看:79
本文介绍了Visual Studio 2015 Build Publisher的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于此的快速新手问题。

I have a quick, newbie question about this.

使用Visual Studio 2015,我的开发机器是安装了Windows 10 SDK的Windows 10。  我的测试机器有Windows 10,没有SDK

Using Visual Studio 2015, my dev machine is Windows 10 with the Windows 10 SDK installed.   My test machine has Windows 10, no SDK

我已经进入构建和发布我的应用程序。  由于安装将通过闪存驱动器,我只是通过源上的CD-ROM选择"用户将如何安装应用程序"。  它不会检查更新

I have gone in Build and Publish my application.  Since the installation will be by flash drive, I just selected via CD-ROM on source on "how will users install the application"  It won't check for updates

当我尝试运行安装时,测试机器上发生了两件事(我复制了整个文件夹,而不仅仅是可执行文件)

Two things happened on the test machine when I tried to run the installation (I copied the entire folder, not just the executable)

1) 首次运行安装时,我有20个安装程序实例尝试运行安装程序。  我不得不关闭机器并再试一次。  它工作 

1)  First time running the install, I got 20 instances of the installer trying to run setup.  I had to power off the machine and try again.  It worked 

2) 程序已安装,桌面上有图标,但程序无法加载。  我在任务管理器上短暂出现并取消。  

2)  The program is installed and I have the icon on the desktop but the program fails to load.  I appears briefly on task manager and cancels out.  

3) 看起来已安装的程序作为快捷方式运行...没有选项在发布服务器中设置安装路径

3)  It looks like the installed program is running as a shortcut...there was no option to set a path for install in the Publisher

4) 我如何验证所有必需的文件是否正在制作中,例如程序中引用的项目?

4)  How can I verify all the required files are making it out, such as the referenced items in the program?

5) 有没有更好的方式比Visual Studio Publisher?

5)  Is there a better way than the Visual Studio Publisher?

Paul http://paulsr2d2.blogspot.com http://www.youtube.com/paulsr2d2

Paul http://paulsr2d2.blogspot.com http://www.youtube.com/paulsr2d2

推荐答案

所以我更多地搞砸了这个

So I have messed with this a bit more

我在测试中安装了Visual Studio 2015机器加上Windows 10 SDK所以我可以在每个上面都有相同的文件

I wound up installing Visual Studio 2015 on the test machine plus the Windows 10 SDK so I could have the same files on each

即使我在它所在的文件夹(\ bin)之外运行构建的EXE,它也不会运行 从它设置的文件夹运行它,它运行良好。  开发和测试机器

Even if I run the built EXE outside the folder it resides in (\bin), it won't run   Run it from the folder it sets in, it runs great.   Both dev and test machines

这让我觉得发布者并没有真正做好导出所需文件的工作?  

That leads me to think the Publisher isn't really doing a good job of exporting out the needed files?  

帮助!  :)

Help!  :)


这篇关于Visual Studio 2015 Build Publisher的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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