Build NuGet package on Linux that targets .NET Framework
I want to create a NuGet package that can simultaneously and explicitly target both .NET Framework 4.6.2 and .Net Standard 1.5. Here's an abbreviated .csproj file from VS 2017:<Project...
View ArticleNuget package readme.txt is not being updated
I followed the steps to create and publish a nuget package including a readme.txt....
View Articlevisual studio 2019 migrating from package.config no option to perform the...
I picked a project I'm working on, clicked Migrate to package reference, the migration screen popped up but the OK button is greyed out, no errors are displayed and I cannot proceed.What should I do?
View ArticleBlazor wasm new project not recognizing Radzen Nuget Pkg
If I create a new Blazor wasm (client-side) project with Radzen, I'm not able to compile.Create a new Blazor wasm projectAdd a nuget pkg (Radzen.Blazor)Add this line to the index.html file Add a @using...
View ArticleCannot find type definition file for 'jquery'
I just ran an update in NuGet to update my my packages. Afterwards, I can no longer compile and I receive the above error.The jquery definition file is in my project. But for some reason, the bootstrap...
View ArticleCopy contentfiles of packagereference package at installation
The setup:.Net 3.1 class library A --> clA.nupkgContent files (clA.appsettings.json).Net 3.1 class library B --> clB.nupkgContent files (clB.appsettings.json)Class library B depends on class...
View ArticleCan you target .NET Framework, .NET Standard and .NET Core in a NuGet package?
I'm new to creating NuGet packages and have only been playing around with them for a couple of days, as it now stands I've tested my package on .NET Frameworks 3.5 through 4.8 successfully.By the way,...
View ArticleHow to fix the "Unable to restore package" error in Visual Studio 2019?
I am struggling with packages on Visual Studio 2019. When I try to uninstall the packages, I get an error, when I try to update the packages I also get an error. I have ran out of ideas Please help....
View ArticleCopy NuGet contentFiles transitively to referenced project
I have a NuGet package in which is an extra file packaged as a Content in contentFiles folder.Then I have two C# projects with SDK-style .csproj - A and B where Project B references Project A as a...
View ArticleHow can I add NuGet packages to one project in my solution and share those...
I'm working in Visual Studio with a solution that has several projects. Many of these projects all use the same NuGet packages. Every time I need to update the packages I have to go manage the package...
View ArticleHow to get packages list from nuget server?
I want to list the packages on a private nuget server. How can I do the authentication process.
View ArticleProject Reference & Nuget Package Reference Conflict - Key with same name...
Using Visual Studio 2019 Version 16.6.0 Preview 2.1 - I have a solution with two projects:Project A - Has a nuget package dependency Package1Project B - Has a project reference to Project AI now also...
View ArticleInstall a Nuget package in Visual Studio Code
How can I install a Nuget Package in Visual Studio Code? I know in Visual Studio, we can do this through the Nuget Package Manager console, but how do I do it in VS Code?
View ArticleXamarin Project Warning: Package Microsoft.Net.Http 2.2.29 was restored using...
I get this error in my project:Severity Code Description Project File Line Suppression State Warning NU1701 Package 'Microsoft.Net.Http 2.2.29' was restored using'.NETFramework,Version=v4.6.1,...
View ArticlePowershell need admin to find nuget packages
For some reason I cannot find nuget packages without starting the admin console.This does not apply to the powershell 7 console version.This Command: Find-Package -ProviderName NuGet Will simply not...
View ArticleThe type 'JsonConvert' exists in both 'Newtonsoft.Json
I'm working on a project where I need Microsoft azure SDKs and Autodesk NuGet package as well, the issue is that when I install Autodesk forge Nuget I receive an error regarding with 'The type...
View ArticleNuget Hell: Cannot reference NuGet package in UWP application due to public...
I have a UWP app and a bunch of NETStandard 2.0 libraries. The libraries contains a lot of logic and communication interfaces that I am using in ASP.NetCore and Desktop WPF applications, so I am not...
View ArticleNuget packing not including dependncies in right way
I have a C# library, let say "Utilities" that uses Log4net as dependency, I am using .net framwork 4.6.1, I finished developeing this library and do a nuget pack Utilities.projcs and then push this...
View Articlehow to tell NuGet to install package per project and not solution
I have a class library project which is reused across different solutions.I would like NuGet to add a toolkit reference to the class library project and store it in the project folder not in the...
View ArticleNuget publishing error: Failed to process request. 'A client version '4.1.0'
I m publishing NuGet package. I ve installed latest version of Visual Studio 2017 Community. I get the following error:Failed to process request. 'A client version '4.1.0' or higher is required to be...
View Article