sharpdevelop

Active configuration for solutions SharpDevelop


I already asked regarding the active configuration for Visual Studio projects and thanks to that already, I know that it is stored in .suo and csproj.user (for C#) file.

Now I found that for solutions created in SharpDevelop there were not created these files.

Where is information for the active configuration for solutions created in SharpDevelop stored?


Solution

  • In SharpDevelop this information is stored in an XML file under your user profile. In Windows Vista and Windows 7, for example, this XML file is stored in the folder:

    C:\Users\[UserName]\AppData\Roaming\ICSharpCode\SharpDevelop3.0\preferences
    

    Inside this folder will be an XML file named after your solution (e.g., MyConsoleApp.sln.3f6fc903.xml). The XML file will store the currently active configuration as shown below:

    <Properties>
      <ActiveConfiguration value="Debug" />
      <ActivePlatform value="x86" />
      <StartupProject value="" />
    </Properties>