Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Questions tagged [nuget]

NuGet is a free, open source developer focused package management system for the .NET platform.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Process Cannot be displayed. Failed to process configuration file. Try to restart the application. If failures continue, tryn to repaire your install

I have tried to run my .net project from different machine. I have installed visual studio 2013 ultimate blend. When i opened and tried to run the project, "Process cannot be displayed. Failed to ...
Wahid Sadik's user avatar
0 votes
0 answers
21 views

Copy native NuGet-packaged DLL to build output

I have a .NET Standard 2.0 C# project Foo that produces a NuGet package with the following directory structure: build/ x64/ FooNative.dll lib/ netstandard2.0/ FooManaged.dll ...
stuwilmur's user avatar
  • 114
0 votes
1 answer
15 views

error NU5129: - At least one .targets file was found, but 'build/xyz.targets' was not

Answering my own question to help people in the future, which is encouraged. VS2022, .Net 6.0, Asp.Net - WebAPI. After a few changes to project files we're seeing this error reported in the build when ...
Jeremy Thompson's user avatar
1 vote
1 answer
35 views

Publish a nuget in Github Packages using an Application Installation Token

I am trying to publish a Nuget package for an organization in Github using dotnet publish. We are planning publish packages from a Github actions from a repository in one organisation to the packages ...
Pablo Cibraro's user avatar
0 votes
1 answer
20 views

In .NET 6, how do I reference two two versions of the same nuget package

I would like to reference the same namespace from dll1 and alias dll2 to have like a prefix. So in this example, I would have to different projects: namespace1 DoOperationFirstWay(){LoadedLib.Type1..}...
maxfridbe's user avatar
  • 5,882
0 votes
0 answers
35 views

NuGet Fails to Update

I am in VS 2022 and I have a project that I need to update. I have a reference to a version 0.10.871 of one of my packages that lives on a custom NuGet feed in Azure DevOps. It's not been updated ...
sfaust's user avatar
  • 2,089
0 votes
0 answers
28 views

How to use a specific version of dll from a package that contains two versions of the same assembly and is being pulled in by a PackageReference

I have a .sln that has two different .csprojs in it (amongst others), one of the .csprojs uses an earlier version of a particular dll and the other ,csproj uses a later version of the dll. Right now, ...
Joshua.Stone's user avatar
0 votes
1 answer
24 views

Visual Studio $(Variable) for nuget root path?

I use a third-party nuget package that contains a content file that appears in my project which I'd like to copy to my output folder. Said and done. Unfortunately what the project file then does is ...
Dee J. Doena's user avatar
  • 1,641
0 votes
1 answer
50 views

Publish-Module raises 401 when using GitHub action

I try to publish a module with an github action to the github package directory by using the Publish-Module cmdlet. I sue a Windows Server 2022, with a blank installation where the github action ...
David Koenig's user avatar
-2 votes
0 answers
10 views

How to convert Nuget Package to npm package?

I want to convert a NuGet package to a npm package. Is there any standard way of doing so? I would appreciate any response.
Arnav Singh's user avatar
0 votes
1 answer
18 views

Cannot get dependabot to authenticate with AWS CodeArtifact for my packages

Based on this question Dependabot with AWS CodeArtifact My dependabot.yml looks like so:- version: 2 registries: nuget-code-artifact: type: nuget-feed url: https://xxxxxxxxxxxxxxxx.d....
baynezy's user avatar
  • 6,495
0 votes
1 answer
41 views

Installing NuGet package causes server error in application (ASP.NET on .NET Framework)

