Search code examples
xamarinxamarin-studio

xamarin studio project main class


it would be great if someone could tell me how to set main class for project in Xamarin Studio?

I try to do this like that:

xamarin studio build, code generation window for project

Note the grated out triangle, no matter what I write there, nothing change.


Solution

  • It looks like this particular project has two properties StartupObject.

    You will have to edit the .csproj file and change this to your class:

    <PropertyGroup>
          <StartupObject>QuantConnect.ToolBox.OandaDownloader.Program</StartupObject>
    </PropertyGroup>