netcoreapp2.1 nuget packages not including
Going absolutely crazy googling and trying to figure this out. I am building with Visual Studio Community (on OSX) a .net core 2.1 project, and I have a number of nuget package dependencies. How do I get the packages to be included in the bin directory like before in .net framework?
I see the .deps.json file but on the server I am trying to run this I can't see how on earth I can get these packages.
I've messaged around with dotnet pack to no end, and tried various modifiations to the csproj with no luck there either.
Really any help would be so very much appreciated.
Thank you!
Edit: For anyone googling this in the future
dotnet pack
dotnet publish
copy the files from publish to the directory of your dll
0 comments:
Post a Comment