VS Code Microsoft Edge Developer tools not found - visual-studio-code

I was very eager to try out the Microsoft Edge Developer Tools Plugin for VS Code...
I installed the extension, and when I went to launch it VSCode gives the error message:
"Microsoft Edge could not be found. Ensure you have installed Microsoft Edge and that you have selected 'default' or the appropriate version of Microsoft Edge in the extension settings panel."
I do have 'default' selected. And have tried searching around for a solution.
No luck yet... I'd appreciate any advice... thanks!

I'd recommend providing more information about the issue you're experiencing so others can test and try to replicate it. There are multiple Microsoft Edge tools in the VS Code Marketplace, so providing a link to the one you're trying to use is advisable. Additionally, it's helpful to provide the version of MS Edge and VS Code you currently have installed.
That said, assuming you're trying to use Microsoft Edge Tools for VS Code, the documentation says, "This extension only supports Microsoft Edge (version greater than 80.0.361.48)".
Thus, I'd recommend you start troubleshooting by making sure both your Microsoft Edge and VS Code are updated to the most recent versions.
If that doesn't fix the issue, please provide more details about your setup - potentially including screenshots - that can help to diagnose the issue.

Related

MAUI with Visual Studio 2019 and Visual Studio 2022

I have downloaded these maui projects, and I cannot get even one to compile with Visual Studio 2022. Should I be using the older Vs 2019? I also installed .NET6 and MAUI.
https://github.com/dotnet/maui
Whenever you use "Guinea Pig" software, most often the issues you face are all about plumbing. That is to say that numerous problems arise from incompatibilities in the underlying components and the fact that all are changing rapidly. As of today, VS 2022 Preview 3 is available. That doesn't mean MAUI going to to work without updating most of the required pieces.
Even check-maui itself needs to be updated. Then any/all SDKs and each of the required workloads of which some are both difficult to find. You're going to have to invest significant time with the docs to get it up and running and remember, you'll need to do this a additional pieces become available.
The team has indicated that in future previews they will connect all the pieces but for now it is buyer beware.
.net Maui is now supported in both vs22 and vs19. also, you can check if u are missing any packages or other issues using dotnet-maui-check

Problems with Word Add-in After MS Office Update to version 13628.20274

I have problems with my Word Add-in. It doen't work.
After some investigation I figured out that this issue apears after Office update.
I mean in elder versions of MS Word was used Internet Explorer. But after update the engine is Microsoft Edge Legacy. Also I now that now exists new Microsoft Edge based on Chromium.
So the question is next, is there a way to make my MS Word use Microsoft Edge based on Chromium instead of Microsoft Edge Legacy?
In addition:
in my research I depends on data from this link:
https://learn.microsoft.com/ru-ru/office/dev/add-ins/concepts/browsers-used-by-office-web-add-ins
Also tried to install WebView2 but it doen't help.
Current Version of MD Office: 13628.20274
Current Version of Word: 16.0.13628.20234
Will be grateful for any information related to my issue.
Thank in advance and have a nice day))
Check your Office installation. Build 13628.20274 is a release in the Current/Monthly Channel but is from January 2021. With this build the WebView2 control should be included and installed automatically. But, as you are several months behind the usual update schedule, your administrator might have put some restriction in place that prevent normal update installation.
As you installed the WebView2 control manually, you should double check that it is enabled in Office. The registry key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\WEF\Win32WebView2 must exist and must have a value of 1 (DWORD).

Multi-threaded Debugging in Visual Studio Code

