BDS 2006 Debugger and .Net 2.0 compatibility
Olaf Monien just blogged about an issue that could effectively block debugging of managed apps in BDS 2006 if you at any time installed one of the earlier beta versions of the .Net 2.0 framework.
I imagine this could affect Delphi 2005 as well.
Check out Olaf’s blog entry for more info and for the workaround that he and Vincent Parrett came up with.
Share This | Email this page to a friend
Posted by Chris Hesik on December 8th, 2005 under CodeGear Debugger |

RSS Feed

December 8th, 2005 at 10:14 am
Another workaround would be to create /modify a .config file for the executable which looked something like the following:
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>
<requiredRuntime version="v1.1.4322"/>
</startup>
</configuration>
This should force the use of runtime 1.1 without the registry changes.
December 8th, 2005 at 10:16 am
did I mention the .config file must be named rmtdbg100.exe.config and should be in the same directory as the executable?
December 8th, 2005 at 10:37 am
Well, I did not try your suggestion, but actually I doubt that it would help. The point is *not* that we could not debug becuase .NET 2.0 *RTM* was installled, but that an *early* .NET 2.0 beta had left overs. Both entries you have to fix are about that older 2.0 version - the current release version of .NET 2.0 is not touched.
This .NET 2.0 compatibility issue will most likely hit all who had this early 2.0 beta installed.
Regards,
Olaf