-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nuspec with dll, native and content in output folder #8926
Comments
@Whiletru3 Did you ever figure out how to get this to work? I'm trying to package a 3rd party native library for my team to use on our internal Azure DevOps artifact feed. I need to be able to include native binaries that aren't referenced by the project but are copied to the output folder of the project. Sounds like you were trying to accomplish something similar. Would appreciate any advice you may have. Thanks! |
@sbraswell do you targeting .Net core ? Here is how i got it worked for .net Core :
if you target .net framework, it's a little more complicated... You need a nuspec fie like this one
the target file xxx.Win.x64.targets
and the install.ps1
it was a nightmare to discover this ! :) |
Issue moved to NuGet/docs.microsoft.com-nuget #2038 via ZenHub |
Hello
I try to create a nuget package with existing dlls and content files
I have to reference one dll (c++/cli), add some native dlls and copy to output and add one folder with files to output path. I read the nuspec documentation ( https://docs.microsoft.com/en-us/nuget/reference/nuspec ) but it is unclear...
Here is the folder structure :
bin\xxx*.dll -> all the binaries c++/cli and native
resources*.* -> all the content files
after install of nuget package, it should :
Here is my current nuspec file :
I already tried contentFiles, references but it doesn't work and now i'm lost.
Any example whould be great
Thanks
The text was updated successfully, but these errors were encountered: