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