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 ArticleSet 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 ArticleRead 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 ArticleCPack 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 ArticleExclude 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 ArticleHow 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 ArticleMSBuild 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 ArticleNuGet 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 ArticleSystem.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 ArticleCommon.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 ArticleCheck 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 ArticleAzure 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 ArticleMetro 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 ArticleIs 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 ArticleAn 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 ArticleFast 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 ArticleBest 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 Articleunable 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