Bug #108
Core/Mono -> Configuration path cause an error
| Status : | Fermé | Start : | 01/17/2009 | |
| Priority : | Normale | Due date : | ||
| Assigned to : | Mickael Gaillard | % Done : | 100% |
|
| Category : | Core | |||
| Target version : | 1.0 | Estimated time : | 1.00 hour | |
Description
In Emdym.Core.Configuration.ConfigurationApp constructor, initialisation of APPLICATION_PATH cause an error with Mono.
GetExecutingAssembly().GetName().CodeBase return a path with space (ex: C:\Visual%20Studio%202008\), Mono can’t found the path.
Temporary fix that with GetExecutingAssembly().Location when running on Mono.
Try to find a solution that works with both.
This hack works with Mono 1.9.1 but not with Mono 2.0 or later.
History
02/04/2009 01:43 AM - Erwan Le Huitouze
- % Done changed from 0 to 100
- Estimated time set to 1.0
Fix in r928 use AppDomain.CurrentDomain.BaseDirectory & AppDomain.CurrentDomain.RelativeSearchPath to gets the base folder