Msbuild: RoslynCodeTaskFactory assembly cache doesn't work

Created on 9 Dec 2020  路  3Comments  路  Source: dotnet/msbuild

RoslynCodeTaskFactory compiles a new assembly every time it is called. Check out the cache:

image

Tasks macOS Performance-Scenario-Build bug performance untriaged

Most helpful comment

Also return 0 for GetHashCode() probably doesn't help either.

All 3 comments

Also return 0 for GetHashCode() probably doesn't help either.

Here's what I think a fix could be:
https://github.com/mrward/msbuild/pull/1

Was this page helpful?
0 / 5 - 0 ratings