Hi,
When I compile OD 162.53, I got a number of error from QualityMeasure.cs from properties for serializing ie.
[XmlElement(nameof(QualityMeasure.DictPatNumListEncounters),typeof(List<KeyValuePair<long,List<EhrCqmEncounter>>>))]
Errors are:
Error 146 An object reference is required for the non-static field, method, or property 'OpenDentBusiness.QualityMeasure.DictPatNumListEncounters'
Error 153 The name 'nameof' does not exist in the current context
Could you give me a hint on how to fix it? The projects are building on .NET Framework 4. I guess some settings may need to update.
Thanks
M
Error compiling 16.2.53
Error compiling 16.2.53
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Error compiling 16.2.53
The keyword "nameof" is a C# 6.0 feature which currently only Visual Studio 2015 supports a C# 6.0 compiler (that I'm aware of).
I believe we or you could fix it by changing it from
to
Or something along those lines.
I believe we or you could fix it by changing it from
Code: Select all
[XmlElement(nameof(QualityMeasure.DictPatNumListEncounters),typeof(List<KeyValuePair<long,List<EhrCqmEncounter>>>))]
Code: Select all
[XmlElement("QualityMeasure.DictPatNumListEncounters",typeof(List<KeyValuePair<long,List<EhrCqmEncounter>>>))]
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: Error compiling 16.2.53
You also have the option to download a NuGet package so that you can use the most up-to-date C# compiler.
https://www.nuget.org/packages/Microsoft.Net.Compilers/
http://stackoverflow.com/questions/2863 ... tudio-2012
https://www.nuget.org/packages/Microsoft.Net.Compilers/
http://stackoverflow.com/questions/2863 ... tudio-2012
Re: Error compiling 16.2.53
I tried to install compiler package but doesn't seem to work.
Installed VS2015 and all are working fine so far.
Thanks
M
Installed VS2015 and all are working fine so far.
Thanks
M
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Error compiling 16.2.53
Would like to add that I also tried the other methods with VS2013 but that didn't get it. Upgrade to VS2015 did get it.
DMA, Inc.
http://www.dmatechsolutions.com
http://www.dmatechsolutions.com
Re: Error compiling 16.2.53
is there a latest compiled version somewhere which I can download
Re: Error compiling 16.2.53
We don't store a compiled version of the program in our public repository. You can download the trial version which is fully compiled and contains the database: http://opendental.com/TrialDownload-15-4-35.exe. It, however, is not the latest and greatest. It contains version 15.4 while our latest stable version is 16.3. See http://opendental.com/manual/versions.html for version details.