How are .NET Standard NuGet packages implemented?
As I understand it, .NET Standard is a specification, not an implementation. In other words, it is a list of APIs and they are implemented by different .NET flavors such as .NET Framework, .NET Core,...
View ArticleAn assembly specified in the application dependencies manifest (...) was not...
I upgraded Microsoft.AspNetCore from 2.0.3 to 2.0.5 and my WebAPI project, although running successfully locally, fails to start in production (IIS). Everything was fine in production until this...
View ArticleAdd configuration to appsettings.json with nuget package
I have created a nuget package where I am in need of adding a section to appsettings.json, or add my own configuration file that is copied into the application, but I am unable to figure out how. I...
View ArticleIs Microsoft.AnalysisServices.Tabular nuget package free or not?
I want to use nuget package with three .dll libraries https://www.nuget.org/packages/Microsoft.AnalysisServices.Tabular/13.0.2150.2. It seems to be just additional pack to .net framework and doesn't...
View ArticleAutomatic native and managed DLLs extracting from Nuget Package
This is driving me crazy for several months now and I'm still not able to achieve it. My managed libraries are extracted from the Nuget package but not the natives ones.We have a bunch of managed and...
View Articlenuget content/contentfiles are duplicated in nested nuget package
I have 3 projects which are nested in each other.HtAlarms.CommonHas a configuration file HtAlarms.configA nuget package is created from this: HtAlarms.Common.nugetHtOpc.AlarmsContains the...
View Articlewhat is major difference between dotnet publish and dotnet pack
What is the major difference between dotnet pack and publish?From Microsoft's description, my understanding is that pack creates a package while publish creates package + DLL.Is this correct? If so,...
View ArticleHow to install an older version of package via NuGet?
I want to install an older version of a package (Newtonsoft.Json). But NuGet rolls back. PM> Install-Package Newtonsoft.Json -Version 4.0.5 Successfully installed 'Newtonsoft.Json 4.0.5'. Install...
View ArticleWhere are the source of the Nuget package for zlib?
I've found a bug in the Nuget native package zlib version 1.2.8.8. I might know how to fix it, but I fail to see where the sources of the package are located or even who packages it. That really...
View Articleusing just.net to transform json, Is there a way to remove a complex type...
sample input json:{ "parent1": { "child2": "value" } } currently, if i don't want to show a non-existing field, i will use "#ifgroup(#exists(" function combination.Consider this transformer:{...
View ArticleI want to pass the package version for a nuget package to be restored using...
I have a nuget package as SampleNugetPackage. Currently I am using version number 7.9.18 and am soon going to migrate to a higher version 7.10.18. The nuget package is to be utilized by hundreds of...
View ArticleHow can I use NuGet packages in my Azure Functions?
Using Azure Functions, can I reference and use NuGet packages in my C# function?
View ArticleXamarin Android: Hundreds of warnings saying to check if Nuget packages are...
I am building an app, and I have hundred of warnings like this one: "Skipping TPProject.Resource.Drawable.ic_collapse_00000. Please check that your Nuget Package versions are compatible."My...
View ArticleNuGet: Copying .DLL file without creating a reference?
I am working on my first open source project and now I want to create a NuGet from it so it is easy to use. In my project i'm using a DLL (CoolProp.dll) which is a third-party dll.When running the...
View ArticleError NU5012 - nuget pack unable to find path...
I'm trying to update my nuget package by running the command nuget pack -properties Configuration=Release but this gives me the following error:Unable to find 'bin/Release/{project-name}/bin/Release'....
View ArticleNuGet CLI throw error Unable to find .nupkg
I try to build a package using NuGet CLI. I run next command :.\nuget.exe pack D:\projects\CloudStorage.Client.csproj -OutputDirectory D:\packages -Build -Symbols -Properties Configuration=Release; But...
View ArticleGenerate "Packages.config"-like structure from PackageReferences in the...
We are switching to PackageReferences for most of our projects because we see some benefits in doing so. This has one small drawback. In previous projects we embedded the packages.config file in our...
View ArticleCheck if a NuGet Package is compatible with Package Reference style
I want to update my solution to use the NuGet Package Reference style[1] (as opposed to using packages.config). There are some compatibility issues[2] that can affect this transition.Is there a way to...
View ArticleReferences removed from packages.config during 'update-package -reinstall'
After cloning a smallish repo(2 projects) I went to update the packages in project B and it removed all the lines in packages.config because they already exist in a folder under project A.The PM...
View ArticleNuget package for UWP Class Library issue
I am trying to package a custom UWP usercontrol into a nuget package. The project builds fine and works when used by a test app with a reference to the control.I generated a .nuspec and I'm packaging...
View Article