Debugging project in solution

Category: visual studio diagnostics

Question

RPB_1 on Thu, 05 Feb 2015 21:06:14


I have a solution with 9 projects, the application compiles with no errors; when I run the startup project which calls a property in another project in the solution; I will get the following error

System.TypeInitializationException was unhandled
  Message=The type initializer for 'ADP.PSI.TaxServices.BusinessProcess.TaxConfig' threw an exception.
  Source=ADP.PSI.TaxServices
  TypeName=ADP.PSI.TaxServices.BusinessProcess.TaxConfig
  StackTrace:
       at ADP.PSI.TaxServices.BusinessProcess.TaxConfig.get_TaxAssembly()
       at ADP.PSI.Form1..ctor() in C:\Users\barronr\Documents\Visual Studio 2010\Projects\ADPToFile\ADPToFile\ADPFile\Form1.cs:line 60
       at ADP.PSI.Program.Main() in C:\Users\barronr\Documents\Visual Studio 2010\Projects\ADPToFile\ADPToFile\ADPFile\Program.cs:line 18
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Threading.ThreadAbortException
       Message=Exception of type 'System.Threading.ThreadAbortException' was thrown.
       InnerException:

When I try to examine the property I get

The method 'get_TaxAssembly' has already timed out once and will not be evaluated automatically.

The project does reference the dll; there are current pdb for the dll are in the project folder; not sure why i am getting this error

Replies

Carl Cai on Fri, 06 Feb 2015 10:59:06


Hello,

Based on the exception type, it seems this issue is a development issue, I would recommend you consider posting this issue in development forums based on your application type to get supports.

C#

VB.net

Regards,

Carl