Xenocode Postbuild 2008 for .NET - Support

von Code Systems - Produkttyp: Anwendung

Forum

Xenocode Postbuild naveen.dhaka [India] 29-Sep-2008 09:07:45

Hi,

I embed .net framework 3.0 using postbuild. To solve a particular issue, I have embedded System.Data.dll from .Net2/0 SP1 into file system using postbuild as below:
<Directory Name="GAC_32" Behavior="Merge" Hide="False">
<Directory Name="System.Data" Behavior="Merge" Hide="False">
<Directory Name="2.0.0.0__b77a5c561934e089" Behavior="Merge" Hide="False">
<File Name="System.Data.dll" Behavior="Override" Hide="False" Source=".\lib\System.Data.dll" />
</Directory>
</Directory>
</Directory>

I works well on XP and vista, but on one vista machine I get the problem "System.IO.FileLoadException: Could not load file or assembly 'System.Data, .....' or one of its dependencies. This application has failed to start because the appliccation configuration is incorrect. Reinstalling the application may fix this problem"

Can anybody help to solve this?
Antworten


Produkt-Suche

Suchbegriffe eingeben: