↧
System.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 ArticleChange NuGet package location folder
I want to change NuGet package folder, but it does not change it.What I do is creating file nuget.config:<configuration><config><add key="repositoryPath" value="C:\projects\"...
View ArticleHow to find out which .NET framework nuget package targets?
I have C# project that has to target .NET 3.5. framework and I have several nuget packages I'd like to install in the given project. How to find out, for a given nuget package, which .NET framework...
View ArticleNuget package does not copy content (XML Files)
We are using TFS build steps for creating nuget packages. So automatically TFS does this job, i mean, it creates firstly nuspec file and then creates nupkg. So, this package contains my xml settings...
View ArticleList-Unsubscribe header in Microsoft Graph Api is not working
I have added unsubscribe header while sending email via Microsoft Graph API but still it is not adding List-Unsubscriber header in the email.Dim HeaderOptions = New List(Of [Option]) From { New...
View Article.NET 8 Upgrade and Microsoft.AspNet.WebApi.Cors 5.3.0
Problem: We have an app on .NET 6 and with the upcoming 11/4 deadline, we want to move onto .NET 8. When I upgraded the solution's projects, I only had one Nuget package that was flagged as ...not...
View ArticleNuGet add external reference
I have a .nuspec file for my project, which references a third-party DLL that the project including my package needs to reference.<?xml version="1.0"?><package...
View Articleunable to create a target path for the nuget package in linux , but its...
currently I am trying to create a nuget package in linux with the help of nuspec file . below is the content of my nuspec file .<?xml version="1.0"?><package...
View Articledotnet pack include multiple projects into single NuGet package
I have 3 dotnet projects under a solution A,B and C. Project A have ProjectReference in csproj file to B and C. B and C have multiple Package references to publicly available packages in their...
View Articleerror NU1301: Unable to load the service index for source...
After trying to create new dotnet project there is some Nuget issue and I can't seem to fix itI've tried multiple times to reinstalled .NET SDK and clean files but it keeps happening.I tried to...
View ArticleAn assembly specified in the application dependencies manifest (...) was not...
I upgraded Microsoft.AspNetCore from 2.0.3 to 2.0.5 and my WebAPI project, although running successfully locally, fails to start in production (IIS). Everything was fine in production until this...
View ArticleOnly 25 libraries listed in local NuGet repository
I am on VS2022 (17.+).We have a local NuGet repository for host the in-house NuGets. However, we just realized that in the NuGet Manager, it only lists 25 of 30 libraries. To test the theory, we...
View ArticleCould not load file/assembly 'office, Version=15.0.0.0, Culture=neutral,...
I am using VS 2022 to develop windows application. In which I want to write some data into Excel. I have installed NuGet package Microsoft.Office.Interop.Excel Version 15.0.4795.1001 and I have...
View ArticleMudBlazor - Update Nuget Package makes dialogs and menus stop working
I'm trying to update MudBlazor Nuget Package on Visual Studio 2022 to the latest version 6.12.0.The last package version that my application works fine is 6.1.7.When I try to update i noticed that the...
View ArticleReplacing nuget packages with DLLs in Blazor server
I have Blazor sever app that uses some nuget packges and works fine. Now I want to refernce DLLs /Assemblies instead of nuget packges, beacuase our build server cannot process nuget packages, and I...
View ArticleUnable to find Microsoft.Azure.Services.AppAuthentication on NuGet Packages
I am using ASP.NET Core framework to build an API with Azure Key Vault. I tried to follow this tutorial but I am not able to find Microsoft.Azure.Services.AppAuthentication in the NuGet packages. The...
View ArticleDownload Nuget Package using Nuget.exe
Im working on an automation solution for transfering nuget packages from nuget.org to a private nuget feed. Is it possible to download nuget packages using nuget.exe? If i run the following command, it...
View ArticleRemove staticwebassets in blazor webassembly not working
I am trying to not include static web assets in a blazorwebassembly project since I don't need them. I use:<Target Name="ChooseEnabledStaticAssets" DependsOnTargets="ResolveStaticWebAssetsInputs"...
View ArticleNuget not installing packages
GoalMy goal is to simply install a package via NuGet Package Manager.I decided to delete Visual Studio 2019 and re-install it. Hoping it'll solve my issue. Then, I created a new project - tried...
View ArticleOverwrite default nuget.config file
I added in the same place where my .sln file is a nuget.config with this configuration<packageSources><add key="local repo" value="C:\myproject\nugetRepository" /></packageSources>and...
View Article