visual-studio-2019

How to get terminal window inside Visual Studio 2017 / 2019?

╄→尐↘猪︶ㄣ 提交于 2020-02-01 02:22:30
问题 I was just reading this article - https://devblogs.microsoft.com/dotnet/visual-studio-2019-net-productivity-2/ and noticed in one of the GIF image, she is showing a terminal window inside VS editor itself. It looks like a fully fledged powershell window. How can we get that? Here is a screenshot. 回答1: How can we get that? The Terminal Window in the video seems to comes from a VS extension Whack Whack Terminal. You can download and install it in your vs2017. (Note:For vs2017, it should be

I am missing the Add new item Add “MFC Class From Typelib” in VS-2019

会有一股神秘感。 提交于 2020-01-30 05:41:10
问题 I have all MFC stuff installed foe my VS-2019 Porfessional. I miss the Add New Item "MFC Class From Tyspelib" used in former version to create a simple IDispatch wrapper. I checked everything and I installed the same stuff like in VS-2017. I see this in my VS-2017 version. What did I miss? 回答1: Many Wizards, including that, have been removed from the VS2019. The release notes say: Deprecations - Visual Studio 2019 The following C++ ATL/MFC wizards are no longer available: ATL COM+ 1.0

Browser Link not refreshing page in Chrome

狂风中的少年 提交于 2020-01-25 06:52:27
问题 I am following this documentation to enable Browser Link and set up a new Blazor project (targeting .NET Core 3 ) using the provided template (running Visual Studio 16.3.9, which is latest as of writing). As mentioned in the documentation I have installed the nuget package Microsoft.VisualStudio.Web.BrowserLink and added the middleware to my Startup.cs public class Startup // ... public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if (env.IsDevelopment()) { app

VS2019 ASP.NET MVC “Cannot navigate to the symbol under caret”

走远了吗. 提交于 2020-01-24 22:22:21
问题 When opening an existing ASP.NET MVC project inside Visual Studio 2019 I keep receiving this error message "Cannot navigate to the symbol under caret" when trying to "Go To Definition" (F12). 回答1: None of the other answers on here for "Cannot navigate to the symbol under caret" solved my issue until I found this solution from the visual studio developer community. Here is the link and bellow is the solution from the post: https://developercommunity.visualstudio.com/content/problem/505489

Detect Setting from Visual Studio Custom Extension

橙三吉。 提交于 2020-01-24 12:45:22
问题 I am updating an existing Visual Studio extension to be compatible with Visual Studio 2019. This extension allows devs to create a custom project type. When users click Visual Studio's "Create" button to create a new project of this custom type, the extension shows a custom form to retrieve certain info from the dev before the extension creates the project. This is accomplished from within a Wizard class library specified in the vstemplate of my extension: <WizardExtension> <Assembly>..

How to turn off double quotes auto-completion in Visual Studio 2019 for C++ editor?

孤街醉人 提交于 2020-01-24 04:05:29
问题 After updating to version 16.1 of Visual Studio 2019, the code editor for C++ completes double quotation characters. When I type one double quote " it automatically completes it as "". How to turn this feature off? I tried to look into settings, but could not find in C++ Editors settings or All Languages settings. Update: it actually only completes when I type wide string literal starting with L. For example, when I type L" it auto-completes it to L"" Update 2: it happens for some .cpp files

Visual Studio debugger doesn't display std::string properly in debug

落爺英雄遲暮 提交于 2020-01-23 07:50:30
问题 Me and my team are having an issue with Visual Studio displaying gibberish instead of proper string contents when I pause my program. The string inside has correct data, it's just that the debugger of VS gets lost somehow. I marked the correct contents in green, incorrect in red. You can see that the std::string defined as const std::string testStdString = "contents of std::string"; Displays as "\bÄĎD\x19" in debug hover and watch window. But the C-string from .c_str() displays fine. Console

Visual Studio debugger doesn't display std::string properly in debug

拈花ヽ惹草 提交于 2020-01-23 07:50:20
问题 Me and my team are having an issue with Visual Studio displaying gibberish instead of proper string contents when I pause my program. The string inside has correct data, it's just that the debugger of VS gets lost somehow. I marked the correct contents in green, incorrect in red. You can see that the std::string defined as const std::string testStdString = "contents of std::string"; Displays as "\bÄĎD\x19" in debug hover and watch window. But the C-string from .c_str() displays fine. Console

How to set Project Linking in VS2019

五迷三道 提交于 2020-01-22 02:14:11
问题 I basically got the same error as this post from 3 years ago: Xamarin Android Build Failed "Invalid value for outputAssembly" but I don't understand the solution and was looking for help. After not changing any code in my master branch, today in VS2019 and Xamarin.Forms 4.4.0.991477, I went to build my app in android, when I got this error obj\Debug\...\Appname.Droid.dll is an invalid value for the "OutputAssembly" parameter of the "Csc" task. Multiple items cannot be passed into a parameter

CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file

淺唱寂寞╮ 提交于 2020-01-16 13:46:55
问题 net migrating from java in selfstudy mode.(visual studio 2019 community & SqlServer 2017 64bit community edition installed). I was following the instructions on this tutorial link When I executed the step of initial migration step I encountered this error when i run update-database I'm encountering this error. I know its related to database access/ configuration problem I'd really appreciate the correct way to provide it to Package Manager Console. I've added the allow service to interact