© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4mo ago
•
5 replies
Ruttie
Copy PackageReferences to output directory
I have a netstandard2
.1 classlib project
, and I noticed that
PackageReference
PackageReference
s are not copied to the output directory
.
I have tried
Private="true"
Private="true"
and even
CopyToOutputDirectory="always"
CopyToOutputDirectory="always"
, but both had no effect
.
Is there any way to configure msbuild to copy packages to the output directory
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Directory Copy
C
C# / help
2y ago
Copy file to build directory
C
C# / help
16mo ago
Copy build output after build
C
C# / help
3mo ago
Files not copying to output directory - Linux
C
C# / help
2y ago