Azure Devops: mark a package in the artifact feed as 'Release'
How do you mark an artifact as 'Release' in the artifact feed? I have a pipeline that uses the NuGet packages and creates binary files. I also have a release pipeline that consumes the binary files....
View ArticleCould not load file or assembly Microsoft.Data.SqlClient, Version=5.0.0.0
Facing following issue after deploying app to azure app service:Unhandled exception. System.IO.FileNotFoundException: Could not loadfile or assembly 'Microsoft.Data.SqlClient,...
View Article.NET 6 console builds correctly as exe but when I pack to NuGet I get a DLL
I have an old console.exe app that builds fine on .NET 4.8, and it packages fine as a NuGet.Maybe this sounds odd, but the console app doubles as a library that I use in other projects. So, the nuget...
View ArticleFor some reason EntityFramework Core just does not exist anywhere
I don't know why, but EntityFramework Core has completely vanished for me.It's gone from the Microsoft namespace and does not exist anywhere in the NuGet package browser or even the dotnet CLI direct...
View ArticleMigration of the “Microsoft Graph” Nuget package from V4.5 to V5
For a C# project, I use the “Microsoft Graph” Nuget package. Although my project worked fine with version 4.5 of this package, migrating to version 5 causes many compilation errors And the help on the...
View Articlewhat is the alternate nuget package for syn.bot as it is "unknown license"?...
I am scanning my code there for package "syn.bot" showing "unknown license", even though I installed latest. please suggest me if any alternate packages available or how we can get license for this...
View ArticleVisual Studio 2022 not adding transitive dependency for...
I'm running into this issue after upgrading to VS2022 from VS2019.I have a Project A which has these top level nuget packages (using nuget...
View ArticleI have problem to install a NuGet Package
When I try to download a NuGet package I get these errors:Package restore failed. Rolling back package changes for 'BulkyWeb',The local source 'C:\Users\PULSE Electronics\Desktop\allInOneNuget' doesn't...
View ArticleFix ASP.NET Core deprecated package
I have a Mend Bolt warning because of this old version for encodings.web: system.text.encodings.web.4.5.0.nupkg. Version 4.5.0 has security vulnerabilities. I need to upgrade to a higher version.It is...
View ArticleVisual Studio 2022 not adding transitive dependency after migrating from...
I'm running into this issue after upgrading to VS2022 from VS2019. As part of the upgrade I migrated from NuGet package.config to PackageReferenceI have VS 2022 17.7.5, .NET Framework 4.8 Project A...
View ArticleNuget Package Manager not installing correct version of Ubiety.Dns.Core
I have specified in Visual Studio to use version 4.2.2 of Ubiety.Dns.Core:But when built, it places version 2.2.1 in the bin folder:This is an archaic version that will not run on Windows Server. Is...
View ArticleHow to ensure two .NET versions are shown on top of my NuGet page?
I have a question about this NuGet page. Right, now .NET 6 is shown on top. But, as you can see in the Frameworks tab, .NET 6 and .NET 7 are both supported. How should I change my csproj (or do...
View ArticleUnable to copy a file from nuget library to the target project
I have a simple library that has two content files. Readme.txt and SomeOtherFile.txt. What i am trying to achieve is to show the Readme.txt during the NuGet package installation on the target project...
View Article.NET6 - No entry for type IInterfaceMock found
Currently I'm trying to resolve an issue with exception: System.Collections.Generic.KeyNotFoundException: no entry for type ITurnoverManagerMock found.which occurs during getting mocked Interface which...
View ArticleMigration from old(Nuget.Core) to new client sdk(NuGet.Packaging &...
In our old application we are using the following interfaces from NuGet.Core library.IPackageIPackageLookupIPackageRepositoryIPackageAssemblyReferenceIPackagePathResolverIn the new 'NuGet.Packaging'...
View ArticleASP.NET Core and interactions with older framework version classes
I have to build an ASP.NET Core Razor pages website (Project A), and the website needs to interact in any way with an older C# library (.NET 4.5).So I created a .NET 4.5 project (Project B), in which...
View ArticleModuleNotFoundError: No module named 'prettytable'
I have installed the package 'prettytable' and getting the message saying "Requirement already satisfied: prettytable <>"Still I am getting the the error "ModuleNotFoundError: No module named...
View ArticleHow to use GitHub Package created from .dll (kendo)
I'm using Kendo v2015.1.408.545 (file type .dll) as an standalone library for one of my project (on local)I'm importing my project to Github and will be using Github CI/CD via Github runner for...
View ArticleUpdating nuget packages in all projects in a solution
I have a .net solution (say A) with multiple projects(say B,C,D). I want to update all nuget packages for all projects in the solution. I know I can update nuget packages using command line but passing...
View ArticleHow to deal with IAzure Interface while migrating from...
I am migrating my source code to use Azure.ResourceManager package instead of Microsoft.Azure.Management.Fluent (which is deprecated).My code uses IAzure interface like mentioned below:///...
View Article