简体   繁体   English

ClickOnce到Dropbox

[英]ClickOnce to Dropbox

I'd like to use Dropbox as a location where I deploy my WPF application with ClickOnce. 我想将Dropbox用作通过ClickOnce部署WPF应用程序的位置。 I want to use shared folder so that only those people who have access to that shared folder would have access to the application, but nobody else would not. 我想使用共享文件夹,以便只有那些有权访问该共享文件夹的人才能访问该应用程序,而其他人则没有。

Are there some guildines available how to do that? 有一些公会可用的方法吗?

Create a folder on Dropbox, where the application will be deployed from. 在Dropbox上创建一个文件夹,将在该文件夹中部署应用程序。
Create a folder on your computer, where you will save the ClickOnce package before uploading it to Dropbox. 在计算机上创建一个文件夹,在将ClickOnce程序包上传到Dropbox之前,将在其中保存该文件夹。

Run the Visual Studio Publish Wizard. 运行Visual Studio发布向导。 (Under the Build menu, click Publish ProjectName ) (在“ 生成”菜单下,单击“ 发布ProjectName”

  • When asked Where do you want to publish the application? 当被问及您想在哪里发布该应用程序? , enter the path to the local folder. ,输入本地文件夹的路径。
  • Then, on the How will users install the application? 然后,在用户将如何安装该应用程序上? page, select From a Web site , and enter the URL of the folder on Dropbox. 页面上,选择从网站 ,然后在Dropbox上输入文件夹的URL。
  • Finish the Publish Wizard appropriately for your application. 完成适合您的应用程序的发布向导。

Finally, copy the contents of the local folder to the folder on Dropbox. 最后,将本地文件夹的内容复制到Dropbox上的文件夹中。
You may configure the folder's permissions as needed inside Dropbox. 您可以在Dropbox中根据需要配置文件夹的权限。

For more information on ClickOnce publishing: Publish a ClickOnce Application 有关ClickOnce发布的更多信息: 发布ClickOnce应用程序

I'm not sure that this is possible. 我不确定这是否可能。 For this to work, you would need Dropbox to serve the contents of a folder but only serve those contents to a particular group of users. 为此,您需要Dropbox来提供文件夹的内容,但仅将这些内容提供给特定的用户组。 Dropbox doesn't have a permissions model that would support this. Dropbox没有支持此功能的权限模型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM