-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "WebCompiler.CompilerBuildTask" task could not be loaded from the assembly #351
Comments
Installed Products
Steps to Recreate Current Behavior Expected Behavior |
Here's how I resolved: 1.) Updated "Microsoft.Build.Utilities.Core" to V15.5.180 2.) Add the following to .csproj 3.) Rebuilt the solution 4.) Ran "dotnet ef migrations add "Identity" -o "Data\Migrations" -v" |
My solution: cmd lines: .csproj Problem: Related problem and solution:
Note: if you use bootstrap 4 read the issue linked above as there is a bug in 2.6.362 and a workaround for build steps are pointed out by axelheer |
madskristensen#351: the _WebCompilerTaskAssembly paths defined in build/BuildWebCompiler.targets are intended to be relative to that file, but may not always be interpreted as such. using $(MSBuildThisFileDirectory) ensures that they always are.
i was unable to work around the problem by pinning the aforementioned versions, so i addressed the problem directly in PR #437, which ensures that the |
Installed product versions
Description
The "WebCompiler.CompilerBuildTask" task could not be loaded from the assembly
Steps to recreate
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.
The text was updated successfully, but these errors were encountered: