RoslynCodeTaskFactory
RoslynCodeTaskFactory copied to clipboard
An MSBuild CodeTaskFactory that uses Roslyn compiler for cross platform compatibility
Hi Guys, I'm facing below error when I run command "dotnet test.\SampleAPITest.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput="./TestResults/Coverage/" to run test cases. D:\Projects\VSTS\SampleAPI\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...
I am using this task to pseudolocalize our project with the task at https://github.com/ahdde/Psuedoizer/blob/dd872ad784f451db0dcf739aeee34eb444f44ed2/build/Pseudoizer.targets and the build fails within VS2017 15.7.6 with MSBuild 15.7.180.61344 when netstandard.dll is not in GAC....
https://github.com/jeffkl/RoslynCodeTaskFactory/blob/afbc509790b2cc8d76cae6bf697262512bdb8b2d/src/RoslynCodeTaskFactory/CodeTaskFactory.cs#L358-L360 I see that there are case insensitive comparisons for attribute names. It would be better to require exact case matches and throw an error for incorrect case. The equivalent...