Visual Studio Express 2010

Visual Studio Express 2010

Anonymous
Not applicable
1,785 Views
6 Replies
Message 1 of 7

Visual Studio Express 2010

Anonymous
Not applicable

I have upgrated from Visual Studio Express 2008 to Express 2010. After this update I can't debug my dll.

Usually I follow this:

1) from VS launch debug (F5)

2) from Autocad load the dll with NETLOAD and run command

 

At this point if I set breakpoint, the debug don't pause to this line.

Any idea? with Express 2008 all work fine

 

Stefano

0 Likes
1,786 Views
6 Replies
Replies (6)
Message 2 of 7

chiefbraincloud
Collaborator
Collaborator

This post on Through the Interface should help.

 

http://through-the-interface.typepad.com/through_the_interface/2010/04/hitting-breakpoints-in-net-cl...

Dave O.                                                                  Sig-Logos32.png
0 Likes
Message 3 of 7

Anonymous
Not applicable

Thnathank you,  I have try this solution but don't work....

0 Likes
Message 4 of 7

Anonymous
Not applicable

Are you loading the release version instead of the debug version?

0 Likes
Message 5 of 7

Anonymous
Not applicable

Hi

 

I have the same issue: breakpoints don't work when debugging in VS 2010. I have my framework set on 3.5 (otherwise it wouldn't work with ACAD 2011 at all).

I also read the article at http://through-the-interface.typepad.com/through_the_interface/2010/04/hitting-breakpoints-in-net-cl...

but those solutions don't work for me.

 

Have you ever solved this problem, scarta? ...or can anybody else give an advice in this regard?

 

Thanx,

Matej

0 Likes
Message 6 of 7

Anonymous
Not applicable

I also have no working solution, its soooo fustraiting,

 

Need an update to MS VS 2010.

0 Likes
Message 7 of 7

Anonymous
Not applicable

In order to have AutoCAD started from within Visual Studio 2008 i had to add these lines:

 

        ..\Visual Studio 2008\Projects\ClassLibrary2\ClassLibrary2\ClassLibrary2.vbproj.user
        Add:


        <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
          <PropertyGroup>
            <ProjectView>ShowAllFiles</ProjectView>
          </PropertyGroup>
          <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
            <StartAction>Program</StartAction>
            <StartProgram>C:\Program Files\AutoCAD ...\acad.exe</StartProgram>
            <StartWorkingDirectory>C:\Program Files\AutoCAD ...\</StartWorkingDirectory>
          </PropertyGroup>
          <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
            <StartWorkingDirectory>C:\Program Files\AutoCAD ...\</StartWorkingDirectory>
          </PropertyGroup>
        </Project>    

 

I do not have the express version of 10 anymore so i cannot test this for you.

 

 

0 Likes