I've been working on a Powershell script that was handed to me. Never having dealt with powershell scritps before, I have a lot to learn. I have been using Visual Studio Code to run/debug it up until this point. It has been working well however, I'm running into an issue in a particular area that deals with multiple threads. I am unable to pause the Powershell script on specific breakpoints.
After looking all over the past couple of days and it seems that threading is something that can be worked on within Visual Studio. I downloaded Visual Studio Community 2019 and have tried to install the "Powershell Tools for Visual Studio" suite. According to the package manager, it has installed without issue. However, I am unable to create a Powershell project (which I should be able to do) and I cannot see it within the extension manager in Visual Studio 2019. To make sure it wasn't an error on my part, I've attempted the installation several different times and with different methods.
I've also looked at Windows built-in Powershell ISE for debugging but run into the same issue that Visual Studio Code has. This is rendering me unable to properly debug in the specific spots that I need to looking at. I have used Write-Host throughout most of the script however, as this is a script that was handed to me, I'd much rather be able to pause and look at all variables in a given state without having to print them all.
Is there any way to easily debug multi-threaded apps within Visual Studio Code? If there isn't, what would be some recommendations besides adding Write-Host,Write-Debug or similar cmdlets.
You are confusing tools and use case and this is due to your misunderstanding of PowerShell and the tools to deal with that, and that would be expected if you've never done this before.
If you have no PowerShell experience, its best to get ramped up first. Jumping into a tool for a language you've never used or understand is not prudent. Jump on Youtube and search for 'Beginning PowerShell' and view some of those before moving any further.
This is not a PowerShell code issue, which is what we are here to help with.
Your question is 'How do I configure VSCode and/or Visual Studio for Powershell development?, and thus off-topic for StackOverflow, and more a question for SuperUsers or StackExchange.
How do I ask a good question? - Help Center - Stack Overflow
Yet since you are here and I use this addon, let me provide some edification.
VSCode has an extension from Microsoft for PowerShell development, but that is just the Microsoft PowerShell extension.
The PowerShell Pro Tools for Visual Studio /VSCode is not a free tool and not from Microsoft. You have to pay for it to enable all
its features. You only need one copy/license of PowerShell Pro Tools
to use in Visual Studio/VSCode.
PowerShell Pro Tools Suite
https://ironmansoftware.com/powershell-pro-tools
PowerShell Pro Tools
PowerShell Pro Tools adds script packaging, a Windows Form Designer,
code conversion and a Universal Dashboard previewer to VS Code.
PowerShell Pro Tools provides Visual Studio integration through
the PowerShell Tools for Visual Studio. The Visual Studio integration
provides the following features. Packaging as executables including
command line utilities and services Windows Forms Designer WPF
Designer Integration Code Conversion
You can view how to use the tool buy view the docs from Ironman software the author of the product or on Youtube. Just search for it.
'powershell pro tools for VSCode'
'powershell pro tools for vscode projects'
'powershell pro tools for Visual Studio'
'powershell pro tools for visual studio projects'
I know this is relatively old, but it is worth noting if this shows in future search results. What VSCode can do, vs what you can do with PowerShell in VSCode.
I have done multithread in C# with VS Code debugging, but I am not aware of a good process for this in PowerShell. I assume that this is a question of support by the extension, but also the complication, of the various ways that PowerShell avoids or hides literal threading.
PowerShell abstracts async different than other languages.
Jobs can be threads, or process
Events may trigger and queue into the primary thread
Runspaces are whole environments on another thread, which can interact with each other.
Someone may be able to give a better summary on these, but "It is complicated"
I've decided the answer to this is no...
It should be as easy as put the breakpoint, hit the breakpoint, until ms supports this, its way behind any other decent scripting language. I'm thinking to unthread my application to make my life easier which is pretty sad state of affairs. Might try spinning up full visual studio to see if its better first.

Windows Media Player Plugin Development in Windows 10 (Visual Studio 2019)

I'm looking to create a very simple UI plugin for Windows Media Player, similar to this: https://obsproject.com/forum/resources/windows-media-player-title-artist-text-output-ticker.402/, but with the ability to choose the path and name of the text file.
I haven't been able to find any answers to WMP Plugin development questions on here since 2013, and the last actual answer give was for Visual Studio 2008. I'm now using Visual Studio 2019, so almost all of the tutorials, guides, and FAQs are massively out of date.
I've been following the setup guide here: https://learn.microsoft.com/en-us/previous-versions//aa969437(v=vs.85)?redirectedfrom=MSDN
After a few hours, I've finally been able to install the Windows 7.1 SDK by deleting all my C++ 2010 redistributables, and temporarily rolling back my .NET Framework 4 version to RTM. I now have wmpwiz.ico, wmpwiz.vsdir, and wmpwiz.vsz.
The interal version of VS2019 is 16.0, so I've edited my wmpwiz.vsz file to read:
VSWIZARD 7.0
Wizard=VsWizard.16.0
Param="WIZARD_NAME = Windows Media Player Plug-in Wizard"
Param="ABSOLUTE_PATH = C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\WMP\Wizards\wmpwiz"
Param="FALLBACK_LCID = 1033"
and I've placed the three files into %UserProfile%\Documents\Visual Studio 2019\Templates\ProjectTemplates\Visual C++ Project\, but nothing shows up in the Start New Project window.
Obviously, I'm using technology that hasn't been touched for over a decade, so I don't know if this approach will even work anymore. Are there any modern guides on how to do this, or would it be quicker and easier to try to dig out my old VS2005 install disks, and hope they're not too scratched?
If this SDK Sample has been depreciated with age, are there any other wizards available that can be used for WMP plugin development? Preferably using C#, as I'm a .NET programmer, but I'm happy to trawl through C++ if I absolutely have to.
Thanks for any help you can give.

Getting started with Microsoft Robotics Developer Studio and it's tutorials and examples

I am a newbie in using Microsoft Robotics Developer studio and I want to make an advanced line follower using Microsoft Robotics Developer studio and it's simulator. Can anyone tell me how can I do this setup and a sample program to check my simulator? Right now I have downloaded and installed robotics developer studio on my laptop but I am not getting how shall I use it to see the simulation. And I also need some examples and tutorials on it. I searched on it but I am not getting good materials on it. Can anyone help me with this?
There is a line follower sample refenced here
http://www.microsoft.com/robotics/#Learn
also check out http://www.helloapps.net
I can help you with a list with simulation tutorials for Robotics Developer Studio