12,032 questions
0
votes
0
answers
20
views
How to Step Into NuGet package functions during debugging in Visual Studio?
I’m trying to debug inside a function that comes from a NuGet package (for example AutoMapper or FluentValidation).
I want to Step Into the built-in function during debugging in Visual Studio to ...
0
votes
0
answers
19
views
How to include extra runtime files in nuget package?
I have a class library project targeting .net standard 2.0 that I pack into a nuget package; we'll call it Package.A.
Inside of the project, it has a folder called Special with the following folder + ...
1
vote
0
answers
50
views
Which files does dotnet restore reads to create project.assets.json? [closed]
When I run
dotnet restore --no-cache mysol.sln -v diag
A project.assets.json file is created. It contains a reference to a nuget package that I'm not referencing anywhere. I'd like to understand ...
Advice
0
votes
5
replies
74
views
Visual Studio 2022 Suppressing 'Warning As Error' at a solution level
I'm working on updating an older solution at the moment, part of this is changing to referencing newer versions of some NuGet packages, where there are vulnerabilities and such.
This part is causing ...
0
votes
0
answers
93
views
.NET Framework 4.7 app fails to load dependency from .NET Standard library due to NuGet selecting different assemblies
I have a solution with two projects:
A class library targeting .NET Standard 2.0
An application targeting .NET Framework 4.7
The .NET Standard library references a NuGet package that ships different ...
2
votes
2
answers
110
views
Dotnet Restore cannot find .NET 9 packages (NU1102) even though they exist in internal Artifactory NuGet
We use an internal Artifactory NuGet feed inside our organization.
Here is my NuGet.Config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<...
1
vote
1
answer
104
views
Conflict between Microsoft.AspNetCore and System.Security.Cryptography.Pkcs
I'm running into a conflict when trying to include both of the following packages in a project:
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="10.0.0" /&...
0
votes
2
answers
97
views
C# project with a package reference to a nuget with an exe assembly
I know that in the early times of .NET Framework, you could build an assembly into EXE and then use that "EXE assembly" as a dependency of another .NET Framework assembly which, too, could ...
1
vote
1
answer
160
views
error MSB4057: The target "ResolvePackageAssets" does not exist in the project
I tried adding a migration via dotnet ef migrations add InitialCreate but got the following error
C:\Users\tmsta\OneDrive\source\repos\Server Default\TrevorsTempMonitorApp\TrevorsTempMonitorApp.csproj ...
-1
votes
1
answer
89
views
Dotnet 10 - ZXing.Net.Maui 0.6.0 - Xamarin.AndroidX.Tracing dependency conflict breaks Android build
After upgrading to ZXing.Net.Maui version 0.6.0, my .NET MAUI Android application fails to build with a dependency conflict error.
Error Message
error NU1107: Version conflict detected for Xamarin....
0
votes
0
answers
100
views
error: Package is incompatible with 'all' frameworks in project when package does not already exist in C:\<USER>\.nuget\packages
I have a powershell script calling dotnet add
Script:
dotnet add `"$projectFilePath`" package "$packageName" --source "$dorsetIcsSourceName" --version "$...
0
votes
0
answers
82
views
DevOps build errors referencing old package version no longer used
My site has two website projects. One of them references Microsoft.CodeDom.Providers.DotNetCompilerPlatform.
We have recently upgraded this from 3.6.0 to 4.1.0 as part of a wider upgrade project.
The ...
Best practices
0
votes
0
replies
33
views
MilestoneSystems.VideoOS.Mobile.SDK NuGet how to set configuration for get frames via WebSocket to playing
MilestoneSystems.VideoOS.Mobile.SDK NuGet
How to set configuration for get frames via WebSocket to playing?
is there any limitations of the NuGet?
After 2:30 I receive a lot of frames which null.
0
votes
0
answers
75
views
Nuget package "GDAL" - Unable to load DLL 'gdal_wrap' when in an addin
I have a "console" application where I installed the Nuget package "GDAL" (and also GDAL.Native).
Besides the exe file, this application also generates a dll that can be loaded as ...
0
votes
0
answers
60
views
SetApiKey gives "Access is denied." (CryptographicException) when logged in via SSH
It's great that you can SSH into Windows these days.
Now I've run into a quirky situation with NuGet.exe client however.
To reprocude I have:
just started up the computer
logged in as the "build&...