DotNetCoreCLI@2 pack command failing with .NET 8 upgrade
I have just upgraded one of our projects to .NET 8 and the devops pipeline is now failing on the pack command.A lot of the errors seem to look like thisEncountered conflict between...
View ArticleDeprecate nuget package in TeamCity
I have an nuget package in TeamCity that has been moved into another nuget feed and renamed. Is it possible to deprecated the old nuget package in TeamCity? I can only find details on how to remove the...
View ArticleNuget packages suddenly disappeared in my .net maui project
I am using Visual Studio Community 2022. I have three .net maui projects in this solution, all of which were working as expected with the require nuget packages showing up in "Manage Nuget...
View Article.NET setting package version with version autoincrement
I am trying to create a NuGet package from my C# class library project. It uses automatic versioning set in AssemblyInfo.cs:[assembly: AssemblyVersion("0.5.*")] But package information is taken from...
View ArticleHow to pack nuget package in such a way that it install our project dlls and...
I've a dotnet solution which consists of many .NET Framework 4.8 class library projects. Some projects have other packages installed, like log4net, Oracle.ManagedDataAccess, GraphQL.Client. In this...
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 ArticleNuGet.targets error : '.', hexadecimal value 0x00, is an invalid character...
after upgrade to .Net Core 2.1.1 I got this error: C:\Program Files\dotnet\sdk\2.1.301\NuGet.targets(114,5): error : An error occurred while retrieving package metadata for 'System.IO.4.3.0' from...
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 ArticleHow do you get the contents of a nuget package to auto deploy to the output...
I have a nuget package that I've built and uploaded to our Nuget repository. In it are 2 native dlls. One for 32-bit and one for 64-bit. I'll be referencing them in various projects (net472, net6, and...
View Articleusing relative path on .nuget packages folder in .csproj file
How to use relative path on .nuget packages folder in .csproj file. I've .txt content files and it is copied to my bin directory if I make a build only if I set the property to copy always. By doing...
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 ArticleSquirrel releasify fails to find files
I am trying to create an installer for my winsform app using squirrel. For some reason I can't figure out, I keep running into this error (below). The odd thing is that the files are in the package but...
View ArticleHow to delete an entire package from a DevOps feed?
We have a Auzre DevOps server with published artifacts in several feeds.Over time, we've accumulated packages that have been incorrectly published to the wrong feed, or test packages.I need to clean...
View ArticleNuget central package use reference dependencies child dependency version
I have a C# solution with multiple projects. We use central package management.Project1.csprojProject2.csprojDirectory.Packages.propsIn Directory.packages.props we...
View ArticleCompatibility Problem after Update from Xamarin.Forms to .Net MAUI
In Visual Studio 2022 I developped a Xamarin.Forms solution that compiles and runs on Android and UWP (Windows). I used Microsoft's Upgrade Assistant to upgrade to .Net 8.0 and .Net MAUI. This results...
View ArticleExtracting Source Code from Nuget Package File
Extract Code from Nuget PackageCan i extract complete source code from a nuget package File? e.g. (Filename.nupkg)I was trying to decrypt a nuget package and get its source code.I have tried...
View ArticleLibrary that lets you write tests in almost English like manner [closed]
I have a vague memory of a C# library being used some 10 years ago or so at a previous job.You would write almost English like sentences and it would pick up on key words and do something behind the...
View ArticleSystem.InvalidOperationException: AzureAppServices.HostingStartup failed to...
when my release pipeline builds and tries to deploy the code to my App Service, I get this exception:Microsoft.AspNetCore.Hosting.Diagnostics: Hosting startup assembly...
View ArticleGlobally Install Nuget Packages
I'm currently learning Rx.NET. I'm having to install the Nuget Package with each new project. Is there a way to install a Nuget package once and make it available to future projects so I don't have to...
View ArticleApexChart in MudBlazor using Nuget package Blazor-ApexCharts
Referring Link While putting Clustered Bar chart but facing Error Severity Code Description Project File Line Suppression StateError (active) RZ9985 Multiple components use the tag 'ApexChart'....
View Article