Nuget not searching in custom package sources
I have added 2 custom package sources. If I search in nuget package manager, I find my package. If I install the package it fails with the following error:Restoring packages for...
View ArticleTest error :Could not load file or assembly 'Castle.Core, Version=4.0.0.0,...
I installed the free startup template of ASP.NET Boilerplate with the architecture Asp.Net Mvc5.x and Single Page Web Application Angular JSand when I run the already added test to template as an...
View ArticleFiles from nuget package used in .Net core Web Api not accessed from Debug...
I have created a .netstandard nuget package which I am using in Asp.NetCoreWebApi. When I install the nuget packages, some fonts and images that are present in a folder named 'Resources' are downloaded...
View ArticleError NU1107 Version conflict detected for Xamarin.AndroidX.Lifecycle.LiveData
I get the following error:Error NU1107 Version conflict detected for Xamarin.AndroidX.Lifecycle.LiveData.Install/reference Xamarin.AndroidX.Lifecycle.LiveData 2.4.1.1 directly to project...
View ArticleAzure - Error CS0433: The type 'IAsyncDisposable' exists in both...
I've added the IAsyncDisposable interface to one of the classes of my project.Everything works fine when using Visual Studio. I can compile and execute the application without any errors nor...
View Article.NET: Add .dll app.config settings to parent's web.config?
I have a class library project "A" with some web references that are added to its app.config as following:<?xml version="1.0" encoding="utf-8"...
View ArticleHow to install dependency BotCore?
I want to open this Project/Solution https://github.com/gorkemhacioglu/Stream-Viewer-Chat-BotI cloned it and then opened it using Visual Studio.But dependency is missing and it gives errorI tried to...
View ArticleHow to add TargetFramework information to package on Non-SDK style projects?
This is a follow-up to another question.I have a migrated .NET framework project which I'm trying to package using msbuild -t:pack and the corresponding NuGet.Build.Tasks.Pack.I have included all of my...
View ArticleAzure function v4 migration. Could not load file or assembly...
I'm currently migrating an Azure Function from v2 to Azure Functionsv4. I already migrated my project to .NET6 and fixed all the package reference errors. I have in the solution 3 projects which I...
View ArticleTrying to Scaffold Identity and getting "Package restore failed" exception
I'm trying to scaffold Identity in my Asp.net MVC project, but I always get the error:There was an error runnning the selected code generator: 'Package restore failed. Rolling back package changes for...
View Articleazure artifact not showing Nuget from upstream organization feed source
i am having transitive dependency on a nuget package. this package is coming from another organization feed (which gets it from second/another organization feed)Below is what it looks like.I am not...
View ArticleUsing different versions of the same DLL in a .NET class library [duplicate]
I have a pretty complicated case but I'll try to explain it. I have a project structured like following Project structureClass libraries "B" and "C" consume different version of the same NuGet...
View ArticleHow can I change the user path for .NET?
After changing my username and user path (e.g. /Users/) in OSX settings, when I try to use the dotnet command to install a package like dotnet new --install CelesteMod.Templates I get the following...
View ArticleArtifactory Nuget remote repo is not resolving latest version packages
We have a Artifactory remote repo which is pointing to https://www.nuget.org/ and we are able to browse some of the packages. which are only getting downloaded to the package directory when we do the...
View ArticleCould not install package 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform...
Background: I had Microsoft.CodeDom.Providers.DotNetCompilerPlatform 2.0.1' and tried to upgrade to the the newest version 3.6.0 in Visual Studio 2017 in my web project using the Nuget package manager...
View ArticleNuget package generation Exclude lib folder
I am trying to generate nuget package with .nuspec file. We have several projects under one roof and trying to create nLog.config (And transform files) and distribute it via nuget package. For any...
View ArticleCould not load file or assembly 'System.Threading.Channels, Version=6.0.0.0
I am getting the below exception after deploying the app on the server.It's working as expected when running locally from visual studio.I have removed the System.Threading.Channels reference as well...
View ArticleNuget packing of a project file fails when using dependency groups to target...
Nuget is driving me nuts...I have a class library which needs to be consumed by various target frameworks.We are also using a nuspec file (reasons beyond this post) and therefor we use dependency...
View ArticleWhat is max length of summary and description for a Nuget package?
This Nuspec reference explains the description and summary text fields: https://docs.nuget.org/create/nuspec-referenceIn regards to the summary it says it is A short description of the package. If...
View ArticleShould we need to pass NugetFile path with msbuild /t:pack ? Though NugetFile...
I facing a problem while adding the reference for another project. It gives me an error for adding the Nuspec file not found in another project. To be clear I have project A (.netcore project) and I...
View Article