I have an ASP.NET web application targeting .NET Framework 4.6.2 (VB.NET, not C#). I'm running it locally with IIS. When I installed Microsoft.ApplicationInsights 2.21.0 using NuGet and re-loaded the ...
Ben C.'s user avatar
  • 23
0 votes
0 answers
91 views

SSL connection could not be established, see inner exception remote certificate is invalid because of errors in the certificatechain: PartialChain

Here is info about our technical development environment : .NET 6 C# 10 Docker version 24.0.5, build ced0996 Visual Studio 2022 Windows 10 Enterprise Here is the content of the Dockerfile that ...
crazyTech's user avatar
  • 1,381
0 votes
1 answer
21 views

How to determine ip address for CodeBuild

I have a private nuget that's locked down. Only whitelisted ip addresses may connect to it. My aws CodeBuild project needs to make a connection to restore some nugets. May I ask how do I determine ...
Master's user avatar
  • 2,052
1 vote
1 answer
25 views

XML Documentation not showing in swagger from Nuget package

I have a nuget package that is a library proj of common model objects. The nuget package was built with <GenerateDocumentationFile>true</GenerateDocumentationFile> , and I can see in the ...
mituw16's user avatar
  • 5,146
0 votes
1 answer
63 views

Consume a nuget in legacy non-sdk project format with CLI

I need to consume a nuget (created with dotnet pack) in some old project created with legacy non-sdk project format. So far I see few points: I can't use dotnet add package .. with non-sdk projects ...
dododo's user avatar
  • 3,949
0 votes
0 answers
31 views

How to use or replace ILMerge in Visual Studio project now that it is deprecated?

I have an old VS project I am trying to compile. It used the ILMerge 3.0.41 Nuget package to put all of the application's dll's into a single .exe binary. It seems that ILMerge has been deprecated. (...
Bob S's user avatar
  • 247
0 votes
1 answer
22 views

Nuget package not adding Framework Assembly references

I have a very simple test library and I want to pack it into a nuget package. It works fine. Dependencies are added. But Framework Assembly References aren't, so I added manually: <?xml version=&...
Oscar Rodríguez's user avatar
0 votes
1 answer
50 views

Run Update-Package -Reinstall in Rider

I need to solve this problem, but I don't use VisualStudio. The stated solution (on that question, elsewhere, and also from work colleagues) is Update-Package -Reinstall. But that pre-supposes the ...
Brondahl's user avatar
  • 7,422
0 votes
0 answers
26 views

Can't figure out how to use mathdotnet LevenbergMarquardtMinimizer

I'm trying to use the Mathdotnet LevenbergMarquardtMinimizer to find the roots of a system of equations f1 and f2. For other optimizers it seems like a pretty straightforward process - you call ...
Brandon's user avatar
0 votes
1 answer
30 views

IBM MQ for dot-net-standard: depricated types

I have updated my .NET-4.8 code to newest NuGet (v. 9.3.3.1) of IBMXMSDotnetClient and now I can see, that IBM.XMS.IConnectionFactory and many other contract types are deprecated ["Use .NET6 ...
user1470240's user avatar
0 votes
0 answers
14 views

SmartAssembly dependency error with changed global_packages path

I changed nuget offline folder (c:user\xxx.nuget\packages) to another path in network by global_packages path in environment variables in windows and visual studio detect new location in network in ....
ALA's user avatar
  • 1
1 vote
1 answer
112 views

Access NuGet package in a different GitHub repository

I have repo A and repo B that are part of the same organization on GitHub. Both repositories are private. I published two NuGet packages to repo A and one package to repo B. repo A can install its own ...
user246392's user avatar
  • 2,413
0 votes
0 answers
11 views

Strategy for multi-repository dependencies

In our codebase, different levels of abstraction are defined in separate projects, where each are built as nuget packages that can be referenced by other projects. Most of the time each project is in ...
mike's user avatar
  • 1,192
0 votes
1 answer
101 views

Net Maui, get the serial number of the device

Is there a way to get te serial number of the device (android) in Net Maui? I tried with the namespace Microsoft.Maui.Devices.DeviceInfo but It doesn't have it. I used to get it in Xamarin.Forms with ...
Ramiro Pérez's user avatar
1 vote
1 answer
34 views

How to interact with GitVersion init in Visual Studio Package Manager Console

When using GitVersion you interact by using gitversion init to access the executable available via NuGet. However it looks like the package manager console does not register keypresses when running a ...
Jeroen3's user avatar
  • 931
0 votes
1 answer
28 views

Nuget resources .dll generating with WIX in WPF app

I have a WPF project which uses my nuget. This nuget implements localization, so it be able to be display resources in different languages, when i build my project which uses this nuget then the build ...
Dávid Terhes's user avatar
0 votes
0 answers
16 views

List package dependencies for Microsoft.Graph

I have issues with conflicting packages across many projects inside a solution. When i use the ui to manage nuget packages i can see the dependencies and version numbers in the ui. How do i do this ...
SeanK's user avatar
  • 15
0 votes
1 answer
26 views

How/where are different versions of the same package stored in the build output?

I'm trying to figure out where different versions of NuGet packages get stored when I build a project. Especially how different versions of a package are being taken into consideration. Imagine the ...
ThomasE's user avatar
0 votes
0 answers
18 views

How can i solve Nuget Offline Packages error nu3000?

I sometimes use nuget packages that i downloaded through visual studio for offline use when i am offline, everytime i am Online i update the packages and even download new packages, then i always ...
Meshka's user avatar
  • 1
-1 votes
1 answer
23 views

Why are files in NuGet content folder not copied to output directory?

From the official documentation Think of the content folder as the root of the target application that ultimately consumes the package. To have the package add an image in the application's /images ...
user3221037's user avatar
0 votes
0 answers
48 views

Error with Skaffold and NuGet during .NET Core Docker build

I'm encountering an issue while using Skaffold to build a .NET Core Docker image for my project. I've configured my skaffold.yaml file to build and deploy my application, but during the build phase, I'...
Lucas's user avatar
  • 23
0 votes
1 answer
41 views

Package Plugin.MediaManager 1.2.2 is not compatible with netstandard2.0

I'm trying to add Plugin.MediaManager to my shared project but it gives me an error like this : I've found this topic : Package X is not compatible with netstandard2.0 but this is not fixed my ...
Mert Altiparmak's user avatar
0 votes
1 answer
21 views

How to search by DLL in project NuGet Packages?

I need to see from which package some DLLs come from and I don't know if there is a straight forward way to do so. For example, in the image below, is there a way to search for Microsoft.Extensions....
meJustAndrew's user avatar
  • 6,031
-1 votes
1 answer
95 views

Bundle nuget packages into DLL from project to allow reuse in third party projects [closed]

Let me try to explain the scenario: I have a common libraries project which is a DLL project. This DLL is used in project #1 and project #2, referenced via the compiled DLL. Common libraries includes ...
Miguel Mesquita Alfaiate's user avatar
0 votes
1 answer
30 views

GitLab CICD can not use itself as NuGet repository anymore

I have a project repository on Gitlab.com which builds, using a NuGet package from another project i have on GitLab.com. To build (and restore), i added the NuGet repositorie(s) with 'dotnet nuget add ...
CloudCuckooHome's user avatar
0 votes
0 answers
23 views

Reference an embedded font from Nuget package containing ResourceDictionary

I have WPF Class Library project, which contains Fonts folder with set of *.ttf files. ResourceDictionary Fonts.xaml in Themes folder has records for each font file. For example: <FontFamily x:Key=&...
partyzone's user avatar
0 votes
0 answers
25 views

Windows Application Packaging Project of .NET 462 desktop application missing dependencies

I am trying to package an existing C# .NET 462 application into a MSIX application. It mostly works, but it is missing a bunch of dependencies from certain NuGet packages. The pattern I noticed when ...
Kagemand Andersen's user avatar
1 vote
2 answers
61 views

"no projects supported by NuGet in the solution" error in Visual Studio 2022

I am using Microsoft Visual Studio Professional 2022 (64-bit) , Version 17.3.6. I got the error message when I try to open "Manage Nuget packages for solution". I have restarted the Visual ...
peter's user avatar
  • 1,027
-1 votes
0 answers
20 views

Does the presence of NuGetSetup indicate that the developer expected a NuGet server be present?

I'm assisting a coworker, who is having problems maintaining an old app written 9 years ago. This Visual Studio solution has 18 VS projects in it. I've looked at the projects and found 5 different ....
Rod's user avatar
  • 4,117
0 votes
2 answers
50 views

pipeline restore nuget package from azure artifacts

I am creating my first Azure pipeline and I'm running into trouble getting it to restore a Nuget package from Azure Artifacts. I have a default Yaml file and I added a Nuget Task which is supposed to ...
USMC6072's user avatar
  • 282
0 votes
0 answers
28 views

How do I create a NuGet package with an interop dll for .NET Framework?

I have a COM Interop dll that I can use in projects targeting .NET Framework 4.8, by adding a reference to the dll. This works fine. Now, I'm trying to create a NuGet package which I can use instead ...
user3221037's user avatar
1 vote
1 answer
38 views

TargetFramework resolution for implicitly referenced NuGet packages

Assume the following situation: NuGet package A is built for TargetFramework netstandard 2.0. NuGet package A has a dependency on NuGet package B NuGet package B multi-targets both netstandard 2.0 ...
Bogey's user avatar
  • 4,956
0 votes
1 answer
45 views

Azure DevOps Restore Solution Fails

I am having a hard time trying to detect what can be failing with the Restore Solution action in Azure DevOps Pipelines. My yaml file looks like: # ASP.NET # Build and test ASP.NET projects. # Add ...
delucaezequiel's user avatar
0 votes
0 answers
15 views

Unable to find version 'Y' of package 'X'

I'm using the nuget.exe in a linux pc and while it works for many packages I'm having the following issue with a couple of them. The idea is to download locally a NuGet package into as specific ...
J. Doe's user avatar
  • 619
1 vote
1 answer
60 views

How can I find where a specific SDK dependency is coming from in a dotnet core solution that fails to build because of it?

I'm working on a .Net Core 2.1 codebase (it needs upgrading but time constraints have prevented that so far). I added a Nuget package, FFMpegCore, which had a dependency on System.Text.Json 7.0.1. The ...
jlmt's user avatar
  • 1,947
0 votes
1 answer
30 views

generate package.lock.json for C# projects using nuget CLI

CONTEXT: we are using a SCA tool that requires a package.lock.json file our C#/nuget projects. I want to generate the package.lock.json file in our CI pipeline. I don't want to go to my devs to set ...
nnay84's user avatar
  • 167
-1 votes
0 answers
28 views

How to define class libraries for an ASP.NET Core application?

I have an ASP.NET MVC application that I am converting to ASP.NET Core. It is composed of many base libraries and one library that provides the top-level Program.cs entry point. I cannot set Microsoft....
Hanno Bunjes's user avatar
1 vote
1 answer
119 views

How to properly upgrade .NET SDK version to update an included package version to resolve downgrade conflict?

I just created a MAUI Blazor project (hybrid) in Visual Studio. My SDK is the latest (7.0.400) and my VS is also up-to-date (17.7.3). However, the referred packages (Microsoft.Extensions.Logging....
Luke Vo's user avatar
  • 18k
1 vote
1 answer
25 views

Hide embedded nuget files from VS solution explorer

I create my first Nuget Package of my incremental source generator. All was OK, targeting it as an analyzer in .csproj, embedded under analyzer/cs Nuget subfolders. But now I want to improve my ...
TRex's user avatar
  • 137

1
2 3 4 5
233