Skip to content

Reference System.Runtime.CompilerServices.Unsafe directly in every library project#560

Open
StephenCWills wants to merge 3 commits into
masterfrom
no-transitive-references
Open

Reference System.Runtime.CompilerServices.Unsafe directly in every library project#560
StephenCWills wants to merge 3 commits into
masterfrom
no-transitive-references

Conversation

@StephenCWills

Copy link
Copy Markdown
Member

On the build server, projects with transitive references to this dll would copy the file from either C:\Program Files\IIS\Microsoft Web Deploy V3 or C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\PublicAssemblies instead of Source\Dependencies\NuGet. This would cause the Build\Output\Release\Libraries folder to have the wrong version of the assembly. Directly referencing the assembly should force the build to get the file out of the NuGet folder.

@StephenCWills StephenCWills force-pushed the no-transitive-references branch from 6b665fe to 7a4458c Compare July 8, 2026 20:08
@StephenCWills StephenCWills changed the title Reference System.Runtime.CompilerServices.Unsafe direcctly in every library project Reference System.Runtime.CompilerServices.Unsafe directly in every library project Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant