From 0dbceccddd5277f0f47c7e6a3af07fbd06a81984 Mon Sep 17 00:00:00 2001 From: Huo Yaoyuan Date: Fri, 21 Jun 2024 22:35:21 +0800 Subject: [PATCH] Set AnyCPU for ProjectReference to source generators. --- eng/generators.targets | 3 +++ eng/liveILLink.targets | 1 + 2 files changed, 4 insertions(+) diff --git a/eng/generators.targets b/eng/generators.targets index b5ca3ca89ee42..278b5bd27b75f 100644 --- a/eng/generators.targets +++ b/eng/generators.targets @@ -56,15 +56,18 @@ diff --git a/eng/liveILLink.targets b/eng/liveILLink.targets index 6b45e00a49d5e..c2908512ede0d 100644 --- a/eng/liveILLink.targets +++ b/eng/liveILLink.targets @@ -47,6 +47,7 @@ ReferenceOutputAssembly="false" Private="false" OutputItemType="Analyzer" + SetPlatform="Platform=AnyCPU" SetConfiguration="Configuration=$(ToolsConfiguration)" />