Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cbb

Pages: [1]
1
No. When adding the references, they are selected from the filesystem. I found out that it only does not work when running the application from within Visual Studio. More or less solved.

2
Some years ago, I developed a C# application to process data from an Enterprise Architect Project. I used that quite a long time flawlessly in a customer project. I think it was EA 14 at that time.
Then other projects with other tool chains came and I skipped some EA versions. Until now. So I wanted to reactivate my good old tool chain and installed the current EA Version (Corporate Licence).

But with the EA version 16.1.1628 the interaction between my C# application and EA does no longer work. I have no idea why.

The call repository = SparxSystems.Services.GetRepository(selectedProcess.Id) always returns null and the console output is "Failed to obtain Repository interface" which is a message directly from the GetRepository() Function.
The process id used is correct and Interop.EA.dll and SparxSystems.Repository are added as reference in the Visual Studio Project.

Strangely, access to EA works without problems with python. But no chance with C#.

Has anyone an idea what could cause this problem?

Pages: [1]