Create Nuget package for dot net core project from static files
I have created npm package which has js and css files just similar to bootstrap as folder structure. I want to ship same package for .Net mvc web applications so I created .nuspec file specifying files...
View ArticleNot all public classes available in NuGet package
When I use the dotnet pack command to create a NuGet package and reference it in another project, not all my classes are available.I have the follwing file (name DTOs.cs) which contains a lot of...
View ArticleProjectReference conflicts Transitive PackageReference
This question has been discussed on several topics here but I can't find a solution for my case.I have a library project I'm working on. Let's call it LibraryProject.To test and validate it during the...
View ArticleOverriding Remote Repository in Premake5 script running
I have a C++ project on Visual Studio 2022 that when trying to setup, I'm unable of running the premake5 script with vs2022 parameter on cmd.I have a custom package that resides in my local system.when...
View ArticleCan't access namespaces from Nuget Package
I have an Identity Server 3 Project where I need to install a couple of custom Nuget Packages, that comes from a private Nuget Package repository in my company. This Nuget is installed and running in...
View ArticleNuget package installed but references not resolved
I have a multi-project solution with Prism Nuget packages installed in several projects. I then attempted to add a Prism Mef extensions package to one of the projects using the Nuget Package Manager UI...
View ArticleNU1101Unable to find package Pluralsight.DDD.Deps. No packages exist with...
I am trying to learn a course in pluralsight https://app.pluralsight.com/library/courses/fundamentals-domain-driven-design/table-of-contents and I have a demo application for the course available at...
View ArticleHow do we install the Nuget packages in client's machine if there is no internet
We need to install the Nuget packages if client's machine does not have internet.Client informed us to install Nuget packages through Proxy. So they have shared Proxy URL and credentials and...
View ArticleAn error thrown in the official nuget sdk example code
ILogger logger = NullLogger.Instance;CancellationToken cancellationToken = CancellationToken.None;SourceCacheContext cache = new SourceCacheContext();SourceRepository repository =...
View ArticleAzure DevOps Pipelines NuGet package versioning
I have an issue with the versioning of the nuget package in my azure build pipeline.Here is the YAML variables and name of the build pipeline.variables: version: 4.00 release: 23.8.0 semVer:...
View ArticleCan't install discord.net - Failed to retrieve information about...
I have made Python discord bots in the past with discord.py but now I am learning C# and I want to try to make one with discord.net. When I try to install discord.net - I click on dependencies, then...
View ArticleCommunityToolkit.Maui.Markup nuget package installs with compilation errors
Freshly installed nuget package in a fresh maui app project and it's missing a field or property called CounterBtn. I don't know what type it's supposed to be.The name 'CounterBtn' does not exist in...
View Articleerror: NU1100: Unable to resolve 'MicrosoftOfficeCore (>= 15.0.0)' for 'net5.0'
In Terminal of Visual Studio Code, when I try to run:dotnet add package MicrosoftOfficeCore --version 15.0.0I get the following error on Visual Studio Code terminal:error: NU1100: Unable to resolve...
View Articlehow to combine two C++ projects, one used CMake and the other is VS...
I'm working on a source code which is a big project presented by CMake. I want to add some functions to this big project to do some ANN inference in it. For this reason, I need some libraries such as...
View ArticleHow can i get the release notes of a NuGet package with the official SDK in C#
I need to get the Release Notes stored in the metadata. This code seems to be able to read the metadata, however i dont know how to get to the release notes.using NuGet.Common;using...
View ArticleProblems with NuGet Packages on Visual Studio 2022
I'm developing a project for an app in .NET MAUI (using a SQL local Server), and basically I'm with problems with the NuGet packages. I need to use some of them (as...
View ArticleImpossible to get nuget package from another gitlab project (error NU1301)
I installed Gitlab locally. I have two projects: a toolkit (project 1) and a second project (project 2) which uses the nuget package from this first project. The nuget package is stored in Gitlab's...
View ArticleProblems with NuGet packages in .NET solution with two projects - binaries...
I have a legacy VB .NET website that has been written as two projects - a 'Core' project providing a class library and the startup 'UI' project, which uses the 'Core' functionality. I have installed...
View ArticleBuild a image with dotnet core 6 using dockerfile get an error NETSDK1064
I'm tring to build a image with .net core 6, but when command ran to this line :RUN dotnet publish -c release -o /app --no-restoreI got a error:#14 0.629...
View ArticleHow I can access latest prerelease nuget version
I have a following nuget packagesTest.1.0.0.1.nupkgTest.1.0.0.2-rc1.nupkgTest.1.0.0.3-rc1.nupkgTest.1.0.0.4.nupkgTest.1.0.0.3-beta1.nupkgI want to install the latest prerelease package based on branch...
View Article