C# ClickOnce发布到文件共享尝试创建网站位置
我按照说明使用ClickOnce发布到此处指定的文件共享: 在标题为“发布到文件共享”的部分中,我执行了以下操作:C# ClickOnce发布到文件共享尝试创建网站位置,c#,clickonce,fileshare,C#,Clickonce,Fileshare,我按照说明使用ClickOnce发布到此处指定的文件共享: 在标题为“发布到文件共享”的部分中,我执行了以下操作: 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 usin
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.
当我试图发布到文件共享时,为什么它会尝试创建网站位置?没有乐趣。不得不放弃一次