Forum Discussion
wally96334
Oct 07, 2023Copper Contributor
define a value for metadata "CopyLocal"???
When I build my project in Release mode, I get the following error:
The item "C:\ ... \X_Solution\packages\BouncyCastle.1.8.2\lib\BouncyCastle.Crypto.dll" in item list "ReferencePath" does not define a value for metadata "CopyLocal". In order to use this metadata, either qualify it by specifying %(ReferencePath.CopyLocal), or ensure that all items in this list define a value for this metadata.
I did not get any error messages from "BouncyCastle" when I was building in Debug mode,
Can someone clue me in as to how to fix this?
THANKS!
1 Reply
- wally96334Copper Contributor
I migrated from packages.config management format to the PackageReference format
"Visual Studio 2017 Version 15.7 and later supports migrating a project from the packages.config management format to the PackageReference format."
The error went away, and VS 2017 tells me that the build was successful, and there are no errors listed, but no executable is generated. There are over 200 warnings, so I will have to pick through those.
Fun times ahead!