"The reference component 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' could not be...
Using VS2017 and .Net 4.7.2, was trying to update the Extent Reports version. Then updated the MongoDB versions etc. Realized that it was the version not supported. So back to the original version of...
View ArticleLa connexion sous-jacente a été fermée : Une erreur inattendue s'est produite...
Sous Visual studio 2013 ,lorsque j'essaie de générer le projet j'obtient ce message "Erreur 133 Échec de la restauration du package NuGet pour le projet "xx" : La connexion sous-jacente a été fermée :...
View Articleerror: NU1100: Unable to resolve 'MicrosoftOfficeCore (>= 15.0.0)' for 'net5.0'
In Terminal of Visual Studio Code, when I try to run:dotnet add package MicrosoftOfficeCore --version 15.0.0I get the following error on Visual Studio Code terminalerror: NU1100: Unable to resolve...
View Articledotnet pack multiple projects into one package
I have a build pipeline that is building multiple library files in a single solution. In the YML file I have the following task to package the dlls;- task: DotNetCoreCLI@2 displayName: 'Create nuget...
View ArticleXamarin Nuget Manager now pointing to csproj file instead of...
I hope my title correctly states what is currently happening to me but either way nuget is not finding my android project currently. I have been migrating to AndroidX which has been headache after...
View ArticleGetting error when using GitHub Actions to push the nupkg to my GitHub packages
Question:Im getting a "Specified source 'github' is invalid" error when trying to build and push a NuGet package to GitHub nuget Packages. Does anyone know why? or, what the source should be, I cant...
View ArticleError NETSDK1004 Assets file project.assets.json not found. Run a NuGet...
I am getting the errorError NETSDK1004 Assets file '....\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.I have tried dotnet restore but still I have the issue,...
View ArticleCheck for use of public or other nuget package sources in msbuild
I want to restrict the user to use only private or firm approved nuget feeds to install new packages.I do see that nuget.config file has disabledPackageSources which allows you to specify the sources...
View ArticleHow to pass nuget packages without actually copying them?
The title may be ambiguous but hopefully I can explain my question.I have a cpp solution and have installed a lot of packages in it using nuget (boost, openssl, jsoncpp, cpprestsdk.. etc) and I want to...
View ArticleHow to replace a nuget package with a dll in a large solution
I need to make changes to a big (really big) solution.To achieve this, I have to change some code in a custom NuGet package used by the projects in the solution.But I can't build a modified version of...
View ArticleAzure Pipelines .net core 3.1 library with references to other libraries...
I have Visual Studio solution with 10 .net core 3.1 library projects (let's call them CORE). One of them is a main project. It has references to other projects.I want to have one nuget package (stored...
View ArticleUpgrading from net46 to net461 breaks NuGet package reference
I have a project targeting net46, that references a NuGet package. This works fine.This package references a .dll (Package.Reference) that is included in its lib folder.When the project moves to target...
View ArticleAzure Pipelines .net core 3.1 library with references to other libraries how...
I have Visual Studio solution with 10 .net core 3.1 library projects (let's call them CORE). One of them is a main project. It has references to other projects.I want to have one nuget package (stored...
View ArticleHow to make UI NuGet package?
I want to make UI NuGet package like Guna2 UI or Bunifu UI, but I don't know how to make it. Can you tell me how to make UI NuGet package?
View ArticleHow to create nuget packages that include the headers without override other...
I'm creating multiple NuGet packages from .nuspec files, each package needs to use a header file to work with native C++ projects.I'm using a targets file for each NuGet package to include the files as...
View Articleaspdotnet core project build fail on new machin
Hi I am facing a strange problem,I have create a asp.net core 2.1 web project, it works/build fine on my machine.Then I have zipped the project folder with .sln file and moved it to new machin, this...
View ArticleSet Copy always in a nuget package
I generate a nuget package from a project which includes the following code in .csproj file:<ItemGroup><Content Include="readme.txt"...
View ArticleNuget does not import .targets
I want to add my .targets file into project via nuget.I have next .nuspec file:<package ><metadata> ...</metadata><files><file src="..\..\Rcs\Rcs\bin\Release\Rcs.targets"...
View ArticlePrevent embedding interop types in nuspec package file
I've created a nuget package for an interop library. When using this package, Nuget automatically sets "Embed Interop Types" to "True".However, in my project this should be "False".Is there a way in...
View Articlenuget not installing file in project\bin directory
Working in VS 2019 .NET framework 4.8For my C# class library project, I ran nuget spec to create a nuspec file for the dll and its dependencies:<?xml version="1.0" encoding="utf-8"?><package...
View Article