单击一次部署时出现问题 [英] Problem with click once deployment

查看:124
本文介绍了单击一次部署时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个小小的应用程序,我需要分发。

I have a tiny little application that I need to distribute.


我做了  publish
> Visual Studio中的CD / DVD /文件系统
 选项创建了整个目录结构,然后我将其复制到PC并运行安装程序。

I did the publish > CD/DVD/File system option in Visual Studio which created the whole directory structure, I then copied this to a pc and run setup.


效果很好。

It worked great.


我不确定这是多么相关,或者只是错误的时间......然后我安装了SQL compact edition / SQL CE实体框架nuget包,当我去部署,应用程序会在启动时崩溃。

I am not sure how related this is, or if just bad timing... I then installed SQL compact edition/SQL CE entity framework nuget package, and when I went to deploy, the application would crash on start.


然后我删除了包裹,但是,我得到了同样的错误。

I then removed the package, but, I get the same error.


如果我执行发布编译并将整个发布目录移动到另一台计算机并运行  。exe
一切按预期工作。

If I do a release compile and move the entire release directory to another computer and run the .exe, everything works as expected.


我对这里出了什么问题感到困惑,我想知道是否有人知道它是否与nuget包或其他东西有关?

I'm a bit confused here as to what has gone wrong and I was wondering if anyone knows if it is related to the nuget package or something else?

推荐答案

Hello
Whilsum,

由于此问题与点击一次有关,我将其移至点击一次论坛,您发布的当前论坛使用讨论有关开发Windows应用程序的一般问题。

Since this issue is related with click once, i move it to the click once forum, the current forum you posted to is used to discuss general issues about developing applications for Windows.

问候。


这篇关于单击一次部署时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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