Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Browsing all 3067 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Getting Sytem.IO.DirectoryNotFoundException when trying to install...

System.IO.DirectoryNotFoundException: Could not find a part of the path...

View Article


After Upgrading the dotnet from v2 to v8, i am getting this error -...

I am using C# in my backend and Angular in frontend and after upgrading dotnet to version 8 I am getting this error while trying to login through frontend - System.MissingMethodException: 'Method not...

View Article


NuGetPackageInstallerException while trying to install tools with `dotnet...

When I try to install a dotnet tool from the terminal I always get an error. Example: dotnet tool install --global dotnet-efRunning this always gives me an exception with the following...

View Article

Conflict with "System.Runtime" after updating Microsoft Graph NuGet package

I just updated my Microsoft Graph to the latest version and now I get a compiler warning:1>------ Rebuild All started: Project: OutlookCalIFConsole, Configuration: Release Any CPU ------Restored...

View Article

Install local NuGet package in Rider

Hi have a locally generated NuGet package and I want to import it in a C# project using the Rider IDE.So far I found a topic explaining how to do that with visual studio, I guess I could do it with VS...

View Article


An 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 Article

Video Processing Nuget packages, tried MediaToolkit and ffmpeg what next?...

I have a program that extracts images from video at 1 frame every 2 seconds, I was using MediaToolkit but as it hasn't been updated in years it is increasingly failing to process some videos.I switched...

View Article

Could not load file or assembly 'System.Runtime, when creating nuget spec...

I have a simple compiled library (compiled with very different TFs) that I want to provide for consumers via nugets.For this purpose I want to use nuget spec -a {libraryPath} command to create nuspec...

View Article


.net Unit Test Discovery through nuget package

We have many unit/integration tests in our solutions.Problem is each test can have its own version of these :<ItemGroup><PackageReference Include="Microsoft.AspNetCore.TestHost"...

View Article


Collection of Nuget Packages - Install In A Group

Is there a way to create a list of nuget packages that you commonly use, in my case Serilog and then the additional extensions for that.Is there a way to be able to install all the packages in one go...

View Article

Project 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 Article

Increasing the Lifespan of OTP Codes in C# Using PureOtp Library

I'm currently working on implementing OTP (One-Time Password) functionality in C# using the PureOtp library available on GitHub PureOtp. However, I'm facing an issue with the lifespan of the the codes...

View Article

Compatibility 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 Article


Fail to load package dependency at runtime

My solution uses central package management and targets .net6.0 framework and at execution I get the following exception:System.IO.FileNotFoundException: 'Could not load file or assembly...

View Article

Image may be NSFW.
Clik here to view.

Your startup project 'project' doesn't reference...

I'm building WPF application with the EntityFrameworkCore version 2.2.2However, when i want to Add-Migration it output me an error...Your startup project 'project' doesn't reference...

View Article


An error occurred while trying to restore packages. Unable to find version...

I am getting an below error while trying to install package 'xxx' on a project through visual studio using manage nuget packagesAn error occurred while trying to restore packages. Unable to find...

View Article

The EntityFramework package is not installed on project

I am having trouble getting the EF to install on my very simple project called 'Match' (just now learning MVC, better late than never). The general context here is that I created the Model class with...

View Article


Azure Devops pipeline to build .NET Framework Artifact multiple projects

I am using Azure DevOps to build and package a .NET csproj with multiple project references. While the MSBuild task successfully compiles the csproj and includes all referenced projects in the...

View Article

Image may be NSFW.
Clik here to view.

How can I resolve Error Running the Selected Code Generator when adding...

I have looked at all the questions about this issue and cannot seem to resolve it.Visual Studio 2022. .Net 6.0.15. Blazor.I am trying to scaffold identity to one of my projects (Server) in the...

View Article

NuGet package doesn't copy file to destination project

I create a NuGet package with all components that I need to reuse in some project. In the project with components I have some .less and .js files. I need to copy these files in wwwroot of my projects...

View Article
Browsing all 3067 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>