↧
Using a custom NUGET package
I have a library class that I've turned into a NUGET package (or created a package from).I am hosting it on a shared drive and managed to get it to show up in the package manager (and also install it)....
View Articlewhat is package source mapping in Nuget? [closed]
I was trying to update .net version and packages for an old project after opening "Manage nuget packages for solution...". when I wanted to update them I see a message that say "Package Source Mapping...
View ArticleNuGet packages missing source mapping
Trying to install a package from Nuget in Visual studio. When I found the package and clicked on it I recieve this message: "Requires a package source mapping" I have (of cource) searched and got...
View Articlenuget package reference blue icon in visual studio 2017
For some reason in my console app, couple of the reference that I installed thru nuget shows the blue nuget icon. I can build my project locally, but not after I deploy my project to cloud. The error...
View ArticleMigrating a web app from .net framework to .net core 6.0 [closed]
I'm migrating a webapp from .NET Framework 4.7.2 to .NET Core 6.0, and so I have two copies of the project in the two languages respectively. I'm able to compile the frist one in Visual Studio as .NET...
View ArticleCannot get rid of nuget warning NU5128 about missing dependency group
[Env: nuget.exe 5.9.1.11, VS Pro 2019 16.9.6, W10 x64 1909]I am having trouble configuring the dependencies section of my .nuspec file so nuget generates a package which correctly contains the...
View ArticleIn my C# project I had to downgrade a nuget package to an older version. But...
In my C# project (VS 2022) I had to downgrade a nugget package (OPCLabs.EasyOPC) to an older version due to some functional problems on the new version. Therefore I have uninstalled the nugget package...
View ArticleIn my .NET7 project I have to use a critical nuget package that is running...
In my .NET ASP.Net Core C# project (.NET7 VS2022) I have to use a critical nuget package that is unfortunately running stable just on .NET6. Therefore I am thinking about to rollback to .NET7.The first...
View ArticleHow to Implement Controllers Inherited from ControllerBase in Library-Type...
I'm working with C# ASP.NET Core 6 and facing a challenge in implementing controllers inherited from ControllerBase in assemblies of the "library" type. Previously, it was possible to load packages...
View ArticleUnable to install Microsoft Entity Framework Core for a web application
These are the errors I get when I try to install the package Microsoft.EntityFrameworkCore:Error CodeIt's a completely new ASP.NET Core 8 project, I haven't written any code yet.I tried to reinstall...
View ArticleHow to reference DLLs with specific 32-bit and 64-bit
Currently I have a problem installing my Package Nuget, I have a dll that has an x86 and x64 architecture, what happens is that when installing it only adds the x86 reference in my projectI have been...
View ArticleReferenced Assemblies not included in NuGet package
I'm using nuget.exe to package my standard 2.0 library project which has a NuGet reference to protobuf-net v2.4.6. It used to include the protobuf dll inside the /lib/netstandard2.0 folder of the nupkg...
View ArticleAre nuspec meant for runtime dependencies only?
Despite looking at the official documentation, I am not clear on what this section is meant for. I don't see the point of specifying compile-time dependencies in it since the csproj has them and the...
View ArticleCannot install nuget package - package not found error
I am unable to install a package pushed to company source. In package manager I see the correct most up-to-date version but when I try to install it I get an error: Package 'xxxx' is not found in the...
View ArticleI have moved my C# app to a server without internet access. When I open the...
I have a C# console app on my laptop that has internet access. When I add a nugget package, all the related additional packages are installed automatically from the internet.But in this case I have...
View ArticleNuget "Pack" command in Visual Studio not including the correct dll in the...
Running Visual Studio 2022 Community, following the directions for my project. Right click on the Project in my solution (there are 3 projects in my solution), select "Pack" and it builds just like the...
View ArticleAzure function. 'Could not load type...
I'm trying to run an Azure Function v4 from Visual Studio, I know the function is correct because it works correctly in other computers from the same repo. I already removed and Clone the solution but...
View Articledotnet pack not working when project file passed
I have the following issue:I am running dotnet pack --no-build -c Release .\Client.csproj and am getting error NU5026: The file 'Client\bin\ Release\net7.0\Client.dll' to be packed was not found on...
View ArticleAdding reference to another project from visual studio code
If a library (eg, on github) doesn't distribute itself via a nuget package, I'd have to manually include it as a reference, correct? I see a lot of reference posts for how to add a reference to a...
View ArticleHow to install new assemblies from NuGet packages in offline mode
I do not have access to Internet for couple of hours and I need to start a project using VS 2015 community version.Newtonsoft.JsonEsri.ArcGISRuntime.WPFI already have theses two assemblies on previous...
View Article