visual-studio-2017

A product matching the following parameters cannot be found during VS Installation

不羁的心 提交于 2021-01-21 04:10:23
问题 I've tried all the solution available at StackOverflow and VS developer community but I'm unable to resolve the error saying. A product matching the following parameters cannot be found: channelId: VisualStudio.15.Release productId: Microsoft.VisualStudio.Product.Community Here are the solutions that I've tried. tried deleting the VS folder in Program Files tried running InstallCleanup.exe -i with cmd (as administrator) tried running InstallCleanup.exe -f with cmd (as administrator) tried

Cannot install Visual Studio 2017 community edition after sudden shutdown

冷暖自知 提交于 2021-01-04 08:39:25
问题 I started installing VS and then my computer turned off suddenly (due to overheating). When I was reinstalling it, an error message appeared saying: Can't install in a non empty folder. So I deleted the folder C:\Program Files (x86)\Microsoft Visual Studio\2017\community Then, when I tried to install it, it failed. This is the log: [2a18:0008][2017-06-09T09:08:50] Error 0x80004003: at Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance() at Microsoft.VisualStudio.Setup.Cache

Visual Studio 2017 Extension Development

余生颓废 提交于 2021-01-04 06:13:23
问题 Hi I want to upgrade my extension to visual studio 2017 but I got Microsoft.VisualStudio.Shell.RegistrationAttribute error, but I have been already added this reference?I got this error in compile time. Is there any reference to be added or else? Any comment about that? D:\Visual Studio 2017\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.Immutable.10.0.dll ,version :10.0.0.0 My Error is Severity Code Description Project File Line Suppression State Error

Visual Studio 2017 Extension Development

无人久伴 提交于 2021-01-04 06:13:19
问题 Hi I want to upgrade my extension to visual studio 2017 but I got Microsoft.VisualStudio.Shell.RegistrationAttribute error, but I have been already added this reference?I got this error in compile time. Is there any reference to be added or else? Any comment about that? D:\Visual Studio 2017\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.Immutable.10.0.dll ,version :10.0.0.0 My Error is Severity Code Description Project File Line Suppression State Error

Visual Studio 2017 Extension Development

醉酒当歌 提交于 2021-01-04 06:10:52
问题 Hi I want to upgrade my extension to visual studio 2017 but I got Microsoft.VisualStudio.Shell.RegistrationAttribute error, but I have been already added this reference?I got this error in compile time. Is there any reference to be added or else? Any comment about that? D:\Visual Studio 2017\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.Immutable.10.0.dll ,version :10.0.0.0 My Error is Severity Code Description Project File Line Suppression State Error

Visual Studio 2017 Extension Development

自古美人都是妖i 提交于 2021-01-04 06:10:25
问题 Hi I want to upgrade my extension to visual studio 2017 but I got Microsoft.VisualStudio.Shell.RegistrationAttribute error, but I have been already added this reference?I got this error in compile time. Is there any reference to be added or else? Any comment about that? D:\Visual Studio 2017\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.Immutable.10.0.dll ,version :10.0.0.0 My Error is Severity Code Description Project File Line Suppression State Error

VS2017 nuget package files treated as link instead of actual file

三世轮回 提交于 2021-01-04 05:57:31
问题 I am trying to create a nuget using the csproj file. My files are copied, but my log4net.config (and others) are treated as a link when the nuget package is imported by another project. These files are also not copied to the target directory on build. (see the blue icon in the screenshot below) My cs project contains the following code. <ItemGroup> <Content Include="contentFiles/**/*.*;log4net.config" copyToOutput="true"> <IncludeInPackage>true</IncludeInPackage> <CopyToOutput>true<

How to include pre-release packages with MSBuild restore target

自闭症网瘾萝莉.ら 提交于 2021-01-03 05:34:24
问题 This question is specific to MSBuild 15.1+ (Visual Studio 2017) and to PackageReference , which is the new way Nuget is fully integrated within MSBuild . In my continuous integration script, I've got something like: MSBuild.exe /t:Restore MySolution.sln /p:RestoreConfigFile=NuGet.config One of the csproj file contains: <PackageReference Include="MyPackageA"> <Version>1.2.*</Version> </PackageReference> MyPackageA is an internal package and I would like nuget to resolve the reference to the

VS 2017 Doesn't Implicitly Convert const char* to char* [duplicate]

Deadly 提交于 2021-01-02 07:00:35
问题 This question already has an answer here : Conversion from string literal to char* is deprecated (1 answer) Closed 2 years ago . I recently installed VS 2017, and have ran into a weird sort of issue. Basically, I cannot use hard-coded strings without explicitly casting them to (char*). If I said something like Function("test") , it would simply throw an error stating that const char* is incompatible with char*. I really don't want to stick with VS 2015 :(. Anybody know how to make VS

What does the .dtbcache file do?

与世无争的帅哥 提交于 2021-01-02 04:55:30
问题 I have a C# WinForms project, which I am working on in Visual Studio 2017 (although it was originally created in the 2015 version). I don't recall having done anything special, but it has added a file called .dtbcache , that it wants to add to git. The file has no extension, and a Google search doesn't show any results. The file is located in ..\repos\myprject\.vs\MyProject\DesignTimeBuild . Which means that the "dtb" part of the file name probably means d esign t ime b uild, but that doesn't