From 20f012511e74867111d41c36bdfc6b4eb0f0123b Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 13 Jun 2024 11:55:22 +0000 Subject: [PATCH] Fix templates VMR build The PackageReference to xunit caused the project to have IsTestProject=true set which then caused the project to get filtered out in source-build and VMR builds. Instead of referencing the meta xunit package, just reference the extensibility.execution pkg that provides the necessary API. --- .gitignore | 3 ++- Directory.Packages.props | 2 +- .../Microsoft.TemplateEngine.TestHelper.csproj | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4c12bd0b08c..d7488adadf1 100644 --- a/.gitignore +++ b/.gitignore @@ -22,8 +22,9 @@ bld/ [Bb]in/ [Oo]bj/ dev/ +*.binlog -# Visual Studio 2015 cache/options directory +# Visual Studio cache/options directory .vs/ # Visual Studio launch settings **/launchSettings.json diff --git a/Directory.Packages.props b/Directory.Packages.props index 08177e3353e..e5466be8be8 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -39,7 +39,7 @@ - + diff --git a/test/Microsoft.TemplateEngine.TestHelper/Microsoft.TemplateEngine.TestHelper.csproj b/test/Microsoft.TemplateEngine.TestHelper/Microsoft.TemplateEngine.TestHelper.csproj index 5a8a952e044..075ab499a5f 100644 --- a/test/Microsoft.TemplateEngine.TestHelper/Microsoft.TemplateEngine.TestHelper.csproj +++ b/test/Microsoft.TemplateEngine.TestHelper/Microsoft.TemplateEngine.TestHelper.csproj @@ -1,5 +1,6 @@ + $(NetCurrent);$(NetFrameworkCurrent) true @@ -16,7 +17,7 @@ - +