2

我想使用 Dropbox 作为我使用 ClickOnce 部署 WPF 应用程序的位置。我想使用共享文件夹,这样只有有权访问该共享文件夹的人才能访问该应用程序,而其他人则不能。

是否有一些可用的公会如何做到这一点?

4

2 回答 2

2

Create a folder on Dropbox, where the application will be deployed from.
Create a folder on your computer, where you will save the ClickOnce package before uploading it to Dropbox.

Run the Visual Studio Publish Wizard. (Under the Build menu, click Publish 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.
  • Finish the Publish Wizard appropriately for your application.

Finally, copy the contents of the local folder to the folder on Dropbox.
You may configure the folder's permissions as needed inside Dropbox.

For more information on ClickOnce publishing: Publish a ClickOnce Application

于 2013-09-01T20:58:15.443 回答
1

我不确定这是可能的。为此,您需要 Dropbox 提供文件夹的内容,但仅将这些内容提供给特定的用户组。Dropbox 没有支持这一点的权限模型。

于 2013-09-01T21:25:31.427 回答