Setting up the developer environment for C#
Installing the prerequisites
Install Visual Studio 2017 Community Edition or better. Visual Studio Install
Install Ruby and Rake. Ruby Install
Obtain Devexpress License and Install
DevExpress WinForms Controls and Libraries is used in the graphical user interface of the suite. You will need to obtain a license in order to work with the user interface.
DevExpress only provides trials on their current product offering, so you may have to acquire the license prior to downloading an older version if that's required to build the suite.
Obtain your license from DevExpress DevExpress Order. Then get the installer for the version mentioned above that's required DevExpress Install
Install nuget.exe and ensure that it is in your
PATH
variable NuGet InstallAdd
OSPSuite.Core
as a nuget source using the following command
Building and Running
Clone the repository locally (either from the open-systems-pharmacology organization or from your own fork)
For PK-Sim and MoBi, run the
postclean.bat
commandThere are several requirements to running the software that are not automatically performed when building with Visual Studio. An automated
postclean
batch file is used to take care of these tasks.Compile Source
Run Tests
Run the Application
Useful Tips
The suite is using appveyor as a CI server which also provides a nuget feed that should be registered on your system. This will prevent you from having to enter AppVeyor password with each new instance of Visual Studio. This option is only available for developers with access to the appveyor feed. If you wish to be granted access to the feed, please let us know by posting a request in the forum.
or
If you set up your AppVeyor account using GitHub authentication, you'll need to contact an OSPSuite adminsitrator to set up a password on AppVeyor to use for authentication.
Last updated