Search code examples
asp.net-mvcvisual-studioazurepublish

Can not publish project into file system


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...

enter image description here

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


Solution

  • It happens when i try to update Microsoft.Net.Compilers package using Nuget Manager to last stable version (its 2.6.1 atm): Update Microsoft.Net.Compilers package

    If i do not do an upgrade, the publication is successful: the publication is successful

    Why is this happening and where to configure this Assembly? In the settings of the project, no integration or connection to Azure at all.