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

It’s possible convert Xamarin Forms app to Nuget package?

I developed Xamarin Forms app with Android and iOS platforms. I would like to know if it’s possible convert this app in a nuget package and run my app in other app.Of course it would be a nuget package...

View Article


Set content files to "copy local : always" in a nuget package

I generate a nuget package from a project with this command in the post-build event. the variable %conf% is set to the right configuration (debug or release) and %1 is the project name (e.g....

View Article


Read NuSpec from NuPkg

I have been looking around and trying to see if it's possible to read the NuSpec file from a Nuget package with VB.NET.Essentially, I retrieve a NuGet package, but would like to get its version and ID...

View Article

CPack NuGet native library

I struggle to create a NuGet package from a native C++ library. For now, I have the following setup:include(GNUInstallDirs)file(RELATIVE_PATH relDir ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}...

View Article

Exclude files except the minified version in NuSpec file

I have a NuSpec file to create a NuGet package. I have some .js files that are minified and I don't want the original .js files in the NuGet package.I have tried to use ! to not exclude minified...

View Article


How to restore package Visual Studio 2017

My computer got corrupted and I needed to re install the OS. After installing Visual Studio 2017, I tried to open my project, but I didn't find any packages. I tried to install each one of them with...

View Article

MSBuild and package restore with packages.config

Is it possible to restore packages during the build using MSBuild only if projects are still using packages.config?

View Article

NuGet doesn't show installed packages

I have MVC 5 project and I use NuGet to install packages. Yesterday I have installed a couple of packages, but today when I run my application I got an error of missing references. I've realized, that...

View Article


System.Web.Http problem affecting communication

It seems like there is a problem with the "System.Net.Http" dll.I keep getting all kind of errors relating to it:while trying to restore nuget packages (It seems like the framework can not connect to...

View Article


Common.Logging package update not compatible with Log4Net

I have a dependency for Common.Logging.Log4Net1213 in my project and when trying to update it, i get:Unable to resolve dependencies. 'Log4Net 2.0.8' is not compatible with'Common.Logging.Log4Net1213...

View Article

'Newtonsoft.Json' already has a dependency defined for 'Microsoft.CSharp' on...

I have a project implemented using .NET 4.6.1. I build this project using TFS. One of the build tasks is to create a nuget package from this project as it contains shared code used by other projects. I...

View Article

Check if package is compatible with .net core

I started programming with .NET Core and ASP.NET Core and after reading many Docs/Tutorials i still am not sure of how to realize if a Nuget-(Meta-)Package is comptabile/usable within my...

View Article

Azure DevOps / Pipelines: Set the “Build Action” and “Copy To Output...

I am creating a .net Standard 2.0 NuGet package and I want to deploy a config file and mark this file as “Content” and “Copy if Newer”.When I install the package, the config file is deployed at the...

View Article


Metro Modern UI " Failed to create component" C# Visual Studio 2019

I was trying out the Metro UI to create a C# application so I was testing out the framework tools in a new project. I've followed the instructions from...

View Article

Is it possible to create a Nuget Package from a .NET Core Application?

I was wondering, before I get started with making a new Blazor app, if it's possible to create/format a Nuget package (.nupkg) from a .NET Core 3.1 web application?

View Article


An assembly specified in the application dependencies manifest (...) was not...

I upgraded Microsoft.AspNetCore from 2.0.3 to 2.0.5 and my WebAPI project, although running successfully locally, fails to start in production (IIS). Everything was fine in production until this...

View Article

.so not copied to output folder

I have a project that get a nuget dependancy, in this dependency, I have two files, a .dll and a .so.After a dotnet build command the dependency is correctly downloaded but the .dll is copied into the...

View Article


Fast performing way to download the file content from Azure blob and pass...

I have a NuGet based utility which parses expressions from Json files and these expressions are pass to a rule engine for evaluation. The content of such files are currently stored in the caller...

View Article

Image may be NSFW.
Clik here to view.

Best practices to keep track of dependencies on code in private NuGet package

Within several projects I worked in, there would be one or more NuGet packages in a private feed for common code.When just adding new functions / classes to these NuGet packages there is no issue, but...

View Article

unable to add reference to installed nuget package?

I created a NuGet package and I was able to successfully install it in another .NET solution. But I'm not able to add a reference to the NuGet package from the other .NET solution. For example, let's...

View Article
Browsing all 3067 articles
Browse latest View live


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