VS 2017 extension with javascript/nodejs - visual-studio-2017

Is it possible to develop a Visual Studio 2017 extension with JavaScript or nodeJs?
I already have a VSCode extension and want to reuse my code (see marketplace.visualstudio.com/items?itemName=JaimeOlivares.yuml)
If so, is there any code sample?

Related

Does Visual Studio 2019 have a form designer for c++?

Before deciding to download Visual Studio 2019, I just wanted to know whether a visual form designer is available that generates c++ code.
If not, does anyone know of an easy to use development environment that does?
Thanks.

Open a vdproj file with VS Community 2017?

I retrieved a C++ VS project from 2011 and it has a Install-win32.vdproj I guess it has to be the file I need to open in order to build the project.
Unfortunately Visual Studio 2017 seems not to recognize this kind of file. Is there any ways to interpret it or convert it?
For VS2017, use the Microsoft Visual Studio Installer Projects. Download link is below. Be sure to close Visual Studio before running the installer:
https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjects

Install Visual Studio 2015 extension on 2017

Recently, my team has upgraded to Visual Studio 2017 from 2015. It's been great so far (even disabled ReSharper to see how it goes), but I'm just missing one thing.
This extension that makes it possible to attach the debugger with a single click or hotkey. The extension only is available for 2015, but is there a way to force-install it on 2017? I've tried Googling but couldn't find any results.
Yes, I know VS2017 has an option to re-attach to the last process, but in my case there are multiple w3wp.exe processes and attaching to the right one is a hassle.
An extension created for VS 2015 uses assemblies that are available on VS 2017, either directly or through binding redirects of devenv.exe.config on folder Common7\IDE of VS 2017, so that part is not a problem. The opposite, to make an extension created for VS 2017 to run on VS 2015 would be more problematic.
The problem for VS 2017 comes from the new contents of the VSIX file (a VSIX file is actually a .zip file so you can rename it to .zip for inspection):
Two new .json files (catalog.json and manifest.json)
A extension.vsixmanifest that uses "version 3" instead of "version 2". Everything is the same than in "version 2" (included the version 2.0.0.0) but it needs a new section that must declare at least a prerequisite of the core editor of VS 2017:
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,16.0)" DisplayName="Visual Studio core editor" />
</Prerequisites>
To create all that by hand can be done, but the easiest way would be to build the source code on VS 2017 with the latest VSSDK 15.x NuGet package.
See my post It’s time to change the VSIX manifest of your extension to v3 for Visual Studio 2017 compatibility

Word (Office) Automation Visual Studio 2013 C++

I have to make a program which can operate with Word documents (edit, view, create) and use C++ with Visual Studio 2013.
I have searched the net and found out VSTO is only available for Visual Basic and C#.
On the Microsoft site there is "How to create an automation project using MFC and a type library" here but seems it is written for very old versions of Visual Studio (like 5.0 and 6.0). When I reach the ninth step "Select the Automation tab." it seems there is no such tab in ClassWizzard in my version of Visual Studio.
Is there any way to perform automation with C++ in newer versions of Visual Studio like 2013?
I found a way here. Actually I am using the "import" method and it worked for me in console mode(COM method also worked, but it seems to me more complicated), I haven`t tested it for GUI yet. There is not C++ documentation, but can be used Visual Basic API with a bit thinking here.

Cannot open include file 'afxwin.h':no such header fileor directory in vs 2013 c++

So,I am trying to port some old code to newer version of vs so I imported the sln of the project into my vs 2013 and I get this error and some others and I have gone through some of the other questions on this forum.So I understand that this has something to do with MFC(microsoft foundation classes) but all of them talk about vs 2010 express edition which doesn't include MFC module.I am currently using vs 2013 community edition which is supposed to have full feature access of vs.Still I get this error so please help!!
Thanks!
While installing Visual Studio 2013, you need to select the MFC option: