Create a C# Web API App to fetch NuGet Packages list in Visual Studio
I need to Create a C# Web API Appliation which retreive NuGet Packages list and use it as a Package source in Nuget Package Manager in Visual Studio.I tried many approaches and i returned the content...
View ArticleHow to release a project with dlls and packages used in it in Visual Studio...
I've just finished my Windows Forms App project in Visual Studio using C#. I know I need to release it. To do so I need to go from Debug mode to Release above in VS and then just click on F6. After...
View ArticleUnable to Download nuGet Package 'System.Runtime.CompilerServices.Unsafe.6.0.0'
New work laptop, new installs of both Visual Studio 2019 and 2022. My team work on a mix of projects, mostly in VS2019, but we have a new project this year that's being written in 2022. I have full...
View ArticleHow to install this NuGet package if i don't see it?
I want to download this https://github.com/BobLd/youtube-transcript-api-sharp, but i really can't, it's have a strange README, can anyone help?I tried commands from README and finding this...
View ArticleError while saving bot state to azure blob storage
Hi i am trying to save bot framework using C#, I am trying to save bot state to azure blob storageusing nuget package Microsoft.Bot.Builder.Azure.Blobs version 4.19.2.What i am doing is in Startup.cs...
View ArticleCan't install/update nuget packages
I run into an issue when trying to compile an open-source github project ;I launch Visual Studio Community, then try to update the nuget packages but to no avail ; I get the error"An error occured...
View ArticleAttempt by security transparent method...
I have two MVC Websites in my Solution, converted to MVC5. For an specific test, I need both sites running, because one communicates with the other via Web API. They are using IIS Express to run.When I...
View ArticleFailed to install ClosedXML dependency
I need to install ClosedXML dependency to build a C# project with .net framework 4.7.2 but when trying to install I always get the same error: "Cannot resolve dependency 'SixLabors.Fonts'. Sources...
View ArticleLog4Net creating empty Log file
Hi I am trying to write my console output to a log file and i only see it created a log file but it is not writing anything into the log file.Please find the below attached App.config and...
View ArticleBest practices for shipping NuGet packages with global usings inside...
Some context: working on distributing a new version of our core NuGet packages that has some breaking changes which can be resolved by just referencing a namespace that has been available for years.I'm...
View ArticleSelf signed certificate in certificate chain - NuGetToolInstaller
I have configured an Azure DevOps pipeline. When I try to run NuGetToolInstaller, I received ERR:self signed certificate in certificate chain. What is the solution to this error?
View ArticleUpgrading Microsoft.Practices.Prism to a Nuget package
I need to upgrade lots of projects in old app source. The application uses WPF nad many projects reference Prism v4.0.0 and specifically the Microsoft.Practices.Prism.dll assembly. I'm trying to find a...
View ArticleCreate nuget package while solution uses clean architecture
I have solution that uses clean architecture, so I have following projects:CoreApplication that depends on CoreInfrastructure that depends on ApplicationWeb that depends on Application and...
View ArticleCould not find file 'bin\Antlr3.Runtime.pdb' Error when creating deployment...
I'm getting the following error when tried to create deployment package."Copying file bin\Antlr3.Runtime.pdb to obj\Release\AspnetCompileMerge\Source\bin\Antlr3.Runtime.pdb failed. Could not find file...
View ArticleHow to debug code in NuGet package created by me
I have a NuGet package I created and installed in another solution but now I need to debug the code of the package when called from my new solution.I tried referencing the solution of the package but...
View ArticleUpgrading Microsoft.CodeAnalysis from assembly ref to Nuget package
I'm trying to upgrade a few projects in an old application. I need to upgrade Microsoft.CodeAnalysis.VersionCheckAnalyzer and Microsoft.NetCore.Analyzers from assembly references to Nuget packages. The...
View ArticleLoading Assemblies from NuGet Packages
Sometimes in my PowerShell scripts, I need access to a specific DLL, using Add-Type -AssemblyName. However, the DLLs I need aren't always on the machine or in the GAC. For instance, I might want a...
View ArticlePackage Microsoft.AspNetCore.OpenApi 7.0.0 is not compatible with net70
I'm trying to set up a .net project.when I run dotnet build I get the following error:C:\Projects\Map\Map\src\api\api.csproj : error NU1202: Package Microsoft.AspNetCore.OpenApi 7.0.0 is not compatible...
View ArticleThe primary signature validity period has expired in visual studio 2022
When I'm updating packages in Visual Studio 2022, I get the following error :NU3037 Package 'Microsoft.Extensions.Options 5.0.0' from source 'https://api.nuget.org/v3/index.json': The author primary...
View ArticlePackage 'PresentationFramework 4.6.0' was restored using...
Package 'PresentationFramework 4.6.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1,...
View Article