Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/froque/vsixinteropformstoolkit
Command tool to generate interop wrapper classes.
https://github.com/froque/vsixinteropformstoolkit
com forms interop visual-studio visual-studio-extension vsix winforms
Last synced: 10 days ago
JSON representation
Command tool to generate interop wrapper classes.
- Host: GitHub
- URL: https://github.com/froque/vsixinteropformstoolkit
- Owner: froque
- Created: 2016-05-16T15:06:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-26T20:21:54.000Z (12 months ago)
- Last Synced: 2024-10-08T13:17:12.781Z (29 days ago)
- Topics: com, forms, interop, visual-studio, visual-studio-extension, vsix, winforms
- Language: HTML
- Homepage: http://froque.github.io/VSIXInteropFormsToolkit/
- Size: 3.38 MB
- Stars: 5
- Watchers: 5
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VSIXInteropFormsToolkit
Visual Studio extension, with command tool to generate interop wrapper classes. adapted from add-in.[![Build Status](https://froque.visualstudio.com/VSIXInteropFormsToolkit/_apis/build/status/VSIXInteropFormsToolkit-.NET%20Desktop-CI?branchName=master)](https://froque.visualstudio.com/VSIXInteropFormsToolkit/_build/latest?definitionId=1&branchName=master)
* [VSIXInteropFormsToolkit in Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=filiperoque.VSIXInteropFormsToolkit)
See:
* [VB6 - C# Interop Form Toolkit](http://www.codeproject.com/Articles/15690/VB-C-Interop-Form-Toolkit)
* [Interop Forms Toolkit 2.0 Tutorial](http://www.codeproject.com/Articles/18954/Interop-Forms-Toolkit-Tutorial)
* [Microsoft InteropForms Toolkit 2.1](https://www.microsoft.com/en-us/download/details.aspx?id=3264)
* [Interop Forms Toolkit for C#](https://interoptoolkitcs.codeplex.com) (also imported to https://github.com/froque/interoptoolkitcs)
* [Similar extension in Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=MiguelLe.MicrosoftInteropFormToolsInteropFormProxyGenerator) ([source code](https://github.com/hurcane/Microsoft.InteropFormTools.InteropFormProxyGenerator))### Microsoft InteropForms Toolkit 2.1 Documentation
* [Microsoft InteropForms Toolkit 2.1 Online Documentation](http://froque.github.io/VSIXInteropFormsToolkit/)
### 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
* Update a Visual Studio extension](https://learn.microsoft.com/en-us/visualstudio/extensibility/how-to-update-a-visual-studio-extension?view=vs-2022)
* edit version in source.extension.vsixmanifest
* compile project
* upload .vsix file to [Visual Studio Marketplace](https://visualstudiogallery.msdn.microsoft.com/)
## 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"