Same solution on different machines producing different Nuget package output
I need help.My project has recently moved from .NET Framework 4.8 to NET 6. We have everything uplifted and compiling, including the migration from packages.config to PackageReference.This project is...
View ArticleAdd Nuget packages to private store the have dependencies on other stores
I have created a private Nuget store for internal dll to share among projects. These dlls have dependencies on packages from the main Nuget.org store. Is there way to tell the my packages that the...
View ArticleASP.NET Error System.IO.FileLoadException: Could not load file or assembly
I have an ASP.NET web project that has been running for years. Last year we changed one of the data sources to MYSQL so added MySqlConnector from NuGet. Just recently the application started throwing...
View ArticleNuGet JS file installation for jquery-validation plugin
I'm using the jquery-validation plugin (https://github.com/jquery-validation) and I've installed it via NuGet Package Manager in Visual Studio. On the repository I see multiple files that are not...
View ArticleAsked to provide ID when installing RDLC Report viewer via console command?...
I open NuGet Package Manager console and use this line to install RDLC Report ViewerInstall-PackageMicrosoft.ReportingServices.ReportViewerControl.WebFormsafter i click enter i getInstall-Packagecmdlet...
View ArticleAndroid Cardinal Mobile SDK Issue
Recently review my app, and found that app is not compliant with one or more of our Developer Program Policies. Please resolve this issue within 60 days of the issuance of this notification or your new...
View ArticleHo to trace dll to some nuget package
I'm working on relatively big solution with many projects in it. Almost each project has dependencies on some nuget packages. In the output folder bit/debug/net6.0 of startup project I have found...
View ArticleC# multiple assembly version (used by nuget packages): The located assembly's...
I have a C# Class Library project targeting .NET Standard 2.0 that uses Unity for Dependency Injection. Unity has a dependency on System.Runtime.CompilerServices.Unsafe (probably version 4.0.4.1).I am...
View ArticleDeploy nuget package to internal Azure Artifact feed
I am trying to setup an Azure Artifact feed to deploy nuget packages my team creates. I have the feed created and connected to my upstream feed.In my .yaml file, I have it referencing the upstream feed...
View Articlehow to use pm> Update-Database command?
i am trying to run the command Update-Database in package manager console. the following errors appears.this is the connection string I tried using"ConnectionStrings": { "sqlserver":...
View ArticleCan't seem to embed interop types when using packagereference in Visual Studio
If you add a reference to an interop assembly in Visual Studio, you can set 'Embed Interop Types' to true (though that might be the default). If you do, the types for the interop interfaces become...
View ArticleUnable to load the service index for source...
I reinstalled Visual Studio 2022 after reinstalling Windows, and when I reopen my project written with .NET Core 6, I get this error when building the project.Error image
View Articleconfigure GitVersion.MsBuild to create a release by default
I have a simple nuget pipeline using github actions workflow where i want to create a new release of a nuget package when i push a release/vx.x.x branch.I have setup gitversion with the following...
View ArticleGitHub action needs to restore NuGet package from private GitHub registry
I have a library project that I’m trying to create a GitHub action for. This action will create a NuGet package for my project but first needs to restore NuGet dependencies from both NuGet.org and a...
View ArticleSqlServerValueGenerationStrategy does not exist
When i try to run the project it gives the following error due to lack of packageThe name 'SqlServerValueGenerationStrategy' does not exist in the current context I tried installing...
View ArticlePackage Installation Error In Microsoft Visual Studio 2019
Please I was busy for the past 4 days trying to fix the issues resulting from the below error. Please how do I go about fixing this error below?*Severity Code Description Project File Line Suppression...
View ArticleHow to downgrade dependency version of a package in dotnet6
I am working on a .net6 project and using Automapper version 12.0.0.0 in one of the class library(say BusinessLayer), which is working fine.Now when I add another locally developed (Say Package1) nuget...
View Articlehow can i install this nuget package?
I'm having this error while installing a package, does anyone know how to fix it?Install-Package : Impossibile trovare una parte del...
View ArticleAdding NuGet packages from nuget.org in a custom VS item template
I am trying to add NuGet packages automatically when adding a custom item template in Visual Studio. The packages need to be referenced from nuget.org, deploying them locally in the...
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 Article