Visio Guy

Visio Discussions => Programming & Code => Topic started by: Visisthebest on October 30, 2018, 04:12:17 PM

Title: Making Visio Addins possible with free Visual Studio Code/Community versions?
Post by: Visisthebest on October 30, 2018, 04:12:17 PM
Is it possible to develop and compile Visio Addins with the free Visual Studio Code/Community versions?

Visual Studio Professional 2017 is pretty expensive compared to all the free high quality tools for JavaScript development out there, or is it possible to get it at a better price than over $1000?
Title: Re: Making Visio Addins possible with free Visual Studio Code/Community versions?
Post by: Paul Herber on October 30, 2018, 04:29:26 PM
Hi, yes, very easy with the community edition. I wrote:

http://www.paulherber.co.uk/visio-utilities/ (http://www.paulherber.co.uk/visio-utilities/)

with this. I used to use Free Pascal with Lazarus to create Visio addons but the framework available was only for 32-bit Visio and had no API code beyond Visio 2000. However, the Lazarus option was just so much easier and faster. Ho hum

Title: Re: Making Visio Addins possible with free Visual Studio Code/Community versions?
Post by: Nikolay on October 30, 2018, 07:48:00 PM
Community Edition is identical to the Professional Edition (with only one pretty odd exception: Code Lens), as far as I know,
and "logical" licensing limitations - you can not use Community if your company has more than 5 developers.

VS Code, with Visio, is no-go for now.
Title: Re: Making Visio Addins possible with free Visual Studio Code/Community versions?
Post by: Paul Herber on October 30, 2018, 09:25:48 PM
Quote from: Nikolay on October 30, 2018, 07:48:00 PM
VS Code, with Visio, is no-go for now.

What do you mean "is no-go" ?
Title: Re: Making Visio Addins possible with free Visual Studio Code/Community versions?
Post by: Nikolay on October 30, 2018, 09:39:31 PM
I mean, VS Code it is cross-platform, and basically supports (only) cross-platform .NET Core, as far as I know..  No Automation (no COM), no Registry, no VSTO.
I am not sure if it is possible to create Visio extension using .NET Core at all (I think not)?
We don't have Visio for Linux yet, right? :)
Title: Re: Making Visio Addins possible with free Visual Studio Code/Community versions?
Post by: Yacine on October 31, 2018, 09:40:37 AM
Visual Studio 2017 Community (not VS Code) is free and allows to write VSTO addins.
https://visualstudio.microsoft.com/vs/community/?rr=https%3A%2F%2Fwww.google.de%2F

Title: Re: Making Visio Addins possible with free Visual Studio Code/Community versions?
Post by: Visisthebest on October 31, 2018, 02:03:16 PM
Paul, Nicolay & Yacine thank you so much, really grateful to Microsoft they provide so much with Visual Studio community edition for free for small development teams! vs pro is pretty expensive otherwise.