Cannot compile source code version 22_1 on visual studio
-
- Posts: 12
- Joined: Sun May 12, 2024 4:49 pm
Cannot compile source code version 22_1 on visual studio
Hello there, I'm sincerely new to open dental, nevertheless, I read on how to compile it using visual studio. I selected the SLN file, and tried building the openDental project first on release or debug mode. But it fails on the process. I gradually added the missing references, but lastly says 'You must add a reference to assembly, WMPLib, Version = 1.0.0.0, culture= neutral, publicToken = null. Im stuck at this step. Anyone knows what to do ?
-
- Posts: 12
- Joined: Sun May 12, 2024 4:49 pm
Re: Cannot compile source code version 22_1 on visual studio
I checked that I had several wanings for cpu mismatch, though I tried compiling it with x86 option, but this error appears now, Tooth does not contain a definition for GetToothLabelGraphic.
Re: Cannot compile source code version 22_1 on visual studio
Branch 22_1 compiled just fine for me. Also, OpenDentBusiness.Tooth.GetToothLabelGraphic() seems to be in place:
https://github.com/OpenDental/opendenta ... th.cs#L195
https://github.com/OpenDental/opendenta ... th.cs#L195
The best thing about a boolean is even if you are wrong, you are only off by a bit.
Jason Salmon
Open Dental Software
http://www.opendental.com
Jason Salmon
Open Dental Software
http://www.opendental.com
-
- Posts: 12
- Joined: Sun May 12, 2024 4:49 pm
Re: Cannot compile source code version 22_1 on visual studio
Does the version of visual studio has to do with the results of the compiling ?
Im not sure if Im doing it correctly, all I do is opening the sln file with visual, then try to compile it on the different on debug or release for the x86 version. Then adding the missing dll files, but nothing happens.
Im not sure if Im doing it correctly, all I do is opening the sln file with visual, then try to compile it on the different on debug or release for the x86 version. Then adding the missing dll files, but nothing happens.
Re: Cannot compile source code version 22_1 on visual studio
It can indeed; Heed the Build section of our Source Code page:
Side note: using a version of Visual Studio higher than 2019 should work for 22_1. For example, I'm using Visual Studio 2022.IDE - Use Visual Studio 2019 on MS Windows computers.
- (there are some versions around 17 and 18 that use VS 2017)
- Open Dental versions 15.3 and greater, use Visual Studio 2012 or 2015.
- Open Dental versions 12.4 to 15.2, use Visual Studio 2012.
- Open Dental versions 7.4 to 12.3, use Visual Studio 2010.
- Open Dental versions 7.3 and earlier, use Visual Studio 2008.
The best thing about a boolean is even if you are wrong, you are only off by a bit.
Jason Salmon
Open Dental Software
http://www.opendental.com
Jason Salmon
Open Dental Software
http://www.opendental.com
-
- Posts: 12
- Joined: Sun May 12, 2024 4:49 pm
Re: Cannot compile source code version 22_1 on visual studio
I compiled it on debug mode, and it worked like a charm, thanks for your help brother


