You are correct. It is failing when I do tlbexp. So I've created a simple
project with a class, which has a public method returns DataTable. When I try
processing 'TlbExport.TlbExport.GetTable(#0), TlbExport'. Error: Type library
System.IO.FileLoadException: Unverifiable code failed policy check.
settings. But I couldn't figure out anything.
"Steven Cheng[MSFT]" wrote:
> Hello Chester,
>
> From your description, you originally build your application with CAS
> turning off to improve performance, however, when you tried this in
> building a .NET 2.0 solution, you encountered some errors, correct?
>
> From the error message, it seems the error occured when the build is
> processing some COM interop objects (generate TLBexp output). Are you
> exposing some managed classes to COM? I've just performed some research and
> haven't found any exact matched cases in the internal database. For general
> troubleshooting, I would suggest you try create a simple build script which
> simply do the tlbexp or related task only to see whether the same problems
> remains. If so, we can isolate the issue to a small scope for further
> research.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
>
> ==================================================
>
> Get notification to my posts through email? Please refer to
>
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif > ications.
>
>
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
>
http://msdn.microsoft.com/subscriptions/support/default.aspx. >
> ==================================================
>
>
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>