How to create own nuget package based on polly 7.2.4 .NET with new name and...
I tried to create own nuget package based on polly 7.2.4 .NET with new name and packageId. In most cases you need just change PackageId and pack the project. But it looks like Polly library has...
View ArticleCode packaged in NuGet package is not visible
I've packaged and published my code generator, including code fixes and a DLL specifically for the attribute that triggers everything. The attribute isn't available when I add the package to my .NET 8...
View ArticleCompiling class library with packages
I have this simple class libarary and i uses csv nuget package.when i build this project, only ClassLibrary2.dll is in bin folder. should it also contain csv.dll file as well?how to ensure that csv dll...
View ArticleAttempting to Install a Nuget Package and I get an error
I'm trying to install a nuget package. And I get the following error.Each package is licensed to you by its owner. NuGet is not responsible for, nor does it grant any licenses to, third-party packages....
View ArticleAdd native files from NuGet package to .NET application output directory
Following the advice in this answer, I tried to arrange for the native files to be installed in the output directory for a C# Console Application, but the copy step doesn't run.My NuGet package...
View ArticleCould not load file or assembly 'StackExchange.Redis, Version=1.0.316.0
We are using the latest version of Owin Security RedisTokenProviders but we have problem:Could not load file or assembly 'StackExchange.Redis, Version=1.0.316.0, Culture=neutral, PublicKeyToken=null'...
View ArticleAzure image building SDK is missing for .NET
Is there any NuGet package dedicated to managing image templates in Azure? I need to create and run image templates with customization from my .NET solution, but I can not find any API reference/code...
View ArticleHow to disable release notes when open package management console
When in Visual Studio 2017 you openPackage management consoleit automatically open Release notes tab, how to make it stop doing it?
View ArticlePackage is not found in the following primary source
I have a build pipeline set up to create Nuget packages and publish them to a feed in artifacts.I was able to use the feed successfully.However when I ran the pipeline again, causing the packages to...
View ArticlePackaging output of native C++ DLL project for consumption by .NET Framework...
I currently have a VS2022 solution which includes a fully-native VC++ project that builds a native DLL, which depends on a lot of C++ libraries that are managed and versioned via VCPKG.The native DLL...
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 ArticleI switched from .net framework 4 to .net 8. HttpRequestBase' claims it is...
I switched from .net framework 4 to .net 8. I recreated the project. However, it gave errors in many places.For Request errors in the code: Reference to type 'HttpRequestBase' claims it is defined in...
View ArticleMyGet .NET package builds not starting, only getting queued
As pictured below, our myget instance has apparently stopped building our packages. We have not changed anything in the configuration at all, but as of right now builds are only getting queued, and do...
View ArticleXamarin PCL Refit 3.0.1 , Doesn't look like a Refit interface
I recently started working on a Xamarin Android/iOS project with a PCL class where I want to put all the logic in. Like my Refit interfaces, ReactiveUI ViewModels et cetera, but every time when trying...
View ArticleBuild a image with dotnet core 6 using dockerfile get an error NETSDK1064
I'm tring to build a image with .net core 6, but when command ran to this line :RUN dotnet publish -c release -o /app --no-restoreI got a error:#14 0.629...
View ArticlePacking multiple projects into singular NuGet package
I would like to pack a Roslyn source generator and another project that contains the attributes the source generator acts upon together into one NuGet package. To do this, I've decided that using a...
View ArticleUnauthorized nuget package from Visual Studio Team Services using asp.net...
I am unable to install/restore nuget packages from a Visual Studio Team Services feed in an asp.net core web application (RC2). I receive the following:error: Response status code does not indicate...
View ArticleNuGet hash validation failed NU1403
I have a solution and it is working on other developer's laptops, but on one by some reason during build, I see this error:Error NU1403 Package content hash validation failed...
View ArticleProject with referenced nuget package is not able to find files
I have been working on this problem for a while now and was not able to find a solution.I have a Razor-Project, that has - among other files - a Stylesheet.razor file. It looks like that:<!--...
View ArticleHow to manage NuGet-packages in Visual Studio Code?
I want to be able to see which NuGet-packages in my .NET-solution (with multiple projects) are up-to-date and which aren't. And when they are not up-to-date, I want to select them and update them,...
View Article