cannot convert from 'System.Data.SqlClient.SqlConnection' to...
I am currenty creating SQLWorker class with various methods which excutes various sql commands as part of a wider framework. I have a method which is used to execute a sql scripts. as whon below:public...
View ArticleImported Nuget View can't resolve @Constants
got an odd case here and I can't pin down the issue.I created a Nuget package that contains MVC Views and Controllers (this way we can import them to multiple projects as a base). On myMVC project...
View Articlehow to get all nuget dependencies for offline installation
I two computers, one with internet connection and the other one without.I want to install a Nuget package (Nuget.server) with all its dependencies on the offline computer.Unfortunately it is not...
View ArticlePagedList.Mvc 4.5.0 won't install, nuget manager not working VS2013
Nuget keeps showing the message: "Retrieving information...".I tried to clean nuget cache,reinstalling nuget package manager,I downloaded the package and tried to install it offlineAny ideas?
View ArticleUsing a NuGet package in Visual Studio with Unreal Engine 4
I have installed the Microsoft.Windows.ImplementationLibrary package using the by clicking on Manage NuGet Packages, however when I include the header ''' #include <wil/com.h> '''& compile,...
View ArticleBest way to add gtest to Visual Studio solution without NuGet
I have a GIT repository which contains a Visual Studio solution.I need to add some tests for the code, and wanted to use Gtest for it.Now, when I add a gtest project to the solution, a NuGet package of...
View ArticleCopy the nuget content folder to project output folder
I have created a nuget package with this structure:NugetName/lib/net/*.dllNugetName/contentFiles/A/*.dllNugetName/contentFiles/B/*.dll> <?xml version="1.0" encoding="utf-8"?> <package>...
View Articlenuget pack produces unwanted content folder out of nowhere
I have a .NET Framework class library project that I'm turning into a nuget package and uploading to my own nuget server.This is how the project looks:Really simple, just a single .cs file with a few...
View Articlemulti-stage pipeline using dotnet pack fails around versioning
I am trying to get one pipeline to both build and test my code, and in another stage to pack and push a nuget package.name: $(SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.r)trigger: branches: include: -...
View ArticleGetting error while accessing the Private Nuget feed
I am getting an error while trying to access the private NuGet feed from Azure Package artifacts.Install-Package Microsoft.Sdk -version 1.0.0-CI-20191028-053209The content at...
View ArticleHow to roll back to packages.config from PackageReference in ASP.NET Core 3.1...
I am working in ASP.NET Core 3.1 where I want to have packages folder with packages.config file. I tried with these linksHow to roll back to packages.configSwitch back to packages.configI changed the...
View ArticleHow can I use the Signed version of ClosedXML ? (ClosedXML.Signed)
I am using ClosedXML in my project. I needed to sign my project, but the ClosedXML NuGet appears to be unsigned : Referenced assembly 'ClosedXML, Version=0.94.2.0, Culture=neutral, PublicKeyToken=null'...
View ArticleCMake and MsVS-NuGet
I'm currently developing a desktop application, using the C++ REST SDK (codename Casablanca), Qt5 and some other libraries.For the project setup, I use CMake.How to get CMake to install NuGet...
View ArticleUnable to use the Nuget Manager in VS2012
Getting error when i try to install in package Manager console. Install-Package : Unable to find package 'System.Data.SQLite'. At first, I thought that i enter the wrong package so i double check what...
View Articlerestore nuget package conflict
In VS2019, in the Package Manager Console, I start to update all packages of my solution with update-package, but it stops at;update-package : Unable to find...
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 ArticleNeed to have Nuget package with transitive reference overridden by local...
In my Solution, I have an unit test project A.My test project A has a direct nuget reference to package B witch include a transitive reference to nuget package C.My test project A has also a local...
View ArticleIs there any NuGet API to create a Package from a Visual Studio Extension...
I am looking a api that helps us to create NuGet package from a vsix project.I found apis used for installation of Package like - NuGet.VisualStudio.Please let me know if there is any similar api for...
View ArticleDevExpress nuget package Error while bulding an old C# WPF project [closed]
Severity Code Description Project Path File Line Source Suppression StateError NuGet Package restore failed for project _ESTIMA\ADF.IS.Estima.Desktop: Unable to find version '17.1.6' of package...
View ArticleIs it possible to change the location of packages for NuGet?
I have the following convention for most of my projects:/src /Solution.sln /SolutionFolder /Project1 /Project2 /etc../lib /Moq moq.dll license.txt /Yui-Compressor yui.compressor.dll/tools /ILMerge...
View Article