File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"tools" : {
3
- "dotnet" : " 10.0.100-preview.3.25125.5 " ,
3
+ "dotnet" : " 10.0.100-alpha.1.25077.2 " ,
4
4
"runtimes" : {
5
5
"dotnet" : [
6
6
" $(VSRedistCommonNetCoreSharedFrameworkx64100PackageVersion)"
Original file line number Diff line number Diff line change @@ -409,6 +409,11 @@ private static string DetectExpectedDefaultFramework(string template = "")
409
409
int latestMajorVersion = runtimeFolders . Select ( folder => int . Parse ( Path . GetFileName ( folder ) . Split ( '.' ) . First ( ) ) ) . Max ( ) ;
410
410
if ( latestMajorVersion == 10 )
411
411
{
412
+ // TODO: This block need to be updated when every template updates their default tfm.
413
+ if ( template . StartsWith ( "wpf" ) )
414
+ {
415
+ return $ "net9.0";
416
+ }
412
417
return $ "net{ latestMajorVersion } .0";
413
418
}
414
419
You can’t perform that action at this time.
0 commit comments