Add dependencies of reference projects to NuGet package
I'm using dotnet pack command for creating a NuGet package for the following scenario:The projects structure:Project B|----> Project AProject A|----> SomePackageI want to create a single NuGet...
View ArticleDevOps Pipeline NuGet publish misses my resource DLL. Do I need a NUSPEC file?
I have a tiny .NET 5.0 C# project ("MyComponent") that builds in Azure DevOps YAML pipelines and publishes a NuGet package to an internal feed. It has English strings and French strings so it generates...
View ArticlePipeline NuGet task won't publish resource DLL. Do I need a NUSPEC file?
I have a tiny .NET 5.0 C# project ("MyComponent") that builds in Azure DevOps YAML pipelines and publishes a NuGet package to an internal feed. It has English strings and French strings so it generates...
View ArticlePackage restore failed Issue for Scaffolding items
I have issues creating a Controller with Scaffolding items.I'm working with Visual Studio 2019 - ASP.NET Core Web Application (with MVC) - ASP.NET Core 3.1I did the following steps:I installed from...
View ArticleHow configure packages.config to download the highest version
I want to configure packages.config to download the available highest version of a package. How can I do that?Something like:<package id="PackageName" version="Highest" ... />I saw attr...
View ArticleThe EntityFramework package is not installed on project
I am having trouble getting the EF to install on my very simple project called 'Match' (just now learning MVC, better late than never). The general context here is that I created the Model class with...
View ArticlePackage Installation Error while trying to start a new web project
I am simply trying to start a new Web API project. I Selected Individual User Account, and pressed Create.The error message says:Package Installation ErrorThe preinstalled packages have a reference to...
View Article"Are you missing a using directive or an assembly reference" in visual studio...
Good Day everyone. I'm developing a Cross Platform Application in Xamarin.Forms when I encounter this error "Are you missing a using directive or an assembly reference". My project is working fine...
View ArticleCannot get around NpgSQL - Unable to load System.Threading.Tasks.Extensions...
I have gone through the posted solutions for the Unable to load System.Threading.Tasks.Extensions issue but none seem to work. I am wondering if someone could review and comment on the solutions that I...
View ArticleAzure Function Queue Trigger Adding Nuget Package
I'm using Azure Function through the Azure Portal for Queue Triggers and I want to add a NuGet Package to it.There is only two files "run.csx" & "function.json"The function.json just contains the...
View Article.net core application fails because of transient dependency
.net core application fails with the following message:2021-05-06T11:48:20.114165977Z Unhandled exception. System.TypeInitializationException: The type initializer for 'Audit.Core.Configuration' threw...
View ArticleAlturos.Yolo library Error when Deploy Server Web API with C#
In project C# I installed NuGet package name: Alturos.YoloWithCuda101GpuSupport or Alturos.YoloThen I deployed my project to serverError Name: Could not load file or assembly 'Alturos.Yolo,...
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 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, the...
View ArticleFailed to add reference to 'DocuSign.eSign'. Please make sure that the file...
while updating package from nuget DocuSign.eSign.dll 5.2.0 to Latest Stable 5.4.0 getting below errorFailed to add reference to 'DocuSign.eSign'. Please make sure thatthe file is accessible, and that...
View ArticleCould not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0
I do not understand the following problem I am facing.I have 3 projects, A, B and C. All of them have a reference to Newtonsoft.Json, version 12.0.1Project a has a reference to both projects B and C....
View ArticleHow to convert the target framework of a NuGet package from .net core to .net...
I wanted to publish a nuget package, and its code is already in github. Users have pointed that my target framwork should been converted from .net core to .net standard. What should I do to complete it?
View ArticleSystem.Data.SqlClient Package is installed but isnt recognized as a Using...
Like the title says, I've installed both the System and Microsoft .Data.SqlClient SQL packages, and my code only recognizes the Microsoft one, but it doesn't recognize the using System.Data.SqlClient;...
View ArticleThe term 'scaffold' is not recognized as the name of a cmdlet, function,...
I've been developing an ASP.NET MVC 4 project for a while now and I've been using the "MVCScaffolding" package successfully but a few days ago I noticed that when creating a new controller for example...
View ArticleFailed to add SharePointPnPCore2016 Package in VS2017
I am trying to add "SharePointPnPCore2016" package from NuGet Package Manager but I get this error:Failed to add reference. The package 'SharePointPnPCore2016' tried to add a framework reference to...
View Article