multi-stage pipeline using dotnet pack fails around versioning
I am trying to get one pipeline to both build and test my code, and in another stage to pack and push a nuget package.name: $(SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.r)trigger: branches: include: -...
View ArticleWhich are the AspNet Identity Samples nuget package equivalent for web api 2...
I am using Microsoft.AspNet.Identity.Samples nuget package for my MVC 5 projects happily for roles creation and management etc..When I try to use it in web API 2 projects, it does not work.Are there...
View ArticleCan a NuGet package built with a newer version of c# be used in a project...
If I build and publish a NuGet package with a Language Version of 9, can I install and reference the NuGet package in a project using a lower Language version (for example c# 7)?NuGet Package...
View ArticleCould not install package '--'. You are trying to install this package into a...
I created this package, I need it in a project but couldn't install it, this error appears:Could not install package 'Mshwf.NiceLinq 1.0.9'. You are trying to install this package into a project that...
View ArticleGetting error while accessing the Private Nuget feed
I am getting an error while trying to access the private NuGet feed from Azure Package artifacts.Install-Package Microsoft.Sdk -version 1.0.0-CI-20191028-053209The content at...
View ArticleUser nuget.config file in %appdata%\NuGet get continuously changed
I have the following issue with nuget. In my company we have some Windows Build Server, onto several developers build their dotnet applications. To do so, they use the user nuget.config file which is...
View ArticleNuget Package download count
I would like to add a count of a number of times a particular package was downloaded to my page. I'm only interested in a single package.I understand I can make a call to...
View Articleproblem with packing android asset folder
Hello to all I created a Xamarin forms project and a series of user interfaces in it. I also copied some fonts in the asset folder of the Android project, which I used in user interfaces. It does not...
View ArticlePush nuget package from visual studio to devops artifact
I'm trying to automate the push of a nuget package from Visual Studio to Azure Devops Artifact when I'm build the solution.I'm able to do that utomatically on my local nuget repository, but I'm not...
View ArticleHow to exclude some directories from imported nuget package in a Xamarin (VS)...
I'm working on a mobile application in xamarin, which uses certain third party nuget package, and I would like to prevent some of the directories from that nuget package being included in final...
View ArticleNuget Pack Failure - The process cannot access the file 'D:\a\1\a\*.nupkg'
Error on Azure Pipeline for NuGet Pack task, using a SDK format .csproj, which autogenerates the .nuspec file:The process cannot access the file 'D:\a\1\a\*.nupkg' because it is being used by another...
View ArticleWhere to find Microsoft.VisualStudio.QualityTools.WebTestFramework
I am missing a reference to this .dll file and I can't find it from the add references tab, it is not there in both extensions and frameworks and neither nuget package manager lists it.
View ArticleNuGet: How can I append an auto-incrememted build number to my NuGet package...
I'm trying to accomplish this using Visual Studio post-build events.What I want to happen:When I build in debug, I want to create a .nupkg like MyProject.1.0.0.xxxx-ci.nupkg, where xxxx is some...
View ArticleProject can't load nuget package from referenced project
I'm having this Visual Studio solution, including these projectsBLL and DAL are netstandard2.0 projects.ComputerWinForm is .Net Framework 4.7.2 project.BLL references to DAL.ComputerWinForm references...
View ArticleInclude File in NuGet package on Build, only if it does not exist
A while ago I asked this question:Including a Folder in NuGet Package and have it install into project as file .netcore/RazorThe answer to which has got me most of the way where I want to go, but the...
View ArticleNuget returned an unexpected status code '404 Not Found' - Package on local...
Trying to generate a Nuget Package from dll. One of our project is generating ConfigurationCore.dll and References of project assemblies given below Microsoft.CSharpNewtonsoft.JsonMak.Enums (Custom...
View ArticleWhen my Azure DevOps build pipeline runs, I ONLY want to create a new nuget...
Problem:When my Azure DevOps build pipeline runs, I ONLY want to create a nuget package, if a solution's project's code has changed. if no changes, occured, i would love it if the pipeline could not...
View ArticleVisual Studio 2015 Error. The default XML namespace of the project must be...
(Let me preface the question with Yes, I have seen similar questions, but not exactly my scenario.)My environment isMicrosoft Visual Studio Professional 2015 (version 14.0.25431.01 Update 3)My actionsI...
View ArticleWhy are some of a dependent project's dependencies not being copied to bin...
I have an application (console) which targets .NET 4.7 using MSVC 2019 and which references a lot of NuGet packages.When I build, those packages end up in the bin/Debug (or bin/Release) folder -- so...
View ArticleNuget package manager console - Package does not contain a manifest
I suddenly get this error on every package I try to update/reinstall in my project.. How can I start to debug this problem? Does the package manager create a log file with more details than this? Where...
View Article