↧
Failed to download package from Nuget issue in UWP?
I needed to download a package from nuget but had some issue while downloading, some guy suggested to clear the cache of nuget package, after then even when I try to build my project I am getting these...
View ArticleChanging name for Nuget Package
I have a Nuget package. Example: 'Sample'.I have generated a .nupkg file using nuspec file.and then pushed 'Sample' nuget package to feed using Nuget push azure build task.my nuspec file:<?xml...
View ArticleVisual Studio - NuGet Packages keep getting removed or deleted whenever I...
So I have installed an Excel Data Reader in VS's NuGet package manager. After installation everything works fine and my code run's smoothly. After I have finished coding for the night I save my work...
View ArticleNew version to Microsoft.AspNetCore.Diagnostics.Abstractions 2.2.0
In a server log, is showed the following:2023-08-09T17:40:11.0616272-06:00 0HMSFQU6Q72KK:00000001 [ERR] Connection id ""0HMSFQU6Q72KK"", Request id ""0HMSFQU6Q72KK:00000001"": An unhandled exception...
View ArticleC#.Net Update nuget package using PackageManager
I have installed Selenium web driver in my .NET desktop application from the NuGet package manager.Note: this is a .NET framework project, not an .NET Core or web project.Now every time there is a...
View ArticleWhat is the difference between PackageReference Update and PackageReference...
<PackageReference Update="Microsoft.NETCore.App" Version="2.1.22" /><PackageReference Include="Platform.Core" Version="1.8.0" />What is the difference between "Update" and "Include" in the...
View ArticleVS PMC EF commands error: Unrecognized command or argument 'C#'
In Visual Studio's Package Manager Console (V 6.6.0.61), the commandget-migrations, and other Entity Framework commands, output:Specify --help for a list of available options and commands.Unrecognized...
View ArticleHow to find output directory in a CSPROJ file?
Currently I have a csproj file that gets built on an external machine.I have multiple of the following tags in it:<ItemGroup><None...
View ArticleHow to generate a nupkg with all dlls of a csproj (including PackageReference...
GoalHaving all dlls from the main project in one package instead of one package per dll/library/cs project.Basically, need to package the content of the bin folder of the main project.The package...
View ArticleRe-tag/Re-version a published nuget package
Once a published nuget package that is in release candidate (e.g 4.5.0-RC) status, has passed all the verification tests, we would like to change it's version to a release one like v.4.5.0 without...
View ArticleNuget config clash between local and ci/cd config files
My .net project is built locally by me during development, and remotely by my ci/cd server.The project has project-level config in myproject/nuget.config. It is used by my ci/cd server, which provides...
View ArticleClash between development and production NuGet config files
My .net project is built locally by me during development, and remotely by my ci/cd server.The project has project-level config in myproject/nuget.config. It is used by my ci/cd server, which provides...
View ArticleUnable to find Microsoft.Azure.Services.AppAuthentication on NuGet Packages
I am using ASP.NET Core framework to build an API with Azure Key Vault. I tried to follow this tutorial but I am not able to find Microsoft.Azure.Services.AppAuthentication in the NuGet packages. The...
View ArticleRequested column in nuget's outdated command is always blank
When checking for outdated nuget dependencies I get something like this:$ dotnet list package --outdatedProject `MyProject` has the following updates to its packages [net7.0]: Top-level Package...
View ArticlePackageReference not copying all files in lib folder to bin
I have csproj called MyBuilder.csproj using .net framework 4.8 referencing a package called "Me" like so:<PackageReference Include="Me" Version="2.1.2.7-me" />When this package gets pulled in, it...
View ArticleWhere can I find change log for NuGet package System.Memory?
The .NET NuGet package System.Memory has 2.3 billion downloads, but the release notes tab at https://www.nuget.org/packages/System.Memory contains a link to...
View ArticleCan't access namespaces from Nuget Package
I have an Identity Server 3 Project where I need to install a couple of custom Nuget Packages, that comes from a private Nuget Package repository in my company. This Nuget is installed and running in...
View ArticleDependency issue with nuget package
I published a .NET Standard 2.0.3 library. The library has a dependency on Microsoft.AspNetCore.SignalR.Common (7.0.5), and that package uses Microsoft.Extensions.Options (7.0.1).Another developer used...
View ArticlePackage restore failed in ASP.NET Core 6
I tried to create the controller by selecting "MVC controller with views using Entity Framework" option, but I get a "Package restore failed" error. I am using Visual Studio 2022 and ASP.NET Core 6.I...
View ArticleCreating an x86/x64 nuget package without nusepc in new csproj format
One of the drawbacks of the nuspec file is that you need to list you nuget dependencies all over again and don't you dare forget it when updating one of your dependencies. For example here.As a test...
View Article