Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Tad Anderson on March 19, 2016, 06:36:49 am

Title: Visual Studio MDG Integration for Visual Studio 2015
Post by: Tad Anderson on March 19, 2016, 06:36:49 am
When can we expect to see Visual Studio MDG Integration for Visual Studio 2015?  We are about to kick off a new project and would like to use it for linking with TFS Work Items.
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: nikita.govorov on September 08, 2016, 07:55:26 pm
Hi EA Team!

Can we get an update on the topic? Another thing I would like to ask are there any feasible plans to support C# 6 in Code Engineering?

Thanks.
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: Geert Bellekens on September 08, 2016, 08:02:49 pm
As it happens I asked support the same question only yesterday.

I'll update this topic when I get an answer.

Geert
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: nikita.govorov on September 08, 2016, 08:12:35 pm
Thanks Geert!
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: Eve on September 09, 2016, 08:10:22 am
No update on MDG Integration for Visual Studio 2015, but C# 6 support is in EA 13.
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: nikita.govorov on September 10, 2016, 02:25:46 pm
Hi Simon,

Thanks for the update.

Regarding to C# 6 support, I tried to generate a model from a simple C# 6 solution using Enterprise Architect Beta 1 and got the parsing errors on the following lines:

Code: [Select]
        private static readonly string url = $"path/v{version}/win-x{(Environment.Is64BitOperatingSystem ? "64" : "86")}/{exeFileName}";

Something wrong with support of string interpolation.

Code: [Select]
using static System.Diagnostics.SourceLevels;

Something wrong with support of importing static class.

I'll try to run EA 13 Beta 1 on one of my big .net solutions on Monday to see if I can catch anything else.
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: malachi on October 25, 2016, 10:15:29 pm
Hello All,

"using static" still seems to be an issue and I have not found another work-around (other than change all my classes to not use static).

Am I missing something, has there been an update?

I am using version 13.

Thanks, all the best!
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: Geert Bellekens on December 10, 2016, 01:47:48 am
For those looking to synchronize workitems between EA and VS 2015 I have some good news.
I just released a new add-in that uses the TFS REST API to synchronize workitems between TFS and EA

http://bellekens.com/ea-tfs-connector/ (http://bellekens.com/ea-tfs-connector/)

Please let me know if this works for you..

Geert
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: exiled78 on February 13, 2017, 01:00:26 am
For me I am having trouble with the above connector. The hardcoded "DefaultCollection/" in the path is causing me trouble as our TFS does not seem to use this path. More info here: https://github.com/GeertBellekens/Enterprise-Architect-Add-in-Framework/pull/7/commits/7a7ee1d084b5ffef1aae9f48b9b2e969d3715e5a
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: Geert Bellekens on February 14, 2017, 05:32:24 pm
Hi

Thanks for taking the time to look into the code and send in a pull request.
I'm currently in the middle of something, but I'll try merge your changes later this week.

Geert
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: Geert Bellekens on February 15, 2017, 05:48:43 pm
I just merged the pull request, and updated the project to make it more standard.

The settings now include the default collection, and the settings windows allows you to edit the setting in a user friendly way.

I haven't yet released this version (I plan a new release later this week), but if you update your fork of both the EA Addin Framework as the EA toolpack repositories you should see the updates in the code.

Commits:
 
https://github.com/GeertBellekens/Enterprise-Architect-Add-in-Framework/commit/aabd6e6f1aeddedd19b17d2ce02e2f1c1b73faef
https://github.com/GeertBellekens/Enterprise-Architect-Toolpack/commit/f22f983920c6b809a2112cd85fd9de1b36bb1552

Geert
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: t.besorna on May 01, 2017, 06:57:01 pm
Hi Geert,

I'm using EA-13.0.1310 together with TFS-2015-Express and VS-2015-Community, all running on a Windows-10 (Creators Update) virtual machine.

I was downloading your EA Toolpack from your store at 27/04/2017 (Order #6097) and installed the "Download 1: EA Toolpack setup (from v13.0.1308)". Setup works fine.

But the EA TFS Connector is not able to synchronize with TFS (both directions)! Only showing of websites works fine.

Is there an "old" version within your store? Do you include your changes talking about above into the store version?
Title: Re: Visual Studio MDG Integration for Visual Studio 2015
Post by: Geert Bellekens on May 02, 2017, 02:03:50 pm
Hi Thomas,

The version on the website should include the option I mentioned, but there might be another issue preventing it from working in your specific setup and environment.
I wrote this add-in for a specific client in a specific setting and setup, and it works fine for them.

If you want we can work together to figure out what is going wrong and what we can do to fix it, but I can't do that for free (I have to feed my 4 children somehow ;))
So if you are serious about this and want it to get fixed you can contact me on [email protected] and we can work something out.

Geert