Emdym.com

Bug #108

Core/Mono -> Configuration path cause an error

Added by Erwan Le Huitouze 598 days ago. Updated 517 days ago.

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

01/25/2009 08:11 AM - Erwan Le Huitouze

  • Target version changed from 0.9.1 to 1.0

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

02/04/2009 01:43 AM - Erwan Le Huitouze

  • Status changed from Nouveau to Résolu

02/04/2009 02:56 AM - Erwan Le Huitouze

  • Status changed from Résolu to Rejeté

04/08/2009 07:11 AM - Erwan Le Huitouze

  • Status changed from Rejeté to Fermé

Also available in: Atom PDF