使用Visual Studio部署asp.net核心Web应用程序失败

时间:2016-08-11 19:02:05

标签: asp.net visual-studio visual-studio-2015 asp.net-core msdeploy

我试图使用Visual Studio 2015将Asp.Net Core Web应用程序部署到我的本地IIS()。它到了使用MSDeploy的程度,然后抛出一些身份验证错误。在尝试部署标准的asp.net web api或mvc应用程序时,我不会收到这些内容。任何指针都会受到赞赏。

enter image description here

编辑:这是我的.pubxml

<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>
<PublishFramework>netcoreapp1.0</PublishFramework>
<UsePowerShell>True</UsePowerShell>
<publishUrl>C:\Users\me\Documents\MyProfilePublish</publishUrl>
<DeleteExistingFiles>True</DeleteExistingFiles>
  </PropertyGroup>
</Project>

0 个答案:

没有答案