From a8b208093599263b7f2d1fe3854634c588ea5199 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Tue, 24 Sep 2024 17:12:27 -0300 Subject: [PATCH] Update typed resgen to opt-in only This makes it more predictable and explicit, also avoids generating strongly-typed resource classes for locales (which don't need them). --- src/Directory.Build.targets | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index b3994b7..6232750 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -106,19 +106,17 @@ $(BUDDY_EXECUTION_BRANCH) - - - PrepareResources;$(CoreCompileDependsOn) + + + CoreResGen;$(CoreCompileDependsOn) - + - - - + + - MSBuild:Compile $(IntermediateOutputPath)\$([MSBuild]::ValueOrDefault('%(RelativeDir)', '').Replace('\', '.').Replace('/', '.'))%(Filename).g$(DefaultLanguageSourceExtension) $(Language) $(RootNamespace)