Saturday, November 04, 2006

Running the BDS 2006 IDE against MS.NET 2.0

Hello,

now before you all get hyped, first the disclaimer: RUN AT OWN RISK, YOU CAN DESTROY YOUR BDS SETUP WHEN NOT FOLLOWING THIS INFO TO THE LETTER!

A week ago a friend of mine told me, that he has his IDE running against the MS.NET 2.0 framework, rather than the MS.NET 1.1 framework. And thanks to a much better J# implementation Togehter runs much smoother, less memory consumption, faster reaction times, etc... Sounds great? Well, it is great!

Now, where is the drawback? Simple, it will only work for Delphi Win32 and C++ Builder. Do not attempt to use those steps against the full BDS or any of the .NET personalities. With high possibility you will destroy your whole BDS installation and with some luck your Windows setup as well. Not scared, then read on!

Copy your $(BDS)\Bin\bds.exe and name the copy bds2.exe. Do the same with the bds.exe.config and name it bds2.exe.config. Open the bds2.config file and look for the node-entry configuration\startup. Change the value of the version attribute to version="v2.0.50727". Now, you have to have the MS.NET Framework installed, start the BDS2.EXE with the paramater -pDelphi for the Delphi Win32 personality and enjoy.

So far I have not hit any problems using that little feature, just more fun!

P.S.: I'll now start blogging more again, sorry for the long off-time.
-- Daniel

4 Comments:

Blogger gabr42 said...

It's hard to follow the instructions "to the letter" as they're wrong :(

Configuration file is not bds.config but bds.exe.config and it should be copied to bds2.exe.config.

5:39 PM  
Blogger Daniel "sakura" Wischnewski said...

Thanks, I corrected that. All my fault. So you shouldn't have gotten that done in the first place, now should you? *eg*

6:16 PM  
Anonymous Anonymous said...

Tried it here and three assemblies failed to load giving error messages instead. The StarTeam menu in the BDS 2006 Profession version was one of them.

12:40 AM  
Anonymous Anonymous said...

Where does one download MS.NET v2.0.50727?

I can only find the redistributable packages on the MS site.

10:22 PM  

Post a Comment

<< Home

Google
Search WWW Search delphi-notes.blogspot.com