0

我按照说明使用 ClickOnce 发布到此处指定的文件共享:

http://msdn.microsoft.com/en-us/library/31kztyey(v=VS.100).aspx

在标题为“发布到文件共享”的部分中,我执行了以下操作:

1.In Solution Explorer, select the application project
2.On the Build menu, click Publish Projectname
3.In the Where do you want to publish the application? page, enter a valid file path using the format
4.In the How will users install the application? page, select the location where users will go to install the application
    I selected From a UNC path or file share
5.On the Will the application be available offline? page, click the appropriate option
    I selected Yes, this application will be available online or offline
6.Click Finish to publish the application

当我逐字按照这些说明进行操作时,出现以下错误:

Failed to connect to '\\myserver\myshare\myproject\myprojecPublish\' with the following error: Unable to create the Web site '\\myserver\myshare\myproject\myprojecPublish'.  Unable to create the Web site location '\\myserver\myshare\myproject\myprojecPublish'.  Access is denied.

为什么当我尝试发布到文件共享时它会尝试创建网站位置?

4

1 回答 1

0

没有喜悦。不得不放弃 ClickOnce。

于 2013-08-23T18:15:46.270 回答