Xamarin.Forms portable project as NuGet package
I tried creating a Xamarin.Forms portable project as a Nuget package, but I am having some problems with iOSOne of the errors areFailed to add reference. The package 'Xamarin.Essentials' tried to add a...
View ArticleHow to build Nuget package with .NETFramework VS 2017?
I have been struggling over a week to create Nuget package. Most examples I researched use .NET Standard. However, I have to use .NETFramework since some of the Nuget packages buildin-house are not...
View ArticleHow to create .Net library that reference NuGet package without exposing the...
Main Goal: I want to create a library with fewer dependencies as possible.The Problem:I have a .Net Standard library (a.dll) that references a NuGet package (package) for internal usages.I tried to...
View ArticleAdd variables to hint path
I want to add variables to hint path of my deliverables instead of complete path and need to do it immediately after installing my nuget package. Do i need to create properties in .props file or...
View ArticleInstall a Nuget package in Visual Studio Code
How can I install a Nuget Package in Visual Studio Code? I know in Visual Studio, we can do this through the Nuget Package Manager console, but how do I do it in VS Code?
View ArticleAdd props file properties/variables to csproj hint path
I have added .props file and included it in .nuspec file.In my .props file i have added new properties/elements in PropertyGroup.After installing my nuget package, .props file is importing successfully...
View ArticleMicrosoft.SqlServer.Types exception on my dev machine
In my team, a dev recently updated our project to use EF6.All my colleagues can run the projet whitout problems, but in my machine, I'm getting the error:"Spatial types and functions are not available...
View ArticleHow to Stop GIT Repo Files Tree from Auto-Combining Folders
I have a GIT repository that I'm using via Azure DevOps, to which I copied a hierarchy of folders and files. Some of these folders only contain another folder. For example:contentepmbin (this contains...
View ArticleIs it impossible to have NuGet-dependencies at .nuspec of a Roslyn analyzer...
Scenario 1 (Good):Create new VisualStudio solution by Class-Library (.Net Standard 2.0) template.Install any nuGet-package to it (e.g. Newtonsoft.Json)Right click on project, Properties -> Package...
View ArticleList all NuGet packages with Id, Version, License URL and Project URL
I would like to extract the following information out of all installed nuget packages in my solution:Id, Version, License URL and Project URL. The nuget package manager lists all of the informations I...
View ArticleVSTS package feed not pulling packages from upstream source (nuget.org)
I have setup a new team project on VSTS for our development team and am using the Package-Management extension for publishing our NuGet packages. I have also enabled the public nuget.org feed as an...
View ArticleWhy im getting a connection reset by peer error when try add a package to my...
Im getting "connection reset by peer" error when i triyng to add a nuget package to my dotnet project specifically: Microsoft.Data.SqlClient, it's not a matter of versions.. looks like my IP address is...
View ArticleYAML pipeline error - unable to find folder that Git auto-combines with...
I have a Git repository that I'm using via Azure DevOps, to which I copied a hierarchy of folders and files. Some of these folders only contain another folder. For example:contentepmbin (this contains...
View ArticleHow do you run EF migrations from a custom NuGet package?
I have a c# class libary that has its own database context and Entity Framework migrations.My solution contains a web site that references the class library as a Project Reference.I can apply the EF...
View ArticleHow to create my own custom nuget package for System.Data.SQLite to correctly...
I want to create my own custom package for System.Data.SQLite. I have the all the dll's I need but I'm unsure how to structure it and create the nuspec for it.Current folder structure of the dll's is...
View ArticleWhat do the $package and $project params contain in a NuGet install.ps1 script?
I'm writing my first install PowerShell script for a NuGet package. I'm trying to copy a file from the lib folder into the tools folder of another NuGet package. The default install.ps1 script has four...
View ArticleWhy one version of a nuget package works but another doesn't?
I recently worked on a c# class library project where I had some issues with a NuGet package. I installed the System.Configuration.ConfigurationManager package to my project, version 5.0.0. My class...
View ArticleHow to push nuget package to Azure Artifacts?
Hi I have created very basic class library project and created .nupkg. I am trying to push package using the below command nuget.exe push -Source -ApiKey az . To my bad whenever I do it says'nuget.exe'...
View ArticlePackageReference to project in the same Solution/git repository
At the moment I'm trying to setup a solution with a implementations class library and an abstractions project. I want to have both packages on nuget.org.Normally when you're just using...
View ArticleCouldn't Add NuGET Package Plugin.FirebasePushNotification
When I try to add the Plugin.FirebasePushNotification to my Xamarin.Android Project in Xamarin.Forms, I receive the following message, and the package isn't added. It seems to work fine on the iOS and...
View Article