Hi,
ms1:
I have a desktop application (an exe) which is written in Dotnet Programming Language. I want to add this application to Bentley Microstation as a Plugin.
What modification have to be done depends how tight the integration should be. At least you have to modify your code so the application will inherit AddIn class and will reference appropriate dlls. If you want to the application will behave the same way as MicroStation tools, more modification and also new code will be required.
You can download MicroStation SDK and check dotNet examples included in the installation. The default rule is you should use the same version of SDK as is your MicroStation installation, but NET addins are a special case and the same code works fine in different version, so you can learn from these examples despite of it's newer than your V8 XM Edition.
ms1:
Please note : I have Microstation PowerDraft XM Edition installed in my computer.
You are not consistent in your information: At first you asked how to write the application for MicroStation and later you changed it to MicroStation PowerDraft. MicroStation and MicroStation PowerDraft are two different products with different restrictions applied.
- MicroStation is open product and you can use any from available APIs to create own application.
- MicroStation PowerDraft is intended for drafting and as such has some limitations, including locked option to start 3rd applications. Conseqently it means you cannot load normal NET addin application into MicroStation PowerDraft. If you want to do it, you have to ask Bentley for password, which is used by the application to unlock PowerDraft. This option is the benefit of BDN program membership.
With regards,
Jan