D
D
DevStranger2017-12-23 13:10:35
ASP.NET
DevStranger, 2017-12-23 13:10:35

Why can't I publish the project to the file system?

Can't publish project from Visual Studio. Here are the post 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 publishing fails. Here's the screenshot:
5a3e2b75df4f3706498544.jpeg
I don't understand what's going on. Don't want to use Azure App Service, just want to publish project to file system

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevStranger, 2018-01-10
@DevStranger

This happens when trying to update the package Microsoft.Net.Compilersthrough the Nuget manager to the latest stable version (currently 2.6.1):
If you do not upgrade the package, then the publication is normal:
Why and where to configure this build? In the settings of the project itself, there is no integration or connection with Azure, the publication goes to the file system. Knowledgeable people tell me. I can't mark this post as an answer to a question yet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question