Problem building 11.1 for release

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 941
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Problem building 11.1 for release

Post by wjstarck » Fri Aug 26, 2011 3:15 am

Hello-

I can build and debug the head just fine, but when I try to change to 'release' mode I get the following error:

Error 18 Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. C:\Users\wjs\Desktop\ODVersions\opendental11.1b\opendental11.1\OpenDental\SGEN OpenDental

Googling for that error suggests that app.config needs to be manually edited, but this appears OK:

Code: Select all

    <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
Any ideas?
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
wjstarck
Posts: 941
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Problem building 11.1 for release

Post by wjstarck » Fri Aug 26, 2011 6:30 am

Update:

There is a workaround, which consists of turning 'Generate serialization assembly' from 'Auto' to 'Off'

in OpenDental > Properties > Build

Do you expect this might cause any problems?
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

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

Re: Problem building 11.1 for release

Post by jordansparks » Fri Aug 26, 2011 8:38 am

We already added those lines to the config file. Are you sure everything is building? Maybe clear out your obj folders.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
wjstarck
Posts: 941
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Problem building 11.1 for release

Post by wjstarck » Fri Aug 26, 2011 1:22 pm

I had emptied the obj folders to no avail. But maybe I had set 'Generate serialization assembly' to auto and forgot about it because I was having some serialization problems when I was working on unloadable plugins a few months back. Oh well, at least it's working now.

Thanks.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

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

Re: Problem building 11.1 for release

Post by jordansparks » Fri Aug 26, 2011 4:01 pm

Oh wait. My other programmers tell me 11.1 won't build. I guess I may have not actually tried it. I'll get back to you.
Jordan Sparks, DMD
http://www.opendental.com

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

Re: Problem building 11.1 for release

Post by jordansparks » Sat Aug 27, 2011 3:26 am

The issue has been resolved. You'll have to do a little work on your end. Details on the source code page.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
wjstarck
Posts: 941
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Problem building 11.1 for release

Post by wjstarck » Sat Sep 03, 2011 9:46 am

Ok, thanks.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
drtech
Posts: 1653
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: Problem building 11.1 for release

Post by drtech » Tue Oct 04, 2011 3:09 pm

see my other post....i still can't get it to work
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

Post Reply