Opening OpenDental.sln errors
Opening OpenDental.sln errors
I am getting the following error messages ->
error : The project file could not be loaded. Could not find a part of the path.. [for 3 files] below:
\Shared Projects Subversion\EHR\EHR_17_4\EHR\xEHR.csproj
\Shared Projects Subversion\OpenDentalHelp\OpenDentalHelp_17_4\OpenDentalHelp\OpenDentalHelp.csproj
\Shared Projects Subversion\CDT\CDT_17_4\xCDT.csproj
Am I supposed to have these? I thought all the source code and related project files should be downloaded in 1 folder via SVN checkout.
Regards,
sJ
error : The project file could not be loaded. Could not find a part of the path.. [for 3 files] below:
\Shared Projects Subversion\EHR\EHR_17_4\EHR\xEHR.csproj
\Shared Projects Subversion\OpenDentalHelp\OpenDentalHelp_17_4\OpenDentalHelp\OpenDentalHelp.csproj
\Shared Projects Subversion\CDT\CDT_17_4\xCDT.csproj
Am I supposed to have these? I thought all the source code and related project files should be downloaded in 1 folder via SVN checkout.
Regards,
sJ
Re: Opening OpenDental.sln errors
That's just fine that you don't have those projects. Those three projects are within our internal repository and we simply included them in our main solution so that we can see where they reference our open source code. You will still be able to compile Open Dental without these projects.
Re: Opening OpenDental.sln errors
Hi Chris,
Thanks for the timely response. I will try again... is there a specific way of compiling that you recommend that would be able to bypass these messages? I am using VS community right now.
Regards,
sJ
Thanks for the timely response. I will try again... is there a specific way of compiling that you recommend that would be able to bypass these messages? I am using VS community right now.
Regards,
sJ
Re: Opening OpenDental.sln errors
If you want to avoid the errors, you could just create three empty projects that have the same name and file path. But if it were me, I would just ignore the errors unless they cause any actual problems.
Re: Opening OpenDental.sln errors
I got one red error msg after building:
https://ibb.co/eOLiid
SigPlus library module needed? What about the yellow warnings?
https://ibb.co/eOLiid
SigPlus library module needed? What about the yellow warnings?
Re: Opening OpenDental.sln errors
There's an open bug job that we're working on concerning the SigPlusNet.dll not loading, but it occurs as a runtime exception. I would make sure that your target build platform is x86 (as opposed to Mixed Platforms or Any CPU). If that isn't it, you may need to install the Visual C++ Redistributable.
https://www.microsoft.com/en-us/downloa ... x?id=48145
The yellow warnings you can ignore. We've been doing the same for years.
https://www.microsoft.com/en-us/downloa ... x?id=48145
The yellow warnings you can ignore. We've been doing the same for years.

Re: Opening OpenDental.sln errors
I tried switching over to x86; still won't work. Also, Windows 10 won't allow me to install that link; says it's already installed w/ VS community.
The SigPlusNET.dll file, I checked, is clearly in the "Required dlls" folder...
The SigPlusNET.dll file, I checked, is clearly in the "Required dlls" folder...
Re: Opening OpenDental.sln errors
The "Error: Mixed mode assembly" section on this page might help you.
http://www.opendental.com/manual/sourcecode.html
Sometimes this error happens when the target framework is not compatible. We did upgrade to .NET 4.5.2 in v18.2 and up, maybe that's giving you grief for some reason. I would expect it to give us grief as well but I haven't heard anything about not being able to compile so far. You could try the v18.1 repository and see if that one builds for you to narrow down the problem.
http://www.opendental.com/manual/sourcecode.html
Sometimes this error happens when the target framework is not compatible. We did upgrade to .NET 4.5.2 in v18.2 and up, maybe that's giving you grief for some reason. I would expect it to give us grief as well but I haven't heard anything about not being able to compile so far. You could try the v18.1 repository and see if that one builds for you to narrow down the problem.
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
Re: Opening OpenDental.sln errors
Hi jSalmon,
Ok, I will try to download v18 and see if I have better luck compiling. It also says I need to download ASP.net into VS first so I will do that.
Ok, I will try to download v18 and see if I have better luck compiling. It also says I need to download ASP.net into VS first so I will do that.
Re: Opening OpenDental.sln errors
Strangely trying the 'debug mode' vs release mode yields no red errors 
Are the files that resulted from this build, outputted to the folder [\Open Dental 18\OpenDental\bin\Debug\] sufficient to replace or overwrite those in the default install c drive? If so, which ones should be replaced and which ones remain untouched from the default trial install?
Regards,
sJ

Are the files that resulted from this build, outputted to the folder [\Open Dental 18\OpenDental\bin\Debug\] sufficient to replace or overwrite those in the default install c drive? If so, which ones should be replaced and which ones remain untouched from the default trial install?
Regards,
sJ
Re: Opening OpenDental.sln errors
The results from the debug build are not safe to run when connecting to a database with live patient data. We put all sorts of things in the debug build to make our lives as developers easier that will cause the program to behave in strange ways.
Re: Opening OpenDental.sln errors
Thanks for letting me know Chris. I won't bother w/ the debug compile anymore.
Jsalmon, seems like the SGEN file is affected. Should I try to create that SGEN.exe.config as outlined in the directions you referred to?
I tried compiling in VS 2017 on a different computer and the same 1 red error popped up again for both OD 17 and 18.. good grief!
Jsalmon, seems like the SGEN file is affected. Should I try to create that SGEN.exe.config as outlined in the directions you referred to?
I tried compiling in VS 2017 on a different computer and the same 1 red error popped up again for both OD 17 and 18.. good grief!

Re: Opening OpenDental.sln errors
The entire purpose of the Build section at the bottom of that page is to help developers get past common build errors. I'd say it's a good idea to try it out. What have you got to lose?
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
Re: Opening OpenDental.sln errors
Tried creating an sgen.exe.config file and placed it in every folder where there is an sgen.exe file... still same error showed up.
Re: Opening OpenDental.sln errors
I would try uninstalling the Microsoft Visual C++ redistributable and reinstalling it. If that doesn't help, you might try installing one of the Topaz SigPlus drivers. I guess you should pick one of the options from https://www.sigpluspro.com/ and install it.
Re: Opening OpenDental.sln errors
Did you also try the quick fix from that section as well?sjWiz wrote:Tried creating an sgen.exe.config file and placed it in every folder where there is an sgen.exe file... still same error showed up.
The quick fix for this error is to right click the OD project, properties, build tab, and at the bottom, change 'generate serialization assembly' to off.
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
Re: Opening OpenDental.sln errors
Hi Jason,
I did read the doc u reference a few times over already but it says if I turn it to off, this will "result in Open Dental running a little slower"; so I've been hesitant to do so... Is this significant or negligible difference?
If I do go about editing the SGEN.exe.config file, and changing it to <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>, would it matter to OD v17 or 18 since it may rely on a more modern version like v4.5?
__________
Hi Chris,
I will also try one of the options listed on this site. Should the install path be its default or should I change it to OD's source code folder?
I did read the doc u reference a few times over already but it says if I turn it to off, this will "result in Open Dental running a little slower"; so I've been hesitant to do so... Is this significant or negligible difference?
If I do go about editing the SGEN.exe.config file, and changing it to <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>, would it matter to OD v17 or 18 since it may rely on a more modern version like v4.5?
__________
Hi Chris,
I will also try one of the options listed on this site. Should the install path be its default or should I change it to OD's source code folder?
Re: Opening OpenDental.sln errors
I would set it to its default path.