NsDepCop is a static code analysis tool that helps to enforce namespace dependency rules in C# projects. No more unplanned or unnoticed dependencies in your system.
When i use Rider to build my project on mac, i will get a error, like this:
The "Codartis.NsDepCop.MsBuildTask.NsDepCopTask" task could not be loaded from the assembly /Users/username/.nuget/packages/nsdepcop/1.8.2/build/../tools/NsDepCop.MsBuildTask.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.
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.
use the virtual studio and windows, it is work well.
When i use Rider to build my project on mac, i will get a error, like this:
use the virtual studio and windows, it is work well.