Author Topic: Execution Analyser under Windows 7  (Read 3757 times)

philchudley

  • EA User
  • **
  • Posts: 713
  • Karma: +19/-0
  • UML/EA Principal Consultant / Trainer
    • View Profile
Execution Analyser under Windows 7
« on: May 26, 2011, 10:27:21 pm »
Hi All,

I have a demo example in EA to show the creation of a sequence diagram from executing a C# .net application.

This worked fine until my laptop was upgraded to windows 7

Upon trying the demo for the first time today (I don't use it very often)

The following error message occured

Running build script - Northwind Employees      
C:\Projects\Northwind Application Test>"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com /build Debug Northwind Application Test.sln"      
The directory name is invalid.      
C:\Projects\Northwind Application Test Build completed with exit code 1
     

I am guessing EA is complaining about Program Files (x86), which is path to Visual Studio in Windows 7, it worked fine with Program Files

Any suggestions guys?

Cheers
follow me on Twitter

@SparxEAGuru

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 7897
  • Karma: +109/-20
    • View Profile
Re: Execution Analyser under Windows 7
« Reply #1 on: May 27, 2011, 08:35:03 am »
My suggestion would be to add two quote characters.

"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com" /build Debug "Northwind Application Test.sln"

I'm not sure why the behavior would be different on Windows 7 though.
Eve

support@sparxsystems.com


Daniel Siegl

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: Execution Analyser under Windows 7
« Reply #3 on: May 27, 2011, 06:28:00 pm »
Hello,

you need to be a little carefull because of x64

Quote
As I am running an x64 setup I have to make sure the .net .dll’s are compiled for x86 – therefore we need to enhance the command line from before a little bit.

%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe Accounts.sln /Target:Rebuild /Property:Config=Debug;Platform=x86

Quote
Now we can configure Nunit to run with Enterprise Architect – be careful in defining the x86 versions of the tools so it will work on x64 computers.

“C:\Program Files (x86)\NUnit 2.5.7\bin\net-2.0\nunit-console-x86.exe” AccountsTest\bin\x86\Debug\AccountsTest.dll

philchudley

  • EA User
  • **
  • Posts: 713
  • Karma: +19/-0
  • UML/EA Principal Consultant / Trainer
    • View Profile
Re: Execution Analyser under Windows 7
« Reply #4 on: May 27, 2011, 08:13:09 pm »
Thanks guys, all sorted now
follow me on Twitter

@SparxEAGuru