embedding Python in C++ App - missing debug library on python nuget package
I try to embed python into an C++ Visual Studio project.I installed the NuGet Python 3.14.7 Package (64bit).Then trying to run Debug I get a linker error about the missing python314_d.lib that indeed...
View ArticleUsing Directory.packages.props GlobalPackageReference only seems to work with...
I have a legacy monolithic application with 180 projects. All of these projects are in the SDK format, although some of them still use the .NET 4.8 target framework.I want to add a package reference...
View ArticleHow to fix Package source mapping is off in Visual Studio 2022?
I see the message Package source mapping is off in Visual Studio 2022 17.8.0 when I click on any package in the NuGet package manager.When I click on the Configure link, it opens up the below window.I...
View ArticleMSBuild can't copy system.diagnostics.diagnosticsource 9.0.2 due to badly...
After updating my NuGet package of system.diagnostics.diagnosticsource from 6.0.2 to 9.0.2 my build pipeline in Azure DevOps (self-hosted agent) can no longer build my solution, as the path to...
View ArticleHow 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 ArticleBuild/patch autoincrement for C# library nuget package
I have this C# .csproj project file:<Project...
View ArticleNuget.exe command CLI does not recognized
I would like to add feed to push my nuget package to Azure Devops as artifacts. I have followed all the steps that have been mentioned in the Microsoft docs to push my nuget package to Azure Devops. I...
View ArticleError: "There was an error running the selected code generator: Package...
I am trying to add controller to my solution in ASP.NET Core project:When I try to do so I get this error:I get the same message for adding minimal dependencies and full dependencies for controller.
View ArticleHow to resolve NuGet Transitive Packages with vulnerabilities
I have a project that requires the System.ServiceModel.Http NuGet package.That particular package references 6 other packages transitively.One of the transitive packages has an identified vulnerability...
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 ArticleIncluding EXE in NuGet Package with Visual Studio 2026
I am attempting to include an EXE in a NuGet package, but when the NuGet package is installed, the EXE does not show up in the output directory as expected.In my production environment, I get build...
View ArticleError NU5012 - nuget pack unable to find path...
I'm trying to update my nuget package by running the command nuget pack -properties Configuration=Release but this gives me the following error:Unable to find 'bin/Release/{project-name}/bin/Release'....
View Article'nuget' is not recognized but other nuget commands working
I am trying to create a nuget package using http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#From_a_convention_based_working_directoryas a reference.My Package Manger...
View ArticleLog4Net not able to load System.Data.SqlClient.SqlConnection when using...
I have an ASP.NET Core 10.0 Web API. I use log4net 3.3.1 with the SQL Appender. I have referenced Microsoft.Data.SqlClient 7.0.1.When I run the application I get this error:log4net: ERROR...
View ArticleManaging interdependent projects in solution
Consider the following scenario:I have a local NuGet storeMultiple libraries, e.g. generally used tooling are published as NuGet packagesMany packages depend on said generally used tooling and include...
View ArticlePRI175 Duplicate Entry / PRI277 Conflicting values for resource after adding...
I am working on a WinUI 3 desktop application.Currently my project already uses older CommunityToolkit packages for controls like DataGrid and Markdown:Package references currently used in...
View ArticleNuget Package Source is not prompting for credentials
I've added a NuGet Source. It needs credentials but when I'm installing a package using install-package packageName nothing happens. I tried the same steps on other PC and it works. I'm using Visual...
View ArticleHow to use MiniProfiler EF Core not in ASP.NET Core context?
The official docs say to install MiniProfiler.EntityFrameworkCore and thenpublic void ConfigureServices(IServiceCollection services){ services.AddMiniProfiler() .AddEntityFramework();}Problem is I can...
View ArticleMissing PackageReference in test .csproj after using Centralized Package...
I have a solution with 30+ .NET projects where NuGet package versions were previously defined individually across multiple .csproj files.During migration to Centralized Package Management, I used the...
View ArticleHow to share the JavaScript files for the Blazor via Nuget packages and...
Nothing to comment in addition to the question title if you are understanding why I need to do such thing. If no, I'll explain.Let us get the question Blazor get div position / coordinates for example....
View Article