OpenDental 7.1 - Unable to compile

This forum is for programmers who have questions about the source code.
Post Reply
dalekdude
Posts: 1
Joined: Sun Jul 11, 2010 6:46 pm

OpenDental 7.1 - Unable to compile

Post by dalekdude » Mon Jul 12, 2010 10:46 pm

I am unable to compile OpenDental 7.1

Error:
Error 2 The name 'CDT' does not exist in the current context C:\{My Path}\UnitTests\DatabaseTools.cs 57 37 UnitTests

There is a comment in the code:
//Yes, this will be broken if not on a specially configured development machine.

Could somreone please indicate where information on the special configuration is.
I haven't been able to find it anywhere and I do not know what to do from here.

alkhaef
Posts: 105
Joined: Fri Jul 02, 2010 10:37 am
Location: Los Angeles, CA

Re: OpenDental 7.1 - Unable to compile

Post by alkhaef » Tue Jul 13, 2010 10:19 am

Hi.

I recall having the same problem initially, and following the steps in http://www.opendental.com/manual/programmersrefs.html solved it.

Best regards,
Al
Help! I've OD'ed on OD! :)

User avatar
jordansparks
Site Admin
Posts: 5770
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: OpenDental 7.1 - Unable to compile

Post by jordansparks » Tue Jul 13, 2010 3:22 pm

That same location is better documented in the head. It now says:
//IF THIS LINE CRASHES:
//Go to Solution, Configuration Manager. Exclude UnitTest project from build.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply