无法将项目发布到文件系统中 [英] Can not publish project into file system

查看:63
本文介绍了无法将项目发布到文件系统中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一如既往地尝试将项目发布到文件系统。有我的发布设置:

< Project ToolsVersion =" 4.0"的xmlns = QUOT; HTTP://schemas.microsoft.com/developer/msbuild/2003"> 
< PropertyGroup>
< WebPublishMethod> FileSystem< / WebPublishMethod>
< LastUsedBuildConfiguration> Release< / LastUsedBuildConfiguration>
< LastUsedPlatform>任何CPU< / LastUsedPlatform>
< SiteUrlToLaunchAfterPublish />
< LaunchSiteAfterPublish> True< / LaunchSiteAfterPublish>
< ExcludeApp_Data> False< / ExcludeApp_Data>
< publishUrl> e:\vspublish\audit< / publishUrl>
< DeleteExistingFiles> True< / DeleteExistingFiles>
< / PropertyGroup>
< / Project>

但是发布失败并出现此错误:Azure应用服务活动:连接到e:\vspublish \ audit ...


我不想使用Azure App Service,我只想发布项目到文件系统。

解决方案

< p style ="margin-bottom:12pt"> 嗨devstranger,


欢迎来到MSDN论坛。


请参阅您的说明,您的问题是关于ASP.NET MVC开发。由于我们的论坛是讨论VS IDE,请重定向到
这个适当的论坛以寻求更好的支持。


很抱歉给您带来不便,感谢您的理解。如果您将来有任何关于VS IDE的问题,请随时告诉我们。



祝你好运,


Sara


I try to publish my project to file system as always. There are my publish settings:

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <WebPublishMethod>FileSystem</WebPublishMethod>
    <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
    <LastUsedPlatform>Any CPU</LastUsedPlatform>
    <SiteUrlToLaunchAfterPublish />
    <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
    <ExcludeApp_Data>False</ExcludeApp_Data>
    <publishUrl>e:\vspublish\audit</publishUrl>
    <DeleteExistingFiles>True</DeleteExistingFiles>
  </PropertyGroup>
</Project>

But publish failed with this error: Azure App Service Activity: Connecting to e:\vspublish\audit...

I dont want to use Azure App Service, i just want to publish project to file system.

解决方案

Hi devstranger,

Welcome to the MSDN forum.

Refer to your description, your issue is about the ASP.NET MVC development. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum to seek for a better support.

Sorry for this inconvenience and thank you for your understanding. If you have any other issues about the VS IDE in the future, please feel free to let us know.

Best regards,

Sara


这篇关于无法将项目发布到文件系统中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