From a00e9f552fa42497c948e431367a5ba52db872b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8E=A7=20RicherTunes=20=F0=9F=8E=A7?= Date: Sun, 21 Dec 2025 15:11:05 -0500 Subject: [PATCH] fix: remove analyzer-disabling AdditionalProperties that caused duplicate builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The AdditionalProperties on the Common ProjectReference were disabling analyzers (RunAnalyzersDuringBuild, EnableNETAnalyzers) to suppress PublicAPI warnings. However, this caused MSBuild to treat the Common project as a different build configuration than when built standalone, leading to duplicate parallel builds and file locking race conditions: CSC error CS2012: Cannot open 'dll' for writing Fix: Keep only GeneratePackageOnBuild=false (which is legitimately needed to prevent Common from generating a NuGet package during plugin builds). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Brainarr.Plugin/Brainarr.Plugin.csproj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Brainarr.Plugin/Brainarr.Plugin.csproj b/Brainarr.Plugin/Brainarr.Plugin.csproj index 8eb85395..299b8681 100644 --- a/Brainarr.Plugin/Brainarr.Plugin.csproj +++ b/Brainarr.Plugin/Brainarr.Plugin.csproj @@ -196,8 +196,9 @@ true true - - GeneratePackageOnBuild=false;RunAnalyzersDuringBuild=false;RunAnalyzersDuringCompilation=false;EnableNETAnalyzers=false + + + GeneratePackageOnBuild=false