added tests to check if the templates shipped with SDK have net6.0 set as default framework#10238
Conversation
…plates shipped with SDK have net6.0 set as default framework adds new data sets for templating managed templates adds basic tests on item templates as they were missing console templates are targeting net6.0 already so fixes dotnet#8974
|
@dsplaisted @sfoslund could you please review? |
dsplaisted
left a comment
There was a problem hiding this comment.
What do you expect to happen with these tests when we start .NET 7.0? Typically we have a new runtime and SDK for a while before all the templates are updated.
For now, As for the period, when templates are not ready, the tests can be disabled conditionally if the test failure is blocking. I believe before first public preview anyway the templates should be fixed to produce correct output, so fixing them asap and including correct version is of benefit. |
fixes dotnet/templating#3054 fixes dotnet/templating#2797
Added tests to check if the templates shipped with SDK have net6.0 set as default framework for .NET 6 SDK
Also, added new data sets for templating managed templates and added basic tests on item templates as they were missing
Console templates are targeting net6.0 already so fixes #8974