Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Browsing all 3067 articles
Browse latest View live

DotNetCoreCLI@2 / pack in Azure DevOps pipeline is looking for files in the...

TL;DRI'm building a nuget package with Azure Devops pipelines, and the DotNetCoreCLI@2 / pack command is looking for the built assemblies and other files of dependent projects in the wrong folder...

View Article


New Android App ( Xamarin) targeting Android 9.0 api not compiling because...

I am trying to build an Android app to make a simple prototype. Using Microsoft Visual Studio 2022 (v17.2.4), I create an Android App (Xamarin), blank app. And I target Android 9.0 version.But, I have...

View Article


Microsoft Graph NuGet package V4.19 or higher causes API calls to hang

I’m using Microsoft Graph APIs to access a SharePoint site and everything is working great up to (and including) the NuGet package version 4.18. Any higher version of this package, causes the API calls...

View Article

Image may be NSFW.
Clik here to view.

dotnet pack Release configuration is 3x the size of debug

I have a Razor Class Library that I'm building with static web assets. When I dotnet pack locally, in debug or release configuration, the static files are, as expected, packed in the staticwebassets...

View Article

Image may be NSFW.
Clik here to view.

Azure DevOps Pipelines fails when using ReadyToRun

We're currently trying to publish a .NET project in DevOps in Release Mode with ReadyToRun enabled that refers to some artifacts located in another project (Our shared library).The problem is that each...

View Article


Visual Studio 2022 fails to load nuget packages from custom package repository

I'm using Visual Studio 2022 Update 17.3.3I have some nuget packages in a custom store, maintained by my company. Accessing those packages used to work in the past. The way we set it up is generate a...

View Article

Error CS0117 Clipper does not contain definition for methodes

I'm currently trying to take over an advanced project coded in C#.I'm definitely a novice concerning Visual Studio. The project was left few years ago and nobody holds details concerning the...

View Article

Image may be NSFW.
Clik here to view.

Nuget package + azure pipeline

I have a vs solution with 3 projects.I would like to create a nuget package from them.I created a .nuspec file:<dependencies><group targetFramework=".NETStandard2.0"><dependency...

View Article


nuget reference package version conflict

Type “ServiceCollection” Both exist in “Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60” and...

View Article


How to disable "transitive package management" for a Visual Studio project

How do I disable "transitive package management"?I wish to do so, so that I can install a package that I "packed" locally and have in a .nupkg file. When I attempt to do so, I get a messaging stating...

View Article

Image may be NSFW.
Clik here to view.

Nuget files not accessible from the referenced project

I recently converted from nuspec to package reference using csproj file. While doing so, I have encountered the following situation.My nupkg contents look like this. When I reference this nuget in any...

View Article

How to restore nuget packages for Autofixture.NSubstitute for .net6 projects...

Not able to restore packages for AutoFixture.AutoNSubstitute in package. This was working fine earlier but now I am not able to build the solution. Projects are using .NET 6. Unit tests inside solution...

View Article

How 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 Article


Visual Studio - Nuget - Unable to load the service index for source

This is my NuGet.config : <?xml version="1.0" encoding="utf-8"?><configuration><packageSources><add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3"...

View Article

Use nuget package instead of project reference Visual studio

We have a solution with 7 to 8 different projects including class libraries and mvc apps. We are using .net 4.6.2 and netstandard 2.0.We are trying to convert class libraries to nuget packages and...

View Article


OpenCvSharp.CvConst class missing?

I am working on a project with OpenCvSharp.I want to port this script to C#:bool patternfound = findChessboardCorners(gray, patternsize, corners, CALIB_CB_ADAPTIVE_THRESH + CALIB_CB_NORMALIZE_IMAGE+...

View Article

How can I fix the error occurred while retrieving package metadata on nuget...

Im having problem using nuget package after install open xml, I get this errorAn error occurred while retrieving package metadata for 'DocumentFormat.OpenXml.2.16.0' from source...

View Article


Getting 'forbidden' pushing a nuget package in github

Much like this thread: Publishing and Consuming GitHub Package Repository with NuGet: Unable to load the service index errorI have the csproj correct, the nuget.config correct (same as in that thread,...

View Article

Image may be NSFW.
Clik here to view.

nuget package manager does not offer older versions of package

I inherited some old legacy code which I'm trying to build, but I'm missing some specific dlls. In particular, I need version 4.0.0.0 of System.ComponentModel.Composition, but the Nuget Package Manager...

View Article

Is it possible to change the location of packages for NuGet?

I have the following convention for most of my projects:/src /Solution.sln /SolutionFolder /Project1 /Project2 /etc../lib /Moq moq.dll license.txt /Yui-Compressor yui.compressor.dll/tools /ILMerge...

View Article
Browsing all 3067 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>