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

MyGet .NET package builds not starting, only getting queued

As pictured below, our myget instance has apparently stopped building our packages. We have not changed anything in the configuration at all, but as of right now builds are only getting queued, and do...

View Article


Nuget package generation: an alternative to inside a project file

I have a bit of a non-standard project which I would like to distribute as a nuget package. I'll need to explicitly specify files included in the package, excluding everything else.At the moment inside...

View Article


What is the best way to include a development dependency into the nuget...

In advance: although I have not tried it out yet, as far as I know, a workaround for my problem is adding a full .nuspec file to the project and setting some extra properties in .csproj for msbuild.I...

View Article

Image may be NSFW.
Clik here to view.

GitVersion doesn´t increase the build number - The feed already contains

We are using pipelines in Azure DevOps to build nuget-packages and push them in our feed.Context:In our Build-Pipeline, we have a task which uses giversion to generate the version number for the NuGet...

View Article

How to create a project file in VS that gathers the output of multiple...

I have several projects that will be compiled into a single nuget package. Based on a suggestion I got, I am trying to get this under the hood with NoTargets SDK. I have no experience with msbuild...

View Article


dll in nuget package are not copied to output with build

I have multiple project including nugets.When i build the dll included in those nugets are NOT copied to output.I tryed something i found online defining a file Directory.Build.props like...

View Article

Is 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

How to copy a folder into nuget package using BuildOutputInPackage

I am trying to copy a folder into a nuget package, on a multi-targeted project.My input folder is Example, and I want it's content copied into a folder Example in the nuget package (for each lib...

View Article


Image may be NSFW.
Clik here to view.

Rider - custom (vpn) nuget sources restores forever

I'm using Rider on MacOS and have external sources in my nuget sources. Those external sources are only accessible through VPN and credentials.This causes a problem for me. Every time I open a solution...

View Article


EasyScintilla - after installing from NuGet, there are no components that can...

I would like to add the EasyScintilla to a VB.NET project. I install EasyScintilla to my project from NuGet. As mentioned in https://github.com/adam8797/EasyScintilla, the newly added control is not...

View Article

Sign internal assemblies of a nuget package with Microsoft's Trusted Signing

Presently hosting NuGet artifacts internally using Azure DevOps, but need to sign the contents (signing the NuGet Package itself is not required). Currently the following pipeline task is used to...

View Article

How to build nuget package from nuspec without platform version?

I am trying to build a nuget package only for dependencies consisting of 3rd party packages. If I'd be starting from scratch probably adn empty project with reguired assemblies might be a better idea...

View Article

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

Azure function. 'Could not load type...

I'm trying to run an Azure Function v4 from Visual Studio, I know the function is correct because it works correctly in other computers from the same repo. I already removed and Clone the solution but...

View Article

Nuget Package include runtimeconfig

I have a Dotnet exe application (App1) which I am trying to create a nuget package.This package is used in another application(App2) which includes the above Nuget Package and invokes its dll's. This...

View Article


Image may be NSFW.
Clik here to view.

How to include referenced projects

I have a solution with 4 projects inside. One of them we pack as a Nuget package, the others are just some common code shared between the projects. We want to publish the package but we do not want to...

View Article

How to handle class name collision in nuget package

I have a C# project with a static class MyNamespace.Global. It contains things like constants that are used throughout the code. e.g. Global.MAX_NAME_LENGTH. One of the 3rd party nuget packages I'm...

View Article


How to include a referenced assembly in a NuGet package? [duplicate]

I'm having trouble getting dotnet pack to include a referenced Interop assembly in my package.Here's the relevant project...

View Article

Azure CI Pipeline Not Preparing Minified Files using BundlerMinifier into...

Utilizing Azure CI Pipelines to help build and prepare my artifact for deployment, the minified files seem to be excluded from the prepared artifact.Looking at the build logs I can see the files get...

View Article

how to specify location of nuget packages when package restore is enabled?

I am working on a .net solution and use nuget for my package management. I have selected the option to "Enable Nuget Package Restore" so that the nuget packages not checked in to source control.Prior...

View Article
Browsing all 3067 articles
Browse latest View live