Skip to content

The "WebCompiler.CompilerBuildTask" task could not be loaded from the assembly  #351

Open
@ecoffman

Description

@ecoffman

Installed product versions

  • Visual Studio: VS Enterprise 2017
  • This extension: 1.11.326

Description

The "WebCompiler.CompilerBuildTask" task could not be loaded from the assembly

Steps to recreate

dotnet restore .\src
dotnet publish "$scriptPath\src" -c Release -r win10-x64 -o "$scriptPath\build"

Current behavior

C:\Users\eric.nuget\packages\buildwebcompiler\1.11.326\build\BuildWebCompiler.targets(15,9): error MSB4062: The "WebCompiler.CompilerBuildTask" task could not be loaded from the assembly C:\Users\eric.nuget\packages\buildwebcompiler\1.11.326\build..\tools\WebCompiler.exe. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\develop\pattnc\src\pattnc\pattnc.csproj]

Expected behavior

Compile SCSS into CSS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions