Grial-UI-Kit-Support
Grial-UI-Kit-Support copied to clipboard
UXDivers Throw Error in when running 'dotnet test' in terminal
I cannot run dotnet test in terminal on Mac. The "UXDivers.Grial.Build.Tasks.PropagateThemeTask" task could not be loaded from the assembly
Steps to Reproduce
- cd into your unit test project
- run 'dotnet test'
- I get this error:
...nuget/packages/uxdivers.grial/3.0.70/build/netstandard1.0/UXDivers.Grial.targets(11,6):
error MSB4062: The "UXDivers.Grial.Build.Tasks.PropagateThemeTask" task could not be loaded from the assembly .../.nuget/packages/uxdivers.grial/3.0.70/build/netstandard1.0/UXDivers.Grial.Build.Tasks.dll. 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. [.../UnitTests/UnitTests.csproj] ...nuget/packages/uxdivers.grial/3.0.70/build/netstandard1.0/UXDivers.Grial.targets(11,6): error MSB4062: Confirm that the <UsingTask> 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. [.../UnitTests/UnitTests.csproj]`
Expected Behavior
UnitTests should run
Actual Behavior
Error is thrown.
Basic Information
- Version with issue:
- Last known good version:
- IDE: VS Mac
- Platform Target Frameworks: Xamarin Forms
- Nuget Packages: UXDivers.Grial