How do I set the "executable project as the startup project" in Visual Studio 2013 Express?

user3525618 picture user3525618 · Apr 29, 2014 · Viewed 71k times · Source

So I am trying to study a sample application called ModernUIDemo.exe found in a zip file here. The website mentions the source code of the app can be found here.

After downloading, and pointing Visual Studio Express 2013 for Windows Desktop to the solutions file and trying to start without debugging, I get an error message:

A project with an Output Type of Class Library cannot be started directly.

In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.

I am assuming this means that there are multiple projects, and I need to set a startable project. So how do I do this?

I have been looking in the Application settings, where it lists "Startup objects" and it says FirstFloor.ModernUI.App.App. Isn't that correct?

Typically, how is documentation laid out in C# apps? Is there like a javadoc I have to generate for C#/XAML/WPF?

edit:

I am now getting some reference errors in the XAML to <mui:ModernTab and <mui:BBCodeBlock does not exist in XML namespace. Any clues? I already thought I added the dll file....

Answer

MichaelLo picture MichaelLo · Apr 29, 2014

Right click on the project you want to run -> Set as start up project