I'm currently working on developing a plugin for Open Dental and need a sample plugin codebase to get started. I tried accessing the example at this link, but I'm having trouble downloading it. Can anyone assist me with setting up the Open Dental plugin environment?
Thank you in advance for your help!
Plugin Development Env Setup
Re: Plugin Development Env Setup
It's publicly available on GitHub if you are used to using that to download source code.
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: 5
- Joined: Fri Jan 05, 2024 12:26 am
Re: Plugin Development Env Setup
still getting below error to run opendental solution
3>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\CDT\xCDT.csproj' does not exist.
3>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\DataConnectionBase\bin\Debug\DataConnectionBase.dll' could not be found
3>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\OpenDentalCloud\bin\Debug\OpenDentalCloud.dll' could not be found
3>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\PasswordVaultWrapper\bin\Debug\PasswordVaultWrapper.dll' could not be found
4>------ Build started: Project: OpenDental, Configuration: Debug x86 ------
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\CDT\xCDT.csproj' does not exist.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\ImagingDeviceManager\xImagingDeviceManager.csproj' does not exist.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\ODApi\xODApi.csproj' does not exist.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\OpenDentalHelp\OpenDentalHelp\OpenDentalHelp.csproj' does not exist.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\..\Unversioned\VirtualWeb\VirtualWeb.csproj' does not exist.
4> COM Reference 'WMPLib' is the interop assembly for ActiveX control 'AxWMPLib' but was marked to be linked by the compiler with the /link flag. This COM reference will be treated as a reference and will not be linked.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(3029,5): warning MSB3305: Processing COM reference "WMPLib" from path "C:\WINDOWS\system32\wmp.dll". Type library importer encountered a property getter 'sessionPlaylistCount' on type 'WMPLib.IWMPNowPlayingHelperDispatch' without a valid return type. The importer will attempt to import this property as a method instead.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(3029,5): warning MSB3305: Processing COM reference "WMPLib" from path "C:\WINDOWS\system32\wmp.dll". At least one of the arguments for 'IWMPGraphEventHandler.NotifyAcquireCredentials' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\DataConnectionBase\bin\Debug\DataConnectionBase.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\OpenDentalCloud\bin\Debug\OpenDentalCloud.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\OpenDentalGraph\bin\Debug\OpenDentalGraph.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\OpenDentBusiness\bin\Debug\OpenDentBusiness.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\ServiceManager\bin\Debug\ServiceManager.exe' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\SparksToothChart\bin\Debug\SparksToothChart.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\WpfControlsOD\bin\Debug\WpfControlsOD.dll' could not be found
========== Build: 1 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
3>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\CDT\xCDT.csproj' does not exist.
3>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\DataConnectionBase\bin\Debug\DataConnectionBase.dll' could not be found
3>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\OpenDentalCloud\bin\Debug\OpenDentalCloud.dll' could not be found
3>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\PasswordVaultWrapper\bin\Debug\PasswordVaultWrapper.dll' could not be found
4>------ Build started: Project: OpenDental, Configuration: Debug x86 ------
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\CDT\xCDT.csproj' does not exist.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\ImagingDeviceManager\xImagingDeviceManager.csproj' does not exist.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\ODApi\xODApi.csproj' does not exist.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\OpenDentalHelp\OpenDentalHelp\OpenDentalHelp.csproj' does not exist.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2165,5): warning : The referenced project '..\..\..\Unversioned\VirtualWeb\VirtualWeb.csproj' does not exist.
4> COM Reference 'WMPLib' is the interop assembly for ActiveX control 'AxWMPLib' but was marked to be linked by the compiler with the /link flag. This COM reference will be treated as a reference and will not be linked.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(3029,5): warning MSB3305: Processing COM reference "WMPLib" from path "C:\WINDOWS\system32\wmp.dll". Type library importer encountered a property getter 'sessionPlaylistCount' on type 'WMPLib.IWMPNowPlayingHelperDispatch' without a valid return type. The importer will attempt to import this property as a method instead.
4>F:\VStudio\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(3029,5): warning MSB3305: Processing COM reference "WMPLib" from path "C:\WINDOWS\system32\wmp.dll". At least one of the arguments for 'IWMPGraphEventHandler.NotifyAcquireCredentials' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\DataConnectionBase\bin\Debug\DataConnectionBase.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\OpenDentalCloud\bin\Debug\OpenDentalCloud.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\OpenDentalGraph\bin\Debug\OpenDentalGraph.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\OpenDentBusiness\bin\Debug\OpenDentBusiness.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\ServiceManager\bin\Debug\ServiceManager.exe' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\SparksToothChart\bin\Debug\SparksToothChart.dll' could not be found
4>CSC : error CS0006: Metadata file 'F:\opendental-24_1\opendental-24_1\WpfControlsOD\bin\Debug\WpfControlsOD.dll' could not be found
========== Build: 1 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
Re: Plugin Development Env Setup
Now that you have it downloaded, it looks like you're running into compile errors.
Performing the steps like Error: The name 'OpenDentalHelp' does not exist in the current context mentioned on Source Code but for all of the projects that don't exist (e.g. xCDT.csproj => Required dlls\CDT.dll) will be required to get Open Dental to compile.
https://github.com/OpenDentalThe Open Dental solution does not build out of the box.
See Source Code for getting Open Dental to build.
Performing the steps like Error: The name 'OpenDentalHelp' does not exist in the current context mentioned on Source Code but for all of the projects that don't exist (e.g. xCDT.csproj => Required dlls\CDT.dll) will be required to get Open Dental to compile.
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