Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: htlee on November 21, 2013, 11:35:07 am
-
when i move the project to anther folder, i can't edit the *.wxs in UI, and only open like this:
<?xml version="1.0" encoding="utf-8" ?>
<wxsmith>
<object class="wxFrame" name="netapp_maccodeFrame">
<bg>wxSYS_COLOUR_GRADIENTACTIVECAPTION</bg>
<object class="wxBoxSizer" variable="BoxSizer1" member="no">
<object class="sizeritem">
<object class="wxFlexGridSizer" variable="FlexGridSizer1" member="no">
<cols>2</cols>
<object class="sizeritem">
when i restore all the files to the default folder where they are created,it's ok to edit *.wxs in UI. I have to move the project files to other folder.how to solve this problem, or they have to stay in the created folder with the project file(*.cbp,*.depend...)?
Thank you ~!
-
You have to manually edit your projectfile.
Back it up and open it in a text-editor, search for the name of the wxs-file and fix the path.
It's in "<Project><Extensions><wxsmith><resources>".
As far as I know, the path is relative to the projects toplevel folder.
-
Thank you, it's OK .
Maybe it will be supported automatically in next version.
htlee