Grial-UI-Kit-Support icon indicating copy to clipboard operation
Grial-UI-Kit-Support copied to clipboard

UXDivers Throw Error in when running 'dotnet test' in terminal

Open brian-smith723 opened this issue 4 years ago • 0 comments

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

  1. cd into your unit test project
  2. run 'dotnet test'
  3. 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

brian-smith723 avatar Oct 03 '20 19:10 brian-smith723