Execution problems in visual studio for Mac 2019 (NuGet packages)
I want to use C# in Visual Studio but I cannot execute any C# projectsAnd it just shows the error, which says "Failed to read NuGet.Config due to unauthorized access. Path ...." also says "you should...
View ArticleFind a directory using wildcard in Inno Setup
I'm trying to get all the files in a directory recursively while using wildcard within the name of the directory in Inno Setup script.I have came across examples for filename but none for a directory...
View ArticleThe request was aborted: Could not create SSL/TLS secure channel for nuget...
I am currently looking into using Octopus for our deployments. I'm trying to push the latest .nupkg file to our Octopus server as follows.NuGet.exe push outputfolder\My.nupkg -ApiKey myapikey -Source...
View ArticleBuild error - The type or namespace name 'AspNetCore' does not exist in the...
I have just opened a project that was working fine the other day. No changes were made to the code but now when I open it I get errorsThe type or namespace name 'AspNetCore' does not exist in 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 Articledotnet pack command does not generate .nuget packages for tests and spec...
We have a solution with mutiple projects that includes projects with unit and spec tests. When we run dotnet pack command on the solution the packages donot get generated for the unit and spec test...
View ArticleTargeting multiple .NET Framework versions in a nuspec file
I have a Visual Studio solution with multiple projects. There is one single csproj for every version of .NET Framework (+ .NET Core) I want to support, and I want to keep it that way. They all generate...
View ArticleCorrect way to distribute NuGet package with floating version
I'm creating a NuGet package that depends on Xamarin.Forms. The package should work fine with any recent version of Forms, so I set it up like:<Project Sdk="Microsoft.NET.Sdk">...
View ArticleExtracting dll from nuget packet
I am using third party ide named IX Developer. It supports .Net Framework but I can only upload dll files seperately. I can't install nuget packet.Therefore, I want to extract all dll files inside of...
View Articlehow to use SqlBulkTools
I'm trying to update records in a DataBase from a .csv file, using SqlBulkTools (https://github.com/tiagorosendo/SqlBulkTools)in my web project I have <FileUpload> and an update <Button>,...
View Articlemsbuild and packages in Jenkins
I am trying to run MSBuild with command line and get packages from specific folder. The packages have been retrieved with Nuget to certain folder. I am trying to run msbuild command that will use the...
View ArticleHow to create NuGet package for AzureFunctions V2 to push to Octopus for...
I want to create a Nuget package of my Azure functions V2 project so that i can push it to octopus for deployment. But I am facing issues, Currently I am using dotnet pack <.csproj> to package my...
View ArticleHow are T4 and NuGet related?
Many posts I read point out that both T4 and NuGet packages automate the creation of base code and it is something worth learning how to do. So I am preparing to learn T4 coding first, after which I...
View ArticleAdd references Visual Studio 2010 (NuGet)
I am trying to use some references in Visual Studio, I have installed NuGet to use some libraries.Is there a way to use only part of the package installed with NuGet? For example, if I am using...
View ArticleDependencies specified in .nuspec file are not downloaded automatically
I've looked at related questions for this issue but none of them solve my issue. I have the following specified in my .nuspec file<dependencies> <group targetFramework="netstandard2.0">...
View ArticleI get a filenotfoundexception for a nuget package
I get a filenotfoundexception which sites MIcrosoft.Extensions.DependencyInjection v3.1.3. I have this precise nuget package installed and have uninstalled and reinstalled it. Why would I be getting...
View ArticleMicrosoft.AspNetCore.App 2.1.1 upgrade "Blocked by project"
I'm trying to upgrade a .net core 2.1 project to the latest version of Nuget packages such as Microsoft.Extensions.DependencyInjection.Abstractions 2.1.1.However this is blocked by the package...
View ArticleHow to add extern alias for three same namespace assemblies in .Net Core 2.2
By Referring below sample, I can able to alias two assemblies. But is this possible to alias three assemblies. if yes, please guide...
View ArticleHow to disabled "transitive package management" for a Visual Studio project
How do I disable "transitive package management"?I wish to do so, so that I can install a package that I "packed" locally and have in a .nupkg file. When I attempt to do so, I get a messaging stating...
View ArticleYour startup project 'project' doesn't reference...
I'm building WPF application with the EntityFrameworkCore version 2.2.2However, when i want to Add-Migration it output me an error...Your startup project 'project' doesn't reference...
View Article