Extended StarcounterEnvironment with a static read-only InstallationDirectory property and a corresponding setter method that allows it to be set based on the loading location on any of our primary executables (like star or sccode). Part of resolving #1517.
Made all out primary managed entrypoint executables confirm to the proposed new way to guarantee the correctness of the Starcounter installation directory (based on explicit setting / process and using a single property to access it, StarcounterEnvironment.InstallationDirectory). Relates to #1517.
Adapted a few classes to rely on new Starcounter.InstallationDirectory property to resolve installation directory. Relates to #1517.
Made Starcounter.Server part of the set of assemblies we install in the GAC. Part of resolving #1517.
Changed StarcounterEnvironment.InstallationDirectory to raise an exception if the installation directory can not be resolved.
Removed some obsolete code not used in StarcounterEnvironment.
Merge branch 'develop' into issue/1517
Merge branch 'issue/1517' into develop
Fixed bug in scservice, failing to produce a proper path to the tray icon application because of a previous, erroneous change.
Merge branch 'issue/1517' into develop