From 6028455efb61e259f93afca650b6bbcdd961b99b Mon Sep 17 00:00:00 2001 From: Max Katz Date: Thu, 14 Nov 2024 19:59:34 -0800 Subject: [PATCH] Condition in sln file --- templates/csharp/xplat/AvaloniaTest.sln | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/csharp/xplat/AvaloniaTest.sln b/templates/csharp/xplat/AvaloniaTest.sln index eb4a7c6f..40985abf 100644 --- a/templates/csharp/xplat/AvaloniaTest.sln +++ b/templates/csharp/xplat/AvaloniaTest.sln @@ -15,7 +15,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AvaloniaTest.Android", "Ava 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 +#else + Directory.Build.props = Directory.Build.props +#endif EndProjectSection EndProject Global