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

Best way to distribute Visual C++ project which also has .net 8.0 dependency

Hi I have three Visual C++ projects created in Visual Studio 2022, it also has a dependency on .net 8.0, we have a .net code which invokes C++ Dlib library to do certain security operations in Windows...

View Article


Source Generators for class library project in c#

Is this possible to generate code with Source Generator in c# into class library project? I would like this auto-generated code to be packed into Nuget package then.When I try to build a project made...

View Article

Cannot get rid of nuget warning NU5128 about missing dependency group

[Env: nuget.exe 5.9.1.11, VS Pro 2019 16.9.6, W10 x64 1909]I am having trouble configuring the dependencies section of my .nuspec file so nuget generates a package which correctly contains the...

View Article

Image may be NSFW.
Clik here to view.

Error Removing Microsoft.Bcl.Interfaces Package: Version '7.0.0' Unable to find

I am facing an issue with a class lib project where I'm trying to remove the Microsoft.Bcl.Interfaces package. Although the package is not listed in the .csproj file, it still appears as installed in...

View Article

Replacing nuget packages with DLLs in Blazor server

I have Blazor sever app that uses some nuget packges and works fine. Now I want to refernce DLLs /Assemblies instead of nuget packges, beacuase our build server cannot process nuget packages, and I...

View Article


Cannot get rid of nuget warning NU5128 about missing dependency group

[Env: nuget.exe 5.9.1.11, VS Pro 2019 16.9.6, W10 x64 1909]I am having trouble configuring the dependencies section of my .nuspec file so nuget generates a package which correctly contains the...

View Article

error: 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 Article

Install new package version using old nuget (vs 2012)

I am in kind of situation where i need to use newer packages which is not supported by nuget in visual studio 2012. Is there a way to install a newer version package with/without nuget? Whats the...

View Article


How to deal with IAzure Interface while migrating from...

I am migrating my source code to use Azure.ResourceManager package instead of Microsoft.Azure.Management.Fluent (which is deprecated).My code uses IAzure interface like mentioned below:///...

View Article


C# .Net Framework - How to create nuget package for strings localization

I have created a nuget package - SampleNuget1 with strings.resx and strings.ar-AE.resx as string Resource Files, with Access specifier - public so that it can be accessed from any assembly outside. And...

View Article

MSBuild pack: How to include certain file types to be copied to output?

In my .csproj file, I defined the following ItemGruop:<ItemGroup><Content Include="$(TargetDir)\*.*"...

View Article

Failed to restore project when there is external nuget source configured

I have few configured in nuget.config nuget sources on my machine.One of them (externalSource) look at external protected source (all the below generated by VS):<?xml version="1.0"...

View Article

How can I create a Nuget Package whose source code is not visible?

I wrote a netstandard2.0 class library. I want to publish this as a Nuget package. I right-clicked on the project and made the necessary adjustments in the Package field. Likewise, when I right click...

View Article


Change NuGet package location folder

I want to change NuGet package folder, but it does not change it.What I do is creating file nuget.config:<configuration><config><add key="repositoryPath" value="C:\projects\"...

View Article

nuget add does not work in msbuild exec command

I am trying to automate process Build -> Pack -> Add for nuget package in VS2022. I have created SDK type project and using default settings to create nuget package. After executing Pack Command...

View Article


Image may be NSFW.
Clik here to view.

Need some help - Blazor Web App (.net 8 server) - Razor Component Library RCL...

What I am trying to do:Use MainLayout on my webapp to make use of the RCL's razor component to pass in a navmenu and use the shared libraries styling etc.I have a RCL that contains 2 razor components...

View Article

Image may be NSFW.
Clik here to view.

Blazor Web App (.net 8 server) - Razor Component Library RCL as NuGet (Local...

Updated after finding answer for future reference of those with issueWhat I was trying to do:Use MainLayout on my webapp to make use of the RCL's razor component to pass in a navmenu and use the shared...

View Article


Nuget package missing file Overlay.cs when using clickableTransparent Overlay...

System.MissingMethodException: 'Method not found: 'ImGuiNET.RangePtrAccessor`1<ImGuiNET.ImDrawListPtr> ImGuiNET.ImDrawDataPtr.get_CmdListsRange()'.'This is the error I'm getting and visual studio...

View Article

Build NuGet Package automatically including referenced dependencies

I want to run a local/internal NuGet repository. I think I've figured out how to "reuse" existing NuGet packages by including them in a dummy project using NuGet and scanning the package file to grab...

View Article

MSBuild pack nuget package with files from folder

I have a project which produces a library and then a post build script creates a needed license file. Afterwards, all files needed are copied into one folder (MyFolder) in a different project. This...

View Article
Browsing all 3025 articles
Browse latest View live


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