start external program

start external program

Anonymous
Not applicable
572 Views
1 Reply
Message 1 of 2

start external program

Anonymous
Not applicable

I'm starting to learn Revit AIP, but while I'm doing lesson1 there is an error "There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "RevitAPIUI", "AMD64". 

and I got a solution to change platform target from Any CPU to x64. however when i click start, it doesnt  start external program which is" C:\Program Files\Autodesk\Revit 2018\Revit.exe". im using student version Revit 2018 and 2017 visual studio.  it show up like the pic but they are just gone.fgsdfh.png

 

0 Likes
Accepted solutions (1)
573 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk
Accepted solution

Welcome to the Revit API!

 

Glad to have you here.

 

The message you mention is not an error, just a warning.

 

You can ignore it.

 

Personally, I prefer zero warnings, so I implemented a little utility to fix that:

 

http://thebuildingcoder.typepad.com/blog/2013/07/recursively-disable-architecture-mismatch-warning.h...

  

https://github.com/jeremytammik/DisableMismatchWarning

 

Please work through the getting started material before asking any further questions:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#2

 

Thank you!

 

Good luck and lots of fun getting started with the Revit API.

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder