visual-studio-2017

Visual studio 2017 Verbose publish

▼魔方 西西 提交于 2021-01-27 07:01:28
问题 I'm attempting to publish a .Net-Core 2.0 project on visual studio 2017. When I publish everything builds fine the publish says success however no files are published. I've looked at a few questions about this and attempted the solution, switch from debug to release, etc. But nothing seems to work Connecting to ftps://fakeServer.GoDaddy.com:21... Restore completed in 97.58 ms for C:\source\MyProject.csproj. Restore completed in 73.07 ms for C:\source\MyDependency.csproj. C:\Program Files (x86

Do I need to add Async to my Controller Actions in Visual Studio 2017 ASP.NET Core MVC

天大地大妈咪最大 提交于 2021-01-27 05:24:49
问题 I just converted my Visual Studio 2015 ASP.NET MVC Core project to Visual Studio 2017...and I get the following Informational messages in my Error List Message IDE1006 Naming rule violation: Missing suffix: 'Async' This message occurs in my Controllers that focus on the following: public async Task<IActionResult> Index() This also applies to Create, Delete, Details and Edit. The messages show as Informational and applies to over 1,000 occurences in my project. It appears that I need to change

Where is Nuget 4 installed

无人久伴 提交于 2021-01-27 01:38:36
问题 Visual Studio 2017 comes with Nuget 4.0.0. However, it's not placed on the path. Where can I find the nuget executable to use the CLI? 回答1: Visual Studio 2017 doesn't use NuGet.exe but instead uses an extension of NuGet to achieve this. You should be able to find the extension in this path: C:\Program Files (x86)\Microsoft Visual Studio\2017\ <VSEdition> \Common7\IDE\CommonExtensions\Microsoft\NuGet ... where <VSEdition> is the version of Visual Studio being used, for example Community or

gulp integration in Visual Studio 2017 not working

亡梦爱人 提交于 2021-01-26 19:07:49
问题 I'm attempting to get gulp integration into Visual Studio 2017. It's working on the command line. The Task Runner Explorer in VS2017 is telling me Failed to load. See output window. The Output Window is telling me the following: Failed to run "<ProjectPath>\Gulpfile.js"... cmd.exe /c gulp --tasks-simple <ProjectPath>\node_modules\node-sass\lib\binding.js:15 throw new Error(errors.missingBinary()); ^ Error: Missing binding <ProjectPath>\node_modules\node-sass\vendor\win32-x64-47\binding.node

gulp integration in Visual Studio 2017 not working

不想你离开。 提交于 2021-01-26 19:04:56
问题 I'm attempting to get gulp integration into Visual Studio 2017. It's working on the command line. The Task Runner Explorer in VS2017 is telling me Failed to load. See output window. The Output Window is telling me the following: Failed to run "<ProjectPath>\Gulpfile.js"... cmd.exe /c gulp --tasks-simple <ProjectPath>\node_modules\node-sass\lib\binding.js:15 throw new Error(errors.missingBinary()); ^ Error: Missing binding <ProjectPath>\node_modules\node-sass\vendor\win32-x64-47\binding.node

How to change tab with enter key for autocomplete?

ぐ巨炮叔叔 提交于 2021-01-22 09:43:22
问题 Using VS2017 in C++ app. I found the intellisense only outline the word and I have to press on tab key for autocomplete while pressing on Enter does not autocomplete the word and start a new line so is there an option to use Enter instead of Tab ? 回答1: Goto => Tools >> Options >> Text Editor >> C/C++ >> Advanced >> IntelliSense Change => Member List Commit Aggressive to True 来源: https://stackoverflow.com/questions/50540093/how-to-change-tab-with-enter-key-for-autocomplete

How to change tab with enter key for autocomplete?

六眼飞鱼酱① 提交于 2021-01-22 09:43:11
问题 Using VS2017 in C++ app. I found the intellisense only outline the word and I have to press on tab key for autocomplete while pressing on Enter does not autocomplete the word and start a new line so is there an option to use Enter instead of Tab ? 回答1: Goto => Tools >> Options >> Text Editor >> C/C++ >> Advanced >> IntelliSense Change => Member List Commit Aggressive to True 来源: https://stackoverflow.com/questions/50540093/how-to-change-tab-with-enter-key-for-autocomplete

gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1

旧街凉风 提交于 2021-01-21 10:27:11
问题 I used the command truffle unbox react to build a dapp. It is just the initial step of my dapp development. However, it sucks. It continually pops up gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1 this error. I've already google this error. Therefore, I set my python default version at 2.7 and install visual studio 2015 and visual studio 2017. Also I've reinstall node-gyp and npm

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

这一生的挚爱 提交于 2021-01-21 04:14:38
问题 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

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

旧城冷巷雨未停 提交于 2021-01-21 04:10:53
问题 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