Skip to content

Commit

Permalink
Update templates to 10.0 (#10332)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshit7962 authored Jan 24, 2025
1 parent b604067 commit 81019fc
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a .NET WPF Application",
"groupIdentity": "Microsoft.Common.WPF",
"precedence": "9000",
"identity": "Microsoft.Common.WPF.CSharp.9.0",
"precedence": "10000",
"identity": "Microsoft.Common.WPF.CSharp.10.0",
"shortName": "wpf",
"tags": {
"language": "C#",
Expand Down Expand Up @@ -63,10 +63,15 @@
"choice": "net9.0",
"description": "Target net9.0",
"displayName": ".NET 9.0"
},
{
"choice": "net10.0",
"description": "Target net10.0",
"displayName": ".NET 10.0"
}
],
"replaces": "FrameworkParameter",
"defaultValue": "net9.0",
"defaultValue": "net10.0",
"displayName": "Framework"
},
"UseWindowsDesktopSdk": {
Expand Down Expand Up @@ -128,11 +133,11 @@
},
"csharpFeature_ImplicitUsings" : {
"type": "computed",
"value": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
"value": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
},
"csharpFeature_FileScopedNamespaces" : {
"type": "computed",
"value": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
"value": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
}
},
"primaryOutputs": [
Expand Down Expand Up @@ -161,7 +166,7 @@
},
{
"exclude": [ "**/[Bb]in/**", "**/[Oo]bj/**", ".template.config/**/*", "**/*.filelist", "**/*.lock.json" ],
"condition": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\")",
"condition": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\")",
"source": "./net6.0",
"target": "./"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a .NET WPF Application",
"groupIdentity": "Microsoft.Common.WPF",
"precedence": "9000",
"identity": "Microsoft.Common.WPF.VisualBasic.9.0",
"precedence": "10000",
"identity": "Microsoft.Common.WPF.VisualBasic.10.0",
"shortName": "wpf",
"tags": {
"language": "VB",
Expand Down Expand Up @@ -63,10 +63,15 @@
"choice": "net9.0",
"description": "Target net9.0",
"displayName": ".NET 9.0"
},
{
"choice": "net10.0",
"description": "Target net10.0",
"displayName": ".NET 10.0"
}
],
"replaces": "FrameworkParameter",
"defaultValue": "net9.0",
"defaultValue": "net10.0",
"displayName": "Framework"
},
"UseWindowsDesktopSdk": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a class library that targets a .NET WPF Application",
"groupIdentity": "Microsoft.Common.WPF.Library",
"precedence": "9000",
"identity": "Microsoft.Common.WPF.Library.CSharp.9.0",
"precedence": "10000",
"identity": "Microsoft.Common.WPF.Library.CSharp.10.0",
"shortName": "wpflib",
"tags": {
"language": "C#",
Expand Down Expand Up @@ -63,10 +63,15 @@
"choice": "net9.0",
"description": "Target net9.0",
"displayName": ".NET 9.0"
},
{
"choice": "net10.0",
"description": "Target net10.0",
"displayName": ".NET 10.0"
}
],
"replaces": "FrameworkParameter",
"defaultValue": "net9.0",
"defaultValue": "net10.0",
"displayName": "Framework"
},
"UseWindowsDesktopSdk": {
Expand Down Expand Up @@ -128,11 +133,11 @@
},
"csharpFeature_ImplicitUsings" : {
"type": "computed",
"value": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
"value": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
},
"csharpFeature_FileScopedNamespaces" : {
"type": "computed",
"value": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
"value": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
}
},
"primaryOutputs": [
Expand All @@ -157,7 +162,7 @@
},
{
"exclude": [ "**/[Bb]in/**", "**/[Oo]bj/**", ".template.config/**/*", "**/*.filelist", "**/*.lock.json" ],
"condition": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\")",
"condition": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\")",
"source": "./net6.0",
"target": "./"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a class library that targets a .NET WPF Application",
"groupIdentity": "Microsoft.Common.WPF.Library",
"precedence": "9000",
"identity": "Microsoft.Common.WPF.Library.VisualBasic.9.0",
"precedence": "10000",
"identity": "Microsoft.Common.WPF.Library.VisualBasic.10.0",
"shortName": "wpflib",
"tags": {
"language": "VB",
Expand Down Expand Up @@ -63,10 +63,15 @@
"choice": "net9.0",
"description": "Target net9.0",
"displayName": ".NET 9.0"
},
{
"choice": "net10.0",
"description": "Target net10.0",
"displayName": ".NET 10.0"
}
],
"replaces": "FrameworkParameter",
"defaultValue": "net9.0",
"defaultValue": "net10.0",
"displayName": "Framework"
},
"UseWindowsDesktopSdk": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a custom control library for .NET WPF Applications",
"groupIdentity": "Microsoft.Common.WPF.CustomControl",
"precedence": "9000",
"identity": "Microsoft.Common.WPF.CustomControl.CSharp.9.0",
"precedence": "10000",
"identity": "Microsoft.Common.WPF.CustomControl.CSharp.10.0",
"shortName": "wpfcustomcontrollib",
"tags": {
"language": "C#",
Expand Down Expand Up @@ -63,10 +63,15 @@
"choice": "net9.0",
"description": "Target net9.0",
"displayName": ".NET 9.0"
},
{
"choice": "net10.0",
"description": "Target net10.0",
"displayName": ".NET 10.0"
}
],
"replaces": "FrameworkParameter",
"defaultValue": "net9.0",
"defaultValue": "net10.0",
"displayName": "Framework"
},
"UseWindowsDesktopSdk": {
Expand Down Expand Up @@ -128,11 +133,11 @@
},
"csharpFeature_ImplicitUsings" : {
"type": "computed",
"value": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
"value": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
},
"csharpFeature_FileScopedNamespaces" : {
"type": "computed",
"value": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
"value": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
}
},
"primaryOutputs": [
Expand All @@ -157,7 +162,7 @@
},
{
"exclude": [ "**/[Bb]in/**", "**/[Oo]bj/**", ".template.config/**/*", "**/*.filelist", "**/*.lock.json" ],
"condition": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\")",
"condition": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\")",
"source": "./net6.0",
"target": "./"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a custom control library for .NET WPF Applications",
"groupIdentity": "Microsoft.Common.WPF.CustomControl",
"precedence": "9000",
"identity": "Microsoft.Common.WPF.CustomControl.VisualBasic.9.0",
"precedence": "10000",
"identity": "Microsoft.Common.WPF.CustomControl.VisualBasic.10.0",
"shortName": "wpfcustomcontrollib",
"tags": {
"language": "VB",
Expand Down Expand Up @@ -63,10 +63,15 @@
"choice": "net9.0",
"description": "Target net9.0",
"displayName": ".NET 9.0"
},
{
"choice": "net10.0",
"description": "Target net10.0",
"displayName": ".NET 10.0"
}
],
"replaces": "FrameworkParameter",
"defaultValue": "net9.0",
"defaultValue": "net10.0",
"displayName": "Framework"
},
"UseWindowsDesktopSdk": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a user control library for .NET WPF Applications",
"groupIdentity": "Microsoft.Common.WPF.Control",
"precedence": "9000",
"identity": "Microsoft.Common.WPF.Control.CSharp.9.0",
"precedence": "10000",
"identity": "Microsoft.Common.WPF.Control.CSharp.10.0",
"shortName": "wpfusercontrollib",
"tags": {
"language": "C#",
Expand Down Expand Up @@ -63,10 +63,15 @@
"choice": "net9.0",
"description": "Target net9.0",
"displayName": ".NET 9.0"
},
{
"choice": "net10.0",
"description": "Target net10.0",
"displayName": ".NET 10.0"
}
],
"replaces": "FrameworkParameter",
"defaultValue": "net9.0",
"defaultValue": "net10.0",
"displayName": "Framework"
},
"UseWindowsDesktopSdk": {
Expand Down Expand Up @@ -128,11 +133,11 @@
},
"csharpFeature_ImplicitUsings" : {
"type": "computed",
"value": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
"value": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
},
"csharpFeature_FileScopedNamespaces" : {
"type": "computed",
"value": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
"value": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\") && csharp9orOlder == \"false\""
}
},
"primaryOutputs": [
Expand Down Expand Up @@ -161,7 +166,7 @@
},
{
"exclude": [ "**/[Bb]in/**", "**/[Oo]bj/**", ".template.config/**/*", "**/*.filelist", "**/*.lock.json" ],
"condition": "(Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\")",
"condition": "(Framework == \"net10.0\" || Framework == \"net9.0\" || Framework == \"net8.0\" || Framework == \"net7.0\" || Framework == \"net6.0\")",
"source": "./net6.0",
"target": "./"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a user control library for .NET WPF Applications",
"groupIdentity": "Microsoft.Common.WPF.Control",
"precedence": "9000",
"identity": "Microsoft.Common.WPF.Control.VisualBasic.9.0",
"precedence": "10000",
"identity": "Microsoft.Common.WPF.Control.VisualBasic.10.0",
"shortName": "wpfusercontrollib",
"tags": {
"language": "VB",
Expand Down Expand Up @@ -63,10 +63,15 @@
"choice": "net9.0",
"description": "Target net9.0",
"displayName": ".NET 9.0"
},
{
"choice": "net10.0",
"description": "Target net10.0",
"displayName": ".NET 10.0"
}
],
"replaces": "FrameworkParameter",
"defaultValue": "net9.0",
"defaultValue": "net10.0",
"displayName": "Framework"
},
"UseWindowsDesktopSdk": {
Expand Down

0 comments on commit 81019fc

Please sign in to comment.