Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Tools CL/BPR2MAK    [ Add a report in this area ]  
Report #:  28728   Status: Closed
bdsproj2mak does not work with .NET 2.0 installed
Project:  C++Builder Build #:  10.0.2287.36685
Version:    10.0 Submitted By:   Ulrik Sandstrom
Report Type:  Crash / Data loss / Total failure Date Reported:  5/3/2006 7:55:56 AM
Severity:    Critical / Show Stopper Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   240472
Resolution: Feature Removed (Resolution Comments) Resolved in Build: : 11.0.2646.5798
Duplicate of:  None
Voting and Rating
Overall Rating: (3 Total Ratings)
4.00 out of 5
Total Votes: 3
Description
If you have .NET framework 2.0 installed, bdsproj2mak returns the following error message:

OLE error 80131534, ClassID: {F8FEDD39-...}

No make file is generated.
Steps to Reproduce:
Install .Net 2.0 (if not already installed) [I did it by installing VS Express]

run bdsproj2mak on a BDS C++ project file.

note OLE error.
Workarounds
An even simpler workaround (and possible fix) is to add a bdsproj2mak.exe.config file to the same directory as bdsproj2mak (...\BDS\4.0\Bin) with the following content:
<?xml version="1.0"?>
<configuration>
  <startup>
    <requiredRuntime version="v1.1.4322" />
  </startup>
</configuration>

[posted to the newsgroups by Vladimir Ulchenko aka vavan]
Attachment
None
Comments

Nicola Musatti at 5/3/2006 2:09:55 PM -
The easiest way to reproduce this problem is probably to download VC++2005 Express and install it.

Jean-Claude Chauve at 5/23/2006 5:34:09 AM -
I succeed to make bdsproj2mak
which registry modifications

goto

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\AppPatch\v2.0.50727.00000\]

There are keys to force MS Framework 1.1 for certains applications

for bdsproj2mak i applied the following .reg
--------
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\AppPatch\v2.0.50727.00000\bdsproj2mak.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\AppPatch\v2.0.50727.00000\bdsproj2mak.exe\{2CCAA9FE-6884-4AF2-99DD-5217B94115DF}]
"Minimum File Version Number"="11.0.0.0"
"Maximum File Version Number"="11.0.9999.9999"
"Target Version"="v1.1.4322"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\AppPatch\v2.0.50727.00000\bdsproj2mak.exe\{2CCAA9FE-6884-4AF2-99DD-5217B94115DF}\Registry Keys]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\AppPatch\v2.0.50727.00000\bdsproj2mak.exe\{2CCAA9FE-6884-4AF2-99DD-5217B94115DF}\Registry Keys\{2CCAA9FE-6884-4AF2-99DD-5217B94115DF}]
"Key Presence"=dword:00000000
"Key Name"="HKEY_CLASSES_ROOT\\Interface\\{000C0601-0000-0000-C000-000000000046}"

------

Frode Nilsen at 6/29/2006 3:30:02 AM -
Didn't work for me, have v2.0.50215 (changing registry key to that didn't work either).

Frode Nilsen at 6/29/2006 3:37:01 AM -
Workaround:

create file bdsproj2mak.exe.config in folder where bdsproj2mak.exe is installed, with following contents

<?xml version="1.0"?>
<configuration>
  <startup>
    <requiredRuntime version="v1.1.4322" />
  </startup>
</configuration>

credits to Vladimir Ulchenko aka vavan

Dean Mills at 8/9/2006 2:10:01 PM -
This did nothing but change it from an OLE error to "Object reference not set to an instance of an object"

David Dean at 7/11/2006 8:54:44 AM -
This workaround worked perfectly for me.

Stephane Peneau at 10/24/2006 4:21:43 AM -
It is working for me under Windows 2000 but not under XP

Server Response from: ETNACODE01