发布 (.asmx) 文件错误无法打开网站
publishing (.asmx) file error Unable to open the Web site
我在 ASP.NET 中创建了一个 Web 服务项目并将其从 pc1 移至 pc2,问题是我无法在 pc2 中发布 .asmx 文件,这里是错误
Preparing to publish files...
Connecting to C:\Users\ITA\Desktop\Ws...
Unable to open the Web site 'C:\Users\ITA\Desktop\Ws'. The Web site 'C:\Users\ITA\Desktop\Ws' does not exist.
Unable to open the Web site 'C:\Users\ITA\Desktop\Ws'. The Web site 'C:\Users\ITA\Desktop\Ws' does not exist.
我已将 <publishUrl>C:\Users\Admin\Desktop\Ws</publishUrl>
编辑到新的现有文件夹,但问题仍然存在。
点击设置选项卡解决,如下
然后点击发布
我不知道为什么会这样,但它可以在不修改任何东西的情况下工作。
我在 ASP.NET 中创建了一个 Web 服务项目并将其从 pc1 移至 pc2,问题是我无法在 pc2 中发布 .asmx 文件,这里是错误
Preparing to publish files...
Connecting to C:\Users\ITA\Desktop\Ws...
Unable to open the Web site 'C:\Users\ITA\Desktop\Ws'. The Web site 'C:\Users\ITA\Desktop\Ws' does not exist.
Unable to open the Web site 'C:\Users\ITA\Desktop\Ws'. The Web site 'C:\Users\ITA\Desktop\Ws' does not exist.
我已将 <publishUrl>C:\Users\Admin\Desktop\Ws</publishUrl>
编辑到新的现有文件夹,但问题仍然存在。
点击设置选项卡解决,如下
然后点击发布
我不知道为什么会这样,但它可以在不修改任何东西的情况下工作。