Package Analyzer with a public interface
I have an analyzer and codefix that searches a project for the implementation of an interface IImplementation.The interface isn't anything particularly special. For my purpose here, we'll make...
View ArticleHow to restore nuget packages from .bat file when .sln file have 'Any CPU'?
My solution have a mix of Visual Basic and C# projects, in total 32 projects. When I rebuild from Visual Studio 2017, all projects restores from nuget.org. When I trigger a .bat file, only 16 of the...
View ArticleNuget package manager failed for project, Unable to find version 5.2.6 of...
I am setting up an application and I am seeing the below errorNuget package restore failed for project ProjectName: Unable to find version ‘5.2.6’ of package ‘Microsoft.AspNet.Mvc’. C:/Program Files...
View ArticleWhat commands are behind the Visual Studio Pack command?
I'm trying to configure a GitHub workflow that builds my multi-target NuGet package (to be used with Xamarin.Forms) and pushes this package to GitHub and Nuget. I discussed the issue here, and it all...
View ArticleI need to install two Nuget Packages with diferent dependencies Xamarin Forms
I`m creating an app and i nedd to use Braintree form Paypal and GoogleMapsthe nuget packages use diferent dependencies from Google Maps Baseson i can not intall themthis is the package i need to use...
View ArticleOverride AutoUpdater.NET download window
I'm using autoUpdater.NET : https://github.com/ravibpatel/AutoUpdater.NETI create my own procedur like on the section Handling updates manually. This work well but the download dialog is the same and I...
View ArticleAzure Pipelines & Nuget Packages - Set pack version to tag version
I managed to have my pipeline triggered when I push a tag to the repo. The tag is always is the format "v(Major).(Minor).(Release)(-alpha)".How can I get that information from the tag and set is as the...
View ArticleNuget restore is ignoring .xml files but downloading only .dll and .pdb files
The nuget package Project Xyz contains all xml files along with dll and pdb files. We are using this package Xyz in a different project Abc of a different solution.We have a Team City Nuget build setup...
View ArticleVs code, NuGet package installation of selenium.webdriver failure, cannot...
I am working on visual studio code. I am attempting to install the selenium.webdriver using the Nuget Package Manager extension. Upon attempting to add the package selenium.webdriver I am giving...
View ArticleC# Knowing STEPS to Save an image (with its timestamp AND its size) through...
I want to use this script but I don't know how to use itI downloaded Visual Studio Code + NudgetPackage + JintI have this script register under D:\PROJECT\Program.cs, but I don't know WHAT PARTS should...
View ArticleInstall a Nuget package in Visual Studio Code
How can I install a Nuget Package in Visual Studio Code? I know in Visual Studio, we can do this through the Nuget Package Manager console, but how do I do it in VS Code?
View ArticleCould not load System.IdentityModel.Tokens.Jwt
I have an asp.net MVC app that utilizes owin json web tokens. I have been deploying this app via the Kudu github integration, and the app works fine.However, I would like to move to deploy via octopus....
View ArticleCreating NuGet package: NU5128 exception - not clear on how to fix
I have a DLL addressing the .NET 4.7.1 library. Probably irrelevant, but it's written in C# and consumes NuGet packages using the "packages.config" pattern, rather than the newer PackageReference...
View ArticleVisual Studio 2013 go to Package Manager Console command Install-Package...
Package Manager console on visual studio 2013 Do you know How to step fix error before run command Thank youenter image description here
View Articledotnet publish “Unable to load the service index for source...
I am getting error : Unable to load the service index for sourcehttps://api.nuget.org/v3/index.jsonwith dotnet publishI am trying to deploy docker base asp.net core solution from visual studio 2017with...
View ArticleHow to get nuget package metadata via the API?
I am fairly new to the nuget side. So I might be missing something. I have a list of nuget packages in several of the solutions of my team. And I would like to get their metadata(only the latest...
View Articlealternate of Microsoft.win32.Registry in .net core 3.1 to get windows registry
i'm updating a project and build as a cross platform application which is build in .net core 3.1 where use Microsoft.win32.Registry. so is there any alternate way to get windows registry in .net core 3.1
View ArticleNuGet CLI throw error Unable to find .nupkg
I try to build a package using NuGet CLI. I run next command :.\nuget.exe pack D:\projects\CloudStorage.Client.csproj -OutputDirectory D:\packages -Build -Symbols -Properties Configuration=Release;But...
View ArticleHow can I clear the NuGet package cache using the command line?
I can clear my development computer's NuGet package cache using Visual Studio menu Tools→ Options→ NuGet Package Manager→ General: Clear Package Cache button.I would like to do this on the command...
View ArticleIs there anyway to use the AddSecretClient DI extension in an azure function?
I'm trying to configure some depedancies for my azure function. I need to be able to access (among other things) an azure keyvault. Currently I'm accessing this manually and having to do all my own...
View Article