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

Doing a local NuGet package installation but getting the error - Unable to...

I'm trying to do an offline NuGet package installation by following the answer by Samuel Jack here: Text1. Add the files to a folder called LocalPackages next to solution2. Create a file called...

View Article


Pass array as inputs to Azure DevOps YAML task

I'm trying to configure a CI that will produces NuGet packages as artifacts on Azure DevOps (that will be later push to my NuGet server).For this, I'm using Builds Pipelines on Azure DevOps, the YAML...

View Article


run powershell script after nuget package install

I have a very simple script in PowerShell My script runs well on .NET Framework Projects but It does not run on .NET Core 3.0 projects.Is the method different?This is my...

View Article

Make Dependencies of NuGet packages locally

i have a solution that have 3 c# projects , for a better undertending i will call these projects A, project B and Project C.I want to make the project C in a NuGet packages, but these project it is on...

View Article

How to install nuget package as offline in .Net Core projects?

On .Net core web applications when I want to manage my NuGet Packages or add a reference to my project's references, I do right click on references and select "Manage NuGet Package" and now I can add...

View Article


How to use MIConvexHull library

I am currently trying to implement convex hull calculation for my project and therefore, I installed the https://www.nuget.org/packages/MIConvexHull/ NuGet package. (This project is a convex hull...

View Article

Embed Nuget dependencies in another nuget with PrivateAssets

I have a netstandard2.0 nugget package that has some dependencies:<!-- Nugget Package dependencies --><ItemGroup><PackageReference Include="JetBrains.Annotations" Version="2020.1.0"...

View Article

Enable Nuget package Manager then restore

I would like to first enable the nuget package manager vai power-shell scriptthen would like to restore from a .net solution. (like we do manually right click on .net solution select enable...

View Article


How do you add additional files to a nuget package in Visual Studio 2017

I recently moved to Visual Studio 2017 Community Edition. It has 2 nice new features You don't need to explicitly include your source files in the csproj, it does this automatically,it can build nuget...

View Article


NuGet.targets error : '.', hexadecimal value 0x00, is an invalid character...

after upgrade to .Net Core 2.1.1 I got this error: C:\Program Files\dotnet\sdk\2.1.301\NuGet.targets(114,5): error : An error occurred while retrieving package metadata for 'System.IO.4.3.0' from...

View Article

Overwrite default nuget.config file

I added in the same place where my .sln file is a nuget.config with this configuration<packageSources><add key="local repo" value="C:\myproject\nugetRepository" /></packageSources>and...

View Article

Could not load file or assembly 'Microsoft.EntityFrameworkCore.Design' or one...

When i try migrations code first approach command example Update-Database then it shows error.Package Manager ConsoleAs i have tried to check its path in .csproj file and in packages.config so it has...

View Article

During deserializing byte[] to JArray is the order of content is maintained?

ProblemI need deserialize huge byte array to JArray.Question is:Can I be sure that deserialization will be done sequentially?? and the result will be in the same order as source?

View Article


Image may be NSFW.
Clik here to view.

Which NuGet package is required?

Watching a video course named "ASP.NET CORE MVC 3.1", the master said to press CTRL+Dock to find out which Nuget Package is required ! On the other hand,I think he installed the NuGet package by...

View Article

How to use MethodDecorator.Fody Decorator in another project

I used Fody Nuget package as followsInstall packagePM> Install-Package MethodDecorator.FodyDecorate the methodpublic class BusinessLayerClass{ [LogMethod] public string BusinessLayerMethod() {...

View Article


How can I disambiguate an ambiguous reference produced by a NuGet package and...

I have a solution, that uses the Newtonsoft JSON library to get things done.It is added to the project via NuGet.Now I need to add another library to the project (That.Other.Library), which happens to...

View Article

Image may be NSFW.
Clik here to view.

Nuget packages cannot be upgraded in Visual Studio 2019 despite they exist in...

Our build pipeline has been working fine, producing and saving packages to our Azure DevOps artifact feed. Although, we recently started seeing a strange failure in Visual Studio 2019 when trying to...

View Article


Please provide credentials error pushing to Azure DevOps

I am getting the error "Please provide credentials for: https://jbright.pkgs.visualstudio.com/Project/_packaging/Project_Feed/nuget/v3/index.json"from Visual Studio 2019 Community Powershell when I run...

View Article

Image may be NSFW.
Clik here to view.

Using LazZiya ExpressLocalization Nuget package to Localize web app

I have been trying to follow these two tutorials to add Localization to my .Net Core Razor web...

View Article

Is it possible to do monorepo with one azure build for several nuget packages?

It is little noisy when you have 10 repositories with 10 nuget packages.I would like to have one repository with 10 nuget packages, but I need one Azure Build with publish only changed nuget packages...

View Article
Browsing all 3067 articles
Browse latest View live


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