Unable to run VS Extensibility samples with VS 2022 - visual-studio-2022

I am trying to run the latest VS Extensibility samples from https://github.com/microsoft/VSExtensibility. I do have the mentioned prerequisites installed however none of the examples seem to run. The VS experimental instance opens up on running the project, I do see the new menu option but clicking on it does nothing. The break point is also not hit. Any help would be appreciated.

Related

Problem installing quick.db in npm for discord bot in discord.js

-> I got this error while trying to install quick.db:
https://pastebin.com/qHwyUxPe
I tried the troubleshooting on the documents:
https://github.com/JoshuaWise/better-sqlite3/blob/master/docs/troubleshooting.md
I found some similar questions and follow the steps, but it still didn't solve the problems.
The debug logs: https://pastebin.com/BfJBdAQZ
Also I got no idea how did Python get involved in there (I use JS), maybe that's because I'm a beginner and I have no idea what I put inside the code :\
Node Version: v17.0.1
Node gyp Version: v8.2.0
The logs you shared all seem to indicate that Visual Studio is not installed. Can you please verify that it is?
Note: It is important to notice the distinction between Visual Studio and Visual Studio Code. Despite the fact they have similar names, they are very different products and have different support for extensions/plugins. Visual Studio Code has a blue logo and functions exclusively as a code editor, while Visual Studio Code has a purple logo (images not attached because I don't have permission, but you can Google around) and functions as a complete IDE with integration into other Microsoft products.
Plugins/extensions that work in Visual Studio will not always work in Visual Studio Code, and vice versa. It is important to ensure you are using the right one.

Github Visual Studio Extension indentations don't work for VB.NET

I'm new to programming and just recently started using Github to work on my code with other people. I have installed the Github extension onto Visual Studio 2017 and now every time I press enter it moves me to either a random line or doesn' work at all. Also, the debugger now takes a long time to process and give me errors. I am currently running on Windows 10 with the latest version of VS.

Restart a visual studio project

I am using MS Visual Studio 2010 to run an application. The application is being run from the project for various reasons. At one point I need to restart the program as it is done exactly by this button .
I searched around for batch file code but I found none to undertake this task also tried the Application.restart but no luck so far. Can you help me?

Web Test recorder does not allow me to record a test IE11 windows 7

I am trying to record a Web Performance Test using the Web Test Recorder 12.00 plugin that comes with VS 2013.
This is what I get when the toolbar opens:
As you can see the buttons are greyed out and disabled.
I have followed this work around, but without any luck.
Are there any restrictions for this tool?
Is that a known issue?
I have disabled the Web Test Recorder Helper Add-on and restarted IE, and enabled Add-on again. And it worked for me.
I'm brand new to performance testing, and ran into the same problem using VS 2015, Win 7, IE11. The culprit in my case was an IE11 add-on called "Office Document Cache Handler". Microsoft was the one that created the add-on (which I find rather frustrating), but hopefully this helps someone down the road.
This is a known issue. Been around for years. Unfortunately, Microsoft has no sure fire method to resolve it.
I am currently having this issue and would really like to find a supported solution, as I will not be shelling out the big bucks for 2013 Ultimate with this issue stopping me from using it for web load testing.
Issues with this have been under discussion on msdn since at least 2007: http://blogs.msdn.com/b/mtaute/archive/2007/11/09/diagnosing-and-fixing-web-test-recorder-bar-issues.aspx
3rd party edit
The link above contains different "fixes" depending on the OS and the VS version. The version 2013 was not mentioned. But to include at least some information the following quotes are extracts from Michael Taute (MSFT) post:
VSTS 2005: Vista:
Recorder bar displays, but the controls are disabled.
Fix: Webtest recording using VS 2005 on Vista only works when running in
elevated mode. [When launching VS 2005, right click the icon and choose to
run as administrator]
or
VSTS 2005, 2008: Windows 2003/Vista:
Recorder bar comes up, but the controls are disabled.
Fix: the web test recorder bar does not work with IE enhanced security
enabled. (VSTS 2008 will actually display an error message telling you
this) IE enhanced security can be removed from within the Control
panel / Add Remove Programs / Windows Setup
or
VSTS 2005, 2008, 2010 Beta 1: Windows 7:
When launching the recorder, the recorder bar does not appear
Fix: The Windows 7 security model is slightly different than previous
versions of windows. (go figure :)
To get the recorder to show up, you’ll have to run Visual Studio
in elevated mode.
I've got TWO addons:
Microsoft Web Test Recorder 12.0 Helper (Publisher = "Microsoft Corporation")
Web Test Recorder 12.0 (Publisher = "Not Available")
Both of them should be enabled, otherwise recorder toolbar is grayed out or not displayed at all. I'm running Windows 10 and VS 2013 update 5.
Instead of adding 'WebAndLoadTestProject' to existing solution, Start with new solution as given in below steps.
Open Visual studio in 'Run As Administration' mode
Create new project -> Test -> add 'Web performance And Load Test Project'.WebAndLoadTestProject
This opens IE browser with record button enabled state.

Visual Basic executable running in native mode, but not when starting from debugger

I have some big problems with my new environment and I think related to managed vs native code.
After my harddrive crashed I installed Visual Studio 2010 on a Windows 8 (which is new to me) and used backups of my Visual Basic .NET code files.
My issue is that the standalone debug executable crashes (with error code 0xc0000409) without me being able to see my source code ('No native symbols in symbol file'). It turns out it is running in native mode (Process: [140] myApp.exe: Native), which I did not think Visual Basic ever did.
When debugging from the GUI I have symbols and, to my surprise, it finds two MyApp.exe in the modules list, one native and one managed.
Some more details, I use ODBC, build for x86, and use .NET 4 client profile. As my project settings are similar or identical with my pre-crash setup I think the configuration problem is in my environment/OS, but I cannot find it after days of searching.
Can I make my standalone executable file execute in managed mode so I can debug it with symbols when it crashes? I have been able to do this for years with my old setup.
Any tips or hints would be very much appreciated.