Skip to content

froque/VSIXInteropFormsToolkit

Repository files navigation

VSIXInteropFormsToolkit

Visual Studio extension, with command tool to generate interop wrapper classes. adapted from add-in.

Build Status

See:

Microsoft InteropForms Toolkit 2.1 Documentation

Info

At present state this tool does not override files previously generated. When forms with unsupported parameter types are found, the initialize method will be generated with a parameter with the root type "Object".

Supported Environments

  • Visual Studio 2015
  • Visual Studio 2017
  • Visual Studio 2019
  • Visual Studio 2022

How to Debug

Open project properties

  • choose Debug
  • In Start Action
    • choose "Start external program"
    • and write path to visual studio. (Ex: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe)
  • On Command line arguments "/rootsuffix Exp"
  • Start application
  • Create project in newly opened VS window
  • Run tool

Upgrade

Compile from console

"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" /t:Restore "VSIXInteropFormsToolkit.sln"
"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" /t:Clean /p:Configuration=Release "VSIXInteropFormsToolkit.sln"
"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" /p:Configuration=Release /p:DeployExtension=false "VSIXInteropFormsToolkit.sln"