Click here to Skip to main content
15,889,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had one source code having 25 projects in single solution. It is consisting of both c++ as well as C# project. But now i wanted to call one of C# project(which is of windows application type) calls from a separate test project. I created a separate c# project and added the source reference, and created a object of source code class. it is building fine. but at the time of execution, it is throwing "The type initializer for '' threw an exception" exception. Please give me suggestion to resolve this issue.

Thanks in advance
Posted

Did you first look through here - The type initializer for '' threw an exception[^]?
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900