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....
Solution 1Open the Solution Explorer pane in Visual Studio, find the EXE project branch and right click it. In the drop down list that appears is "Set as Startup Project". Click that, and the EXE will run when you debug.
Right click the Project name in Solution Explorer of Visual Studio. Select Properties. Select Application tab. In Output type drop box, select the correct application type of your project.
In Visual Studio, you can get this done by – right click on the project, and choose “ Set as Startup project" .
Right click your solution on the solution explorer and go to properties. Under Common Properties/Startup Projects you will see an overview about every project and it's auto startup status.
Right click on the project you want to run -> Set as start up project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With