ClickOnce发布到文件共享尝试创建网站位置

时间:2013-08-13 15:22:33

标签: c# clickonce fileshare

我按照指示将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.

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

1 个答案:

答案 0 :(得分:0)

没有快乐。不得不放弃ClickOnce。