Can I use Visual Studio 2010 to debug .net programs with bcad v15?
I am seeing some odd issues that do not happen with the same code using autocad 2015.
I set a breakpoint in my c# code for a modal dialog callback, like button1_clicked... and it acts like its not there.
Breakpoints outside the form code work fine, but the ones in the form code like form_load and others are not honored.
The code in the form does run though, I can do messagebox.show("did something") and they all trigger, so i know the code is running.
Just thinking maybe I need VS2012 or something, as you are supposed to use that with 2015, but I get around by referencing the 2014 assemblies for the moment...
Comments
-
Visual Studio 2013 is free: https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx0
-
reading:
https://www.visualstudio.com/en-us/products/visual-studio-community-vs
The community edition is only legal for businesses with less than 250 pc's or makes less than a million a year.
We have 70 billable people at $125 and hour so 18 million a year. we do not qualify, nor will most civil engineering firms in my area.
Wish I could though.
0 -
reading:
https://www.visualstudio.com/en-us/products/visual-studio-community-vs
The community edition is only legal for businesses with less than 250 pc's or makes less than a million a year.
We have 70 billable people at $125 and hour so 18 million a year. we do not qualify, nor will most civil engineering firms in my area.
Wish I could though.
Free for contributing to open source projects. So provided you made your source code available you can.
Regards, Jason Bourhill CAD Concepts0 -
I guess I would use the express version if I could not buy full.
I only use a few features of the full version too, like quickwatch while debugging.
0 -
update on this.
I did switch to visual studio express 2013. It has the quickwatch and other features I had in full version 2010.
You do need it to deal with acad 2015 and above, and likely bcad api as they are .net 4.5 based.
Stoked though, no more waiting for IT dept to order next VS update, thanks Microsoft!
0 -
To debug BricsCAD in form code, try setting useLegacyV2RuntimeActivationPolicy="false" in your bricscad.exe.config file (make a backup copy of the file before editing). While WellKnownCAD 2015 is 4.5 I believe BricsCAD is 4.0 (details below).
' ...\BrxMgd.dll
' BrxMgd, Version=19.1.5520.21439, Culture=neutral, PublicKeyToken=null
' Architecture: AnyCPU (64-bit preferred)
' This assembly contains unmanaged code.
' Runtime: .NET 4.00 -
yah, that worked. you are right on the .net version. thx0
-
I want AcBrBrep API for bricscad ,and want to learn .BRX code which is a appropriate platform.0
-
abu,
use VS 2013 express, desktop edition.
to learn the API, use the adesk forums, here is one post:
http://forums.autodesk.com/t5/objectarx/brep-quot-tutorial-quot/td-p/2191575?nobounce=
0