↧
Consume specific SDK dlls in Nuget package
I'm compiling my code with net6.0.One of my depends projects, compiled with netstandard2.0, is using a Nuget package with DLLs for netstandard2.0 and net5.0 (and also netstandard1.1 and net45).In the...
View ArticleNuGet: package with source code that can be referenced as library
Is there any possibility to create a NuGet package containing the source code that can be referenced as library?When I use the .nuspec for packing the created .nupkg contains the source code but cannot...
View ArticleNuGet package for distributing consistent theme for Blazor WASM
In an organization, multiple Blazor WASM projects will be using the same CSS library and company theme, say Bulma (https://bulma.io/) or others.My intention is to have one NuGet package that will:Be...
View ArticleNuGet Package Manager error: The remote name could not be resolved
I am using version 1.4 and getting this error: The remote name could not be resolved: go.microsoft.comHere are the URLs for the nuget package:https://go.microsoft.com/fwlink/?LinkID=206669Am i missing...
View ArticleThe type 'Nullable' is defined in an assembly that is not referenced
I created a Class Library and NuGet package in order to share code to access our API. (This is my first time trying any of this). The Class Library was created using .NetStandard. I used the "Pack"...
View ArticleWinscp NuGet Package not working in SSIS Script Task
I created a Script Task in my SSIS package and addded the WinSCP nuget package to the script. However when i build the task i get the following error,This project references NuGet package(s) that are...
View ArticleSystem.Net.Http NuGet package 4.3.0 reference generates...
Description of the problem:A shared library "shared.dll" project references System.Net.Http NuGet package 4.3.0. The application that references "shared.dll" fails withSystem.IO.FileLoadExceptionCould...
View ArticleHow can I get Nuget Package's target framework
Is there a way in C# to get the target .NET-framework of a Nuget package located on a Nexus (3.38.1-01 version) repository without downloading it ?Can't achieve anything yet and don't have any...
View ArticleVS 2017 IDE can't start: Method not found after installing...
I had an error when starting the WebCompiler extension, that Microsoft.VisualStudio.Shell.15.0.dll was missing.After some searches, I found that I can install it via the PackageManager console in VS...
View ArticleASP.NET Core MVC : loading nupkg file and use it at run time
I have an ASP.NET Core MVC project, and I want to load a file of type .nupkg at runtime, with a different version every time, and use the code from the loaded file.The nuget file exists in a different...
View ArticleCan I use the DLLs included in the nuget package
I used Nuget package explorer to pack some third party DLLs into one package and published to my nuget server, many of my projects need refer to those third party DLLs and I don't want to add DLL...
View ArticleCould not find file 'bin\Antlr3.Runtime.pdb' Error when creating deployment...
I'm getting the following error when tried to create deployment package."Copying file bin\Antlr3.Runtime.pdb to obj\Release\AspnetCompileMerge\Source\bin\Antlr3.Runtime.pdb failed. Could not find file...
View ArticleNuGet Package references copies dll local
I have some requirement to set Copy Local to false for the NuGet dll. Before that, I used the package.config format and everything worked fine. After migration to Package Reference format, I cannot...
View ArticleNuget - Object reference not set to an instance of an object
I have a problem with nuget package manager in vs 2015.Some packages like Unity has been installed with no problem.Some packages like EF had problems while installing. Some packages like Automapper had...
View ArticleCompile and run .NET codebase without downloading remote dependencies(DLLs),...
We have a codebase with dependencies that are hosted in secured remote repository. Generally, when we do "dotnet restore", All the dependencies gets downloaded to local and then the code compiles. We...
View Article"Found conflicts between different versions of the same dependent assembly."...
I've switched to PackageReference as the source for "System.ValueTuple". It builds and runs fine. However, I still receive this warning message below which I can't seem to get rid of or understand the...
View ArticleHow to add an icon to a nuget package?
We are hosting our own nuget server through Teamcity. Is there any other way to add an icon to a .nuspec file other than specifying a web url (http://....)?Or is there a place in Teamcity that these...
View ArticleHow to avoid nuget conflict reference?
I have a project A that references NuGet Newtonsoft Json version 11 and I have another project B that references NuGet Newtonsoft Json 13 and also project B. Since project B references a lesser version...
View ArticleUnauthorized nuget package from Visual Studio Team Services using asp.net...
I am unable to install/restore nuget packages from a Visual Studio Team Services feed in an asp.net core web application (RC2). I receive the following:error: Response status code does not indicate...
View ArticleGenerate Packages.Props for solution ( central management of NuGet package...
Does any utility exist, which generates packages.props from the list of installed NuGet packages for that solution.Is the only option to add manually these references...
View Article