Using Nuget packages for WPF when running as plug-in
I have a problem with loading external resources into a WPF application. The WPF app should run as a plugin for a 3rd party program. I believe it is irrelevant which program it is, but in this case it...
View ArticleHow to Include and Apply stylecop.json and Custom Ruleset in a NuGet Analyzer...
This post is a follow-up from this How to create nuget package with Stylecop Analyzer and custom ruleset?I am currently working on a nuget package with custom analyzers, a stylecop.json, and a...
View ArticleHow to create ASP.NET Core Web App(MVC) project in Visual Studio with other...
I'm creating ASP.NET 7.0 Core Web App MVC project VS. Like this. This project is my nuget project.Example imageI want to use this nuget project as a theme in another project. Ä° need all wwwroot files...
View ArticleHow to create ASP.NET Core MVC web app project in Visual Studio with other...
I'm creating an ASP.NET Core 7.0 MVC project VS. This project is my nuget project:Example imageI want to use this nuget project as a theme in another project. I need all wwwroot files to you second...
View ArticleMy first Roslyn code analyzer refuses to run
I'm trying my hand at packaging a working Roslyn code analyzer, and I'm afraid it's not going so well. I've run out of things to try.What I have so far I've largely gleaned from ChatGPT, who of course...
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 ArticlePackage source mapping does not work since 17.5.0
I have recently had the problem that all my projects have difficulties with the Nuget packages. Since they seem to be equipped with additional security since version 17.5, I have to reconfigure them....
View Articlewhy i have this problem with this Nuget package
I have created a new project on visual studio .net maui.I´m trying to install the NugetPackage CommunityToolkit.Maui version 9.01enter image description hereBut when I install it, an errors appears and...
View ArticleFailed to install NuGet package in Visual Studio 2019
I'm working on C# WinForms project, on off-line PC and need to install several NuGet packages. I have copy of this packages on the PC.When I try to install using NuGet Package Manager it fails for any...
View Articleoverwrite nuget packages in feed on visual studio team services
while usingnuget.exe push \\share\Packages\*.nupkg -Source "https://myvsts.pkgs.visualstudio.com/_packaging/tcpcm/nuget/v3/index.json" -ApiKey VSTSi got an Response status code does not indicate...
View ArticleNuGet not restoring packages on build
I have just created a workspace on a new machine, got latest of our project from TFS, enabled NuGet Restore, and I get the following (skimmed-down) output:1>------ Rebuild All started: Project:...
View ArticleNuGet Package Creation: Duplicate File Warnings and Proper File Placement in...
I have a project written with C# using .net462 (this cannot be changed becasue it is also used from power apps where the plugin will be added).I tried to convert PDF to images using PDFIumViewer and...
View Articlecreating nuget: can not package referenced dlls
I'm trying to create a nuget using the "Nuget Package Explorer". The project references 2 dlls which target .net4.0 and the main dll targets .net4.5.As specified, I put the 2 referenced dlls in a...
View ArticleNet48 to net60 migration: Could not load file or assembly 'System.Runtime,...
I am migrating my application from net48 to net60. During the migration, I have to update my custom NuGet package to support net60 and add it to my application, but during the build, I am getting an...
View Article"Deprecated: This package has been deprecated" Warning When Installing Widely...
I am trying to install several Nuget packages, but Nuget labels them as "Deprecated". However, I know for a fact that they are still widely used and included in other "Non-Deprecated" packages. For...
View ArticlePublish unlisted NuGet package
I want to publish a new version of a NuGet package, but I want it automatically in an Unlisted status. When I manually upload the .nupkg file to nuget.org, in the preview there is an option to unlist...
View ArticleSA1201: A constructor should not follow a property
// <copyright file="CronJobSchedular.cs" company="WindSoft">// Copyright (c) WindSoft. All rights reserved.// Licensed under the WindSoft license. See LICENSE file in the project root for full...
View ArticleCan't update 4 NuGet packages due to error "Could not find a part of the...
I can't update any/all of the following packages in my solution:I get the error:I've tried reinstalling all packages via NuGet console but still get the same error.I'm using VS 2022 64bit v 17.0.4....
View ArticleTry to run a program in VS Code with dotnet it don't work it say directions...
This is the error I get whenever I try to run my C# code:dotnet run --project ProjectName.csprojUnhandled exception. System.IO.FileNotFoundException: The resource...
View ArticleInclude dependent DLLs of dependent csprojs in nuget package
I have the following structure in my solution:Proj1--> Proj2-->Newtonsoft.JSONI am packing Proj1 as a nuget and I want it to contain both Proj2.dll and Newtonsoft.JSONMy Proj1 looks like...
View Article