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

Unify indirect nuget package dependencies across large solution

I'm working on a large solution of various projects. For infrastructure-related reasons, versions of directly or indirectly referenced NuGet packages must be the same across all projects.Is there any...

View Article


Image may be NSFW.
Clik here to view.

Is it Possible to Get Line Numbers for NuGet Packages in a Stack Trace?

I'm wondering if it's possible to via a setting or option of some kind to get line numbers to appear in a stack trace for code in a NuGet package that's being used by a .Net app. The example screenshot...

View Article


how to include .cs files in a nuget package with an sdk project and deploy...

Using Visual Studio 2019, I have an sdk project, generating a .net 4.8 assembly. I am using Nuget 5.11.0.10.I want to include .cs files in the project so when I add a nuget package to a project it adds...

View Article

Image may be NSFW.
Clik here to view.

Copy static files to project root directory from nuget package

I am trying to build a nuget package in .Net Core for that I create a .net core classLibrary project and also add 2 json config files for configuration which I alsoadd into package .I want ,when I add...

View Article

Can a package contain a package?

Installing Packages from Nuget are one of the most efficient ways for developing C# applications. It's a huge time saver.However, can a Package I install from Nuget also contain a package(s) installed...

View Article


Does a package (nuget package) contain assemblies or libraries?

I came across two different sources that stated two diferrent things about what a package contains.Nuget 101 states:A package contains a complied library with descriptive meta data.While What is Nuget...

View Article

An error occurred while trying to restore packages. Please try again

I am trying to restore the missing nuget packages and it keeps giving me this Error:An error occurred while trying to restore packages. Please try again.Any experience solving this?How can I find out...

View Article

Regarding ibm.data.db2 nuget package

I am trying to download ibm.data.db2 in Visual studio 2019 nuget packet. But for some reason only ibm.data.db2.core is available but a year back ibm.data.db2 was available. Is there a way I can...

View Article


Cannot convert from Plugin.InAppBilling.ItemType to bool

I use the InAppBilling plugin from the author jamesmontemagno version 4.x. (last stable)Follow the code return error: Cannot convert from 'Plugin.InAppBilling.ItemType' to 'bool'Original example Method...

View Article


Nuget Library .exe's are not Appearing In Main Project

I have been at this for over a week now and I am still having no luck.Here is what I am trying to achieve in short -I have a Nuget library that contains two .exe files that only the library uses. The...

View Article

Copying files from an inherited nuget

I've developed a custom NuGet which uses DotNetProjects.DotNetSiemensPLCToolBoxLibrary. DotNet library includes external dlls that are copied into the output directory following these...

View Article

How to manage Nuget package dependency version with project references from a...

I have a simple project dependency structure:project A > project BOn my build server, both projects are built as Nuget packages: package A and B.In project B, I have the package version set to 2.0.0...

View Article

Microsoft.AspNetCore.App 2.1.1 upgrade "Blocked by project"

I'm trying to upgrade a .net core 2.1 project to the latest version of Nuget packages such as Microsoft.Extensions.DependencyInjection.Abstractions 2.1.1.However this is blocked by the package...

View Article


How to set IActionResult in .NET Standard Library?

I am currently creating a .NET Standard 2.0 library to handle caching with a filter. In my IAsyncActionFilter, when the value is found in cache, I want to short-circuit the flow by setting...

View Article

Image may be NSFW.
Clik here to view.

The 'Visual Studio Explorers and Designer Package' package did not load...

Every time I open solution in Visual Studio 2015 I get following message:Here are last entries from ActivityLog.xml:<entry><record>827</record><time>2015/12/23...

View Article


How do I use OpenCover and ReportGenerator to view Unit Test Coverage Results?

I'm a noob to using both OpenCover and ReportGenerator and I'm struggling a bit in understanding how to get them working. I'm using VS.NET 2012 'Professional' which means I don't have access to the...

View Article

Consuming nuget packages in azure synapse c# notebooks from nuget feed in...

We have created a dll in VS and published it to nuget feed in Azure Devops. We are able to consume it in VS since it is in the same machine with the config file. However we were unable to find a way to...

View Article


Mass Transit and .NetFramework 4.7.2

I want to add MassTransit 7.2.2 to my desktop application targetting .NET Framework v4.7.2 (Nuget package) - but I get this error message :Impossible d’installer le package « MassTransit 7.2.2 ». Vous...

View Article

Nuget Manager can't read from subfolders

I've setup a private NuGet repository on a network folder (eg. \\networkfolder\nugetfeed\) but my Package Manager in Visual Studio 2019 cannot read packages nested in subfolders in that repository. Eg....

View Article

Image may be NSFW.
Clik here to view.

Cannot find type definition file for 'jquery'

I just ran an update in NuGet to update my my packages. Afterwards, I can no longer compile and I receive the above error.The jquery definition file is in my project. But for some reason, the bootstrap...

View Article
Browsing all 3067 articles
Browse latest View live


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