diff --git a/templates/csharp/xplat/.template.config/template.json b/templates/csharp/xplat/.template.config/template.json index aff3d8d..3c9fb6f 100644 --- a/templates/csharp/xplat/.template.config/template.json +++ b/templates/csharp/xplat/.template.config/template.json @@ -12,7 +12,8 @@ "defaultName": "AvaloniaApplication", "tags": { "language": "C#", - "type": "project" + "type": "solution", + "editorTreatAs": "solution" }, "symbols": { "Framework": { diff --git a/templates/csharp/xplat/AvaloniaTest.sln b/templates/csharp/xplat/AvaloniaTest.sln index 40985ab..61fa6b8 100644 --- a/templates/csharp/xplat/AvaloniaTest.sln +++ b/templates/csharp/xplat/AvaloniaTest.sln @@ -16,7 +16,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3DA99C4E-89E3-4049-9C22-0A7EC60D83D8}" ProjectSection(SolutionItems) = preProject #if (UseCentralPackageManagement) - Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props #else Directory.Build.props = Directory.Build.props #endif diff --git a/templates/fsharp/xplat/.template.config/template.json b/templates/fsharp/xplat/.template.config/template.json index 0f4d3a8..3c2ad59 100644 --- a/templates/fsharp/xplat/.template.config/template.json +++ b/templates/fsharp/xplat/.template.config/template.json @@ -10,7 +10,8 @@ "defaultName": "AvaloniaApplication", "tags": { "language": "F#", - "type": "project" + "type": "solution", + "editorTreatAs": "solution" }, "sourceName": "AvaloniaTest", "preferNameDirectory": true,