Nuget [exec] WARNING: Unable to extract metadata from * .dll
When creating a package, the nugget gets below the warning.
[exec] WARNING: Unable to extract metadata from *.dll
We ran into this issue after changing the target config to x64.
Does anyone know a fix for this problem?
+3
Dilip Nannaware
source
to share
1 answer
Even with the latest version of Nuget, it doesn't fetch metadata from an assembly built using 64 bits. If you generate an assembly using the AnyCPU framework, then only Nuget will fetch the metadata.
I was able to fix this issue with a workaround as stated below:
- AnyCPU platform is preferred unless you have specific requirements.
- If you are using a build platform other than AnyCPU, replace the build metadata symbols with the actual value.
0
Dilip Nannaware
source
to share