You do not have permission to access the IIS configuration file – Web app error

I was able to solve this issue doing the following: 1- Go to C:\Windows\System32\inetsrv and double click on directory config and accept the warning message. 2- Go to C:\Windows\System32\inetsrv\config directory and double click on directory Export and accept the warning message. Then you will be able to run the app in your local IIS without … Read more

Connect to Git repository with SSH using Visual Studio 2017

I finally managed to make it work, using PuTTY’s Pageant authentication agent instead of ssh-agent, and following the steps mentioned here (it’s for Visual Studio Code, but works for Visual Studio 2017 and I guess it should work for any application that uses the “official” Git for Windows). Since I already had Pageant installed and … Read more

How do you add additional files to a NuGet package in Visual Studio 2017?

I have now changed my project file again, so it now reads: <Project Sdk=”Microsoft.NET.Sdk”> <PropertyGroup> <TargetFramework>net45</TargetFramework> <GeneratePackageOnBuild>True</GeneratePackageOnBuild> <Authors>Nikki Locke</Authors> <Company>Trumphurst Ltd</Company> <Description>Easy to use web server for building web apps that use sql databases generated from c# classes</Description> <Copyright>2017 Trumphurst Ltd.</Copyright> <PackageProjectUrl>https://github.com/nikkilocke/CodeFirstWebFramework</PackageProjectUrl> <RepositoryUrl>https://github.com/nikkilocke/CodeFirstWebFramework</RepositoryUrl> <RepositoryType>Github</RepositoryType> <PackageTags>C# SQL Code First Web Server</PackageTags> </PropertyGroup> <ItemGroup> <PackageReference Include=”Markdig” Version=”0.12.1″ … Read more

Unable to update visual studio installer

The initial solution I found was to reinstall Visual Studio but felt that it might be unnecessary. The solution I found was to close down Visual Studio, go to C:\Program Files (x86)\Microsoft Visual Studio\Installer and rename the folder “Installer” to something else, then run vs_installer.exe from the renamed folder. Hope that helps someone.

Change NuGet package folders used by Visual Studio

UPD 2024: standalone nuget commands replaced with dotnet nuget CLI. The information provided is relevant for VS2022 and .NET 8. Cache locations Solution-local packages folders are no longer used by .NET Core and Visual Studio. The command to list user-specific folders is: dotnet nuget locals all –list And its typical output (I’ve replaced absolute paths … Read more

VS2017 Could not load file or assembly Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll or one of its dependencies

I had a similar issue (with the additional message The “BuildShadowTask” task failed unexpectedly) with a project originally developed with VS2010, and got to spend the last few hours learning about yet another legacy facet of the build process. There is a good chance that you are dealing with private accessor files (.accessor), which were … Read more

Using C# 7.1 with MSBuild

Nuget packages Microsoft.Net.Compilers nuget package does not work and needn’t to be installed. Set the following project/build settings Set at least C# 7.1 or higher in the Debug and Release build properties. (via: Project menu > [ProjectName] Properties > Build tab > [Advanced] button > Language Version). Setting it to latest does not work. Also … Read more

techhipbettruvabetnorabahisbahis forumueduseduedueduedueduseduedueduedus