Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4070704
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:39:42+00:00 2026-05-20T16:39:42+00:00

The compiler failed with the following message: Unable to load one or more of

  • 0

The compiler failed with the following message:
“Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.”

I know this has something to do with serialization (as soon as I uncomment a method tagged with [OnSerialized] the build fails.

How can I inspect LoaderExceptions? Or more generally speaking how can I trap and inspect any exceptions thrown by c# compiler?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T16:39:42+00:00Added an answer on May 20, 2026 at 4:39 pm

    You could try running csc.exe under windbg.exe and inspect the managed exceptions getting thrown. If there’s a particular first chance exception that you need to break on, you can issue the sxe <exception> command. Then, load the sos.dll (.loadby sos.dll mscorwks) extension and inspect the exception getting thrown with !pe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The compiler doesn't know where stat.h is? Error: c:\Projects\ADC_HCI\mongoose.c(745) : error C2079: 'st' uses
On installing Ruby1.9.3 with RVM rvm install 1.9.3 , It show following message. The
Does anyone know what The C compiler cl is not able to compile a
I came across strange behavior in Visual Studio 2010 C++ compiler. Following code compiles
I just have upgraded to Xcode 4.4.1 and get the following error message when
I'd like to search all the places like following where the Anonymous types in
When I try compile with maven 3.0.4, Eclipse give me this error: Failed to
I have read this in order to compile NH spatial for Nhibernate 3.1 http://build-failed.blogspot.it/2012/02/nhibernate-spatial-part-2.html
I tried using make defconfig to compile the kernel, but as expected, it failed
My compiler expands it to 199711L. What does that mean? I read that __cplusplus

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.