G
Guest
Hi All,
We are doing development using remote login to distanced development
machines. As our profile is local, when we want to do build in the remote
machine, it takes long time. So in .NET 1.1 we used to switch off the CAS and
do the build. It used to be very much faster. Now, we've upgraded our systems
to .NET 2.0. When we try to build with CAS off, the build is breaking. I've
captured two errors,
Error1:
RegAsm : error RA0000 : Type library exporter encountered an error while
processing 'TradeActivity.IActivityResults.get_Test(#0), TradeActivity'.
Error: Type library exporter cannot load type 'Syste
m.Data.DataSet' (error: System.IO.FileLoadException: Unverifiable code
failed policy check. (Exception from HRESULT: 0x80131402)).
Error2:
Target UnmanagedRegistration:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2720,9):
error MSB3212: The assembly "C:\Program Files\MDAFactory.dll" could not be
converted to a type library. Type library exporter encountered an error while
processing 'MDAFactory.StartBatchFetch2(#0), MDAFactory'. Error: Type library
exporter cannot load type 'System.Data.DataTable' (error:
System.IO.FileLoadException: Unverifiable code failed policy check.
(Exception from HRESULT: 0x80131402)).
Btw, we are using nant script to build. Any idea, how we can resolve this
issue?
Thanks in advance.
Regards,
Chester
We are doing development using remote login to distanced development
machines. As our profile is local, when we want to do build in the remote
machine, it takes long time. So in .NET 1.1 we used to switch off the CAS and
do the build. It used to be very much faster. Now, we've upgraded our systems
to .NET 2.0. When we try to build with CAS off, the build is breaking. I've
captured two errors,
Error1:
RegAsm : error RA0000 : Type library exporter encountered an error while
processing 'TradeActivity.IActivityResults.get_Test(#0), TradeActivity'.
Error: Type library exporter cannot load type 'Syste
m.Data.DataSet' (error: System.IO.FileLoadException: Unverifiable code
failed policy check. (Exception from HRESULT: 0x80131402)).
Error2:
Target UnmanagedRegistration:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2720,9):
error MSB3212: The assembly "C:\Program Files\MDAFactory.dll" could not be
converted to a type library. Type library exporter encountered an error while
processing 'MDAFactory.StartBatchFetch2(#0), MDAFactory'. Error: Type library
exporter cannot load type 'System.Data.DataTable' (error:
System.IO.FileLoadException: Unverifiable code failed policy check.
(Exception from HRESULT: 0x80131402)).
Btw, we are using nant script to build. Any idea, how we can resolve this
issue?
Thanks in advance.
Regards,
Chester