Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/301.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 设置.net应用程序的“始终复制到本地”属性_C#_Vb.net_Network Programming_Windows Server 2012 - Fatal编程技术网

C# 设置.net应用程序的“始终复制到本地”属性

C# 设置.net应用程序的“始终复制到本地”属性,c#,vb.net,network-programming,windows-server-2012,C#,Vb.net,Network Programming,Windows Server 2012,我正在通过局域网使用一个便携式聊天应用程序(内置于vb,net),该应用程序位于本地服务器(Windows server 2012)计算机(如computer1)中。我有另一台Windows server(Windows server 2012)PC,里面大约有10个人在工作。把那台电脑说成是电脑。在computer2中工作时,我们使用computer1访问聊天应用程序 有一段时间,我会更新聊天应用程序的一些功能,并在computer1中替换这些功能,不会出现任何错误。现在,为了让compute

我正在通过局域网使用一个便携式聊天应用程序(内置于vb,net),该应用程序位于本地服务器(Windows server 2012)计算机(如computer1)中。我有另一台Windows server(Windows server 2012)PC,里面大约有10个人在工作。把那台电脑说成是电脑。在computer2中工作时,我们使用computer1访问聊天应用程序

有一段时间,我会更新聊天应用程序的一些功能,并在computer1中替换这些功能,不会出现任何错误。现在,为了让computer2的用户可以使用最新版本的应用程序,computer2中的所有工作用户都必须关闭然后打开聊天应用程序。这是打开最新版本的应用程序需要执行的步骤

userA and userB are using chat application,
userA, userb both closes the application
userA, userb opens the app
这是我的问题

userA and userB are using chat application,
I will update the app in computer1
userA closes the application but userB still kept that app open.
userA opens the app, here userA will get old version instead of new version which is available in computer1.
为什么会这样?windows在哪里存储缓存

是否可以在.net中设置类似“从网络运行时始终将应用程序复制到本地”的属性

我知道我可以按照方法1作为解决方案,但很难知道所有用户都关闭了应用程序,以便我可以再次通知他们打开它

请帮帮我。

你想过吗?你想过吗?