Another Visual Studio Post

Another Visual Studio Post

Anonymous
Not applicable
755 Views
1 Reply
Message 1 of 2

Another Visual Studio Post

Anonymous
Not applicable

I apologize up front for another visual studio post, but I am not finding any answers in the searches I have made.  We are running into a fairly unique issue apparently and I am looking for any help in where to look for solutions at.

 

We have 2 developers running VS2010 and Autocad 2010 and Autocad 2011.  One of our developers is running in both releases fine.  He is able to attach a debugger using several methods.  The easiest method he has found was to include the required lines in the .config file found in the numerous posts here.

 

 

<startup useLegacyV2RuntimeActivationPolicy="true">
 <supportedRuntime version="v4.0"/>
 </startup>

 

<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup>

 

He has been working fine for a long time using this method.

 

Our second developer recently started and on an identically specced machine (win7 64-bit) he is running into issues with both releases of autocad.  In autocad 2010 he is able to debug with visual studio.  But that is the only way Autocad 2010 will run for him.  If he opens it standalone it gives him an error:

"unsupported version of windows presentation foundation" and stops the process.  We have sent crash reports when this happens.

When running autocad 2011 he can successfully start it standalone and run our plugin.  When he attempts to start a debug session, everything appears to run successfully at first.  He can run 1 command from our plugin, but when that command ends and ANY interaction with the interface causes a crash and all we get is a windows message saying the process has stopped responding.  The only options are to debug the process or close the program.

 

We can not recreate these issues on our other development machine so I believe they are some setting on the new one.  I am not sure what that setting could be though.  Any direction would be appreciated.  Let me know if I need to provide any more details.

0 Likes
756 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

We were able to get autocad 2010 to work successfully both in debug mode with VS2010 and running standalone by reinstalling and making sure the latest patches were installed.  We are still not able to get past autocad 2011 crashing during debugging with VS2010.

0 Likes