The Windows Service cannot be started
I have a Blazor Server application that works fine as a windows service. Now I want to refernce DLLs /Assemblies instead of nuget packges, beacuase our build server cannot process nuget packages. I am...
View ArticleImpossible to get nuget package from another gitlab project (error NU1301)
I installed Gitlab locally. I have two projects: a toolkit (project 1) and a second project (project 2) which uses the nuget package from this first project. The nuget package is stored in Gitlab's...
View ArticleFile Locking Issue When Using Custom MSBuild Task in Development Mode
I am developing a custom MSBuild task following the guidance outlined in the Microsoft Example. The development workflow is not good because whenever I change my task and I want to test it, to do that...
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 ArticleInstalling FluentNHibernate creates conflicts between different versions of...
This are the warnings I get:Found conflicts between different versions of "NHibernate" that could not be resolved.There was a conflict between "NHibernate, Version=5.3.0.0, Culture=neutral,...
View ArticleHow to create a NuGet package in ADO with only .json file, no csproj or binaries
Due to security issues with ADO in my workplace I'm unable to restore GIT submodules during project build. One dependency we will be needing is a set of common and stack-specific configuration files. I...
View ArticleC# .Net How to retarget application to the .Net Framework one has installed...
Someone has sent me a solution with some C# project files in it. I use only the command line interface of dotnet and I haven't got Visual Studio installed because of lack of memory on my computer. When...
View ArticleSystem.TypeInitializationException: 'The type initializer for...
System.TypeInitializationException: 'The type initializer for 'Microsoft.EntityFrameworkCore.EnumerableMethods' threw an exception.'InvalidOperationException: Sequence contains more than one matching...
View ArticleNuget.exe command CLI does not recognized
I would like to add feed to push my nuget package to Azure Devops as artifacts. I have followed all the steps that have been mentioned in the Microsoft docs to push my nuget package to Azure Devops. I...
View ArticleWebEid.Security missing
I am trying the WebEid dotnet example you can find here : https://github.com/web-eid/web-eid-asp-dotnet-exampleI completed the quick start steps but when I tried "dotnet build" step, I have an error...
View ArticleError NU1101 : Package WebEid.Security missing
I am trying the WebEid dotnet example you can find here : https://github.com/web-eid/web-eid-asp-dotnet-exampleI completed the quick start steps but when I tried "dotnet build" step, I have an error...
View Article'nuget' is not recognized but other nuget commands working
I am trying to create a nuget package using http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#From_a_convention_based_working_directoryas a reference.My Package Manger...
View ArticleHow to push 11mb .zip file into devops Repo
I'm working on a git repo where we have 11mb .zip file which has 4 folder and rar file packages under that. Now I have made some changes into an XML file which is one of the folder in Repo.While...
View ArticleThe downloaded code from...
I downloaded solution code from https://github.com/Azure-Samples/active-directory-b2c-dotnet-webapp-and-webapi.But when I try to rebuild it, I am getting errr for Owin NuGet package. ['Owin.1.0.1' is...
View Articlerenaming and putting a note on package management , self deleting after long...
how to automate self delete of package if not used in a year or more?how to put message or log with date() time() ddmmyyyy hhmmss on package downloaded? trace file missing. so as to keep track on...
View ArticleNuget package version resolution with different versions
I'm using a Nuget package that itself references a previous version of System.Reactive (specifically 4.3.2). I am not the maintainer and cannot change that, but would still like to use the package....
View ArticleRestoring private Nuget package hosted in Azure DevOps with Github Actions fails
I have a .NET project that uses a private Nuget package that is hosted in Azure DevOps. I have a Github Actions workflow that registers the private feed with a personal access token, and restores the...
View ArticleLibrary to Read Excel in .Net core on Linux Platform [closed]
I am working on migrating .Net Framework based application to .Net 6. Currently, it is using a library System.Data.OleDb which has compatible .Net core package but it gives a warning that Oledb-- is...
View ArticleHow to force reference attached assembly files when consuming my NuGet Package?
I'm trying to figure out how to structure a nuget package (hosted on github) in a way that it will force reference attached .dll files to the projects consuming it?Here is a working example which I am...
View ArticleXML documentation is in package but never copied to output directory
The generated package indeed includes the XML file next to the DLL file, however, when using the package from another project, the documentation is never copied to output directory.Here are the...
View Article