I'm getting this error nuget package restore failed for project
I cloned project from git that I need, and I fixed all errors and now I want to build project but I'm getting this error NuGet Package restore failed for project: Unable to find version '2013.2.611' of...
View ArticleGenerate single pdf using a list of objects in QuestPDF
I'm trying to generate a PDF using QuestPdf in my C# application. I have a list of objects and I need to apply the Quest template to each row in the list inside of a single document.For example, if I...
View ArticleHow to get Nuget to install DLL in specific folder?
I am creating a NuGet package that is being compiled and stored in the artifacts in Azure DevOps. One requirement is that the developers want the installed DLL to reside in a specific folder in the...
View ArticleDo 'init.ps1' scripts still works when installing a NuGet package?
This question might be a little outdated, but does 'init.ps1' scripts still works when installing a nupkg?I was trying to use 'install.ps1' and 'uninstall.ps1', but after a little bit of research I've...
View ArticleI'm looking for a Smart Mapping Table Upload Nuget or Package for .NET or...
I would like to upload tables in different formats (txt, csv, xls, xlsx, and probably sql) and different delimiters ("," ";" "tabulation" "vertical bar")The thing is, I need a smart mapping module for...
View Article"No service for type 'MediatR.IRequestHandler" on execution Azure Function
I'm using an Azure Function (v4) to upload data to a storage account. I use different project (Class libraries), that implement MediatR to execute commands. My code compilates fine but on runtime my...
View ArticleAvoid creating a new NuGet package just to test code when the package is...
I have an application that consumes some libraries, developed by me, via NuGet packages. Before migrating to Net6 from .Net framework, I used to test the code changes of my libraries by simply...
View Articleasp.net core docker issue on dotnet restore
I am new to docker and I developed a simple asp.net core webapi solution which uses a NuGet package from a private repository. dotnet restore command returns an error for a missing NuGet package that...
View ArticleHow to add an icon to a nuget package?
We are hosting our own nuget server through Teamcity. Is there any other way to add an icon to a .nuspec file other than specifying a web url (http://....)?Or is there a place in Teamcity that these...
View ArticleNuGet unknown client name at download stats
When you look at a NuGet package, there is download statistics. Clients that downloaded the package are various browsers etc. Most of downloads are done by 'unknown' client name. Who or what are these?
View ArticleNet7.0 project referencing Net7.0-windows package
I have a Net7.0 project that can run on Windows or Linux.I'd like it to reference a Net7.0-windows nuget package, and make the decision on whether to use the assembly/types it contains at runtime:...
View ArticleCould not load file or assembly Microsoft.Data.SqlClient, Version=5.0.0.0
Facing following issue after deploying app to azure app service:Unhandled exception. System.IO.FileNotFoundException: Could not loadfile or assembly 'Microsoft.Data.SqlClient,...
View ArticleHow can I avoid generating PDB files for .Net nuget packages?
I'am using CefSharp assemblies in my project c# project as references. Even after I set Debugging information to 'None' in the Advanced Build Settings dialog, I'm getting PDB files being generated in...
View ArticleFluentValidation and .NET 4.5
I've just installed FluentValidation 11.5.1 for my project which uses .NET 4.5 but I can't install FluentValidation.AspNetCore due to incompatibility with my .NET version. After doing some research I...
View ArticleCan I install System.Data.OleDb globally?
Whenever I open a new project in Visual Studio 2022, I have to install NuGet Package System.Data.OleDb for this specific project. However, on another machine that hasn't been configured by myself, I...
View ArticleHow to specify nuget package version on push?
I'm working with .Net Core and am trying to create a Nuget Library.I'm packaging my project with this command:dotnet pack MyRepo/MyProject/MyProject.csproj -c Release It always creates the file...
View ArticleNuget package references and depencies problem
I have c# projects with packages and references in hierarchy like thisProject-A package1 package2 Project-B package3 package4 Project-C package5 package6So project A references some packages and...
View ArticleNuGet reference to a specific version when publishing
I have two projects in my solution, projectA and projectB and I want to publish both projects as NuGet.I would also like projectB reference projectA, so when projectA is changing and a new NuGet is...
View ArticleHow to detect which package deployed from a given repository?
Given a Git Repository (let's say in Github) that is the code of an NPM package.Is there any tool that I can give the repo URL so it will answer me that this repo is an NPM package called...
View ArticleCreating a NuGet package out of two projects, ends up with missing references
I have a MailService package that uses Azure queues. I have put the queue related logic in a separate project. I'm using this in my pipeline to create a package that has both projects: - task:...
View Article