Unable to run dotnet build
Closed this issue · 3 comments
I tried to use the newer MSBuild Task project. It works if I build my project via Visual Studio but it failed if I try to run it via dotnet build.
The following error message was shown:
Failed to run CodegenCS Template 'xxx\CodegenCS-master\Samples\MSBuild1\Template2.csx': 'CodegenCS - error running template: Can't create abstract type CodegenCS.ICodegenOutputFile' [xxx\CodegenCS-master\Samples\MSBuild1\MSBuild1.csproj]
I have the same error for my project and the sample project. Currently tested using .Net SDK 8
Please try with new version CodegenCS.MSBuild 3.5.2
This wasn't an easy fix, so if it works please consider buying me a coffee.
Hi, that works nicely!
I'm glad it work. Consider at least giving a star to the project ;-)