Package restore failed in ASP.NET Core 6
I tried to create the controller by selecting "MVC controller with views using Entity Framework" option, but I get a "Package restore failed" error. I am using Visual Studio 2022 and ASP.NET Core 6.I...
View ArticleCopy native NuGet-packaged DLL to build output
I have a .NET Standard 2.0 C# project Foo that produces a NuGet package with the following directory structure:build/ x64/ FooNative.dlllib/ netstandard2.0/ FooManaged.dll Foo.dllfoo.nuspecThe project...
View ArticleNugetPackages that are missing on this pc
Please help I have no more ideas that I can try to get rid of this errorthanks in advanceSeverity Code Description Project File Line Suppression StateError This project references NuGet package(s) that...
View ArticleNuGet to copy files into the project directory
I've created a .nuspec file which packages a bunch of .proto files for sharing between projects. This is great. Unfortunately, for the .proto files to be built, they need to be actually copied over to...
View ArticleAzure function v4 migration. Could not load file or assembly...
I'm currently migrating an Azure Function from v2 to Azure Functionsv4. I already migrated my project to .NET6 and fixed all the package reference errors. I have in the solution 3 projects which I...
View ArticleHow to get APIs called under method in Nuget package
I have one client nuget package and I use that client nuget package in Sample app, I have a requirement to log the APIs that are getting called in client nuget package. Is there any way to log the API...
View ArticleTwo Dotnet Core projects with different versions of same package problem
Package N (Community) is available via Nuget.Project A uses Package N (Community), 2.3.0 extensively.Package N (Pro), version 2.5.0 has a single required feature not available in the Community version,...
View ArticleHow to deal with IAzure Interface while migrating from...
I am migrating my source code to use Azure.ResourceManager package instead of Microsoft.Azure.Management.Fluent (which is deprecated).My code uses IAzure interface like mentioned below:///...
View ArticleLocal nuget package A is added into B, but B doesn't see it
2 projects: MyProj.A and MyProj.B.MyProj.A is built as NuGet package and added to MyProj.B.MyProj.A is examined with Nuget Package Explorer and I see all types inside but MyProj.B sees nothing, even...
View ArticleThe type 'CodeActivity' is defined in an assembly that is not referenced. You...
im trying to make a simple acivity for uipath in c# , i had used the System.Activties versoin 4.0.0.0and inside the nuget pakage explorer i had created net461 and net6.0-windows7.0 folders respectedly...
View ArticlePush NuGet package: This package must be signed with a registered certificate
I'm trying to push my NuGet package with the commmanddotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key *** --skip-duplicateBut I'm receiving the error:error: Response...
View ArticleHow do I fix "Deploy72002" when I am storing the database locally?
So I am currently using Visual Studio 2022 and I think that's where the problem is originating from. I used 2019 back then and did not run into this error. I have no errors from looking at the error...
View ArticleThe method is showing the entire code and [decompiled] is displayed beside...
I have created a nuget package with some basic logic and uploded into nuget site. Later i created a test project and then used the newly created nuget package in the test project.When i click on 'Go to...
View ArticleVisual studio 2022 not able to install packages from nuget manager
I am using Visual studio 2022, Here i am not able to download any package from nuget package manager.packages are list but when i click to download its says **Severity Code Description Project File...
View ArticleAfter installing the Quartz 3.0.0 package System.IO.FileLoadException:...
After installing the Quartz 3.0.0 packageSystem.IO.FileLoadException: Could not load file ''Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or its assembly code or...
View ArticleReplace Native DLL from Nuget package?
I have a Nuget package which is using an outdated patch version of a native library.Is there a way to make my application use/install a newer DLL instead?I tried replacing the DLL inside the Runtimes/...
View ArticleCreate NuGet Package with GitHub Actions
I have a solution for an ASP.NET Core API project that contains the main API project as well as two other library projects.I now want to create NuGet packages for the library projects so that I can use...
View ArticleMigration of the “Microsoft Graph” Nuget package from V4.5 to V5
For a C# project, I use the “Microsoft Graph” Nuget package. Although my project worked fine with version 4.5 of this package, migrating to version 5 causes many compilation errors And the help on the...
View ArticleUnable to Push GitHub Package for Nuget
I followed all guidance so as to be able to push a nuget package of my class library into my private GitHub repository.I added the following to my...
View ArticleWhen updating Nuget package in asp.net project
I need to update a couple of MS Nuget packages in asp.net project which was developed using Visual Studio. The ones I'm updating...
View Article