jeffkl / RoslynCodeTaskFactory

An MSBuild CodeTaskFactory that uses Roslyn compiler for cross platform compatibility
MIT License
26 stars 3 forks source link

visual studio mac problem with The task factory "CodeTaskFactory" is not supported on the .NET Core version of MSBuild #40

Closed TigranVilasyan closed 4 years ago

TigranVilasyan commented 4 years ago

/Users/TigranVilasyan/.nuget/packages/microsoft.codedom.providers.dotnetcompilerplatform/2.0.1/build/net46/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props(31,5): error : MSB4801: The task factory "CodeTaskFactory" is not supported on the .NET Core version of MSBuild. [/Users/TigranVilasyan/Projects/ToDoApi/ToDoApi/ToDoApi.csproj] /Users/TigranVilasyan/.nuget/packages/microsoft.codedom.providers.dotnetcompilerplatform/2.0.1/build/net46/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props(31,5): error MSB4175: The task factory "CodeTaskFactory" could not be loaded from the assembly "/usr/local/share/dotnet/sdk/3.0.101/Microsoft.Build.Tasks.Core.dll". The task factory must return a value for the "TaskType" property. [/Users/TigranVilasyan/Projects/ToDoApi/ToDoApi/ToDoApi.csproj]