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.
我正在研究一个名为ModernUIDemo的示例应用程序。exe在这里的zip文件中找到。该网站提到了该应用的源代码,可以在这里找到。
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:
下载完成后,将Windows桌面的Visual Studio Express 2013指向解决方案文件,并尝试在不调试的情况下启动,我收到一条错误消息:
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?
我假设这意味着有多个项目,我需要设置一个startable项目。我该怎么做呢?
I have been looking in the Application settings, where it lists "Startup objects" and it says FirstFloor.ModernUI.App.App. Isn't that correct?
我一直在查看应用程序设置,其中列出了“启动对象”,并显示了firstfloor . modernui . app。这不是正确的吗?
Typically, how is documentation laid out in C# apps? Is there like a javadoc I have to generate for C#/XAML/WPF?
通常,c#应用程序中的文档是如何安排的?我是否需要为c# /XAML/WPF生成一个javadoc ?
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....
现在我在XAML中得到了一些引用错误,它们是
2 个解决方案
#1
11
In your project's property in Application tab you have to see:
在应用程序选项卡中的项目属性中,您必须看到:
Output type: Windows Application.
输出类型:Windows应用程序。
With this configuration after compilation you will get EXE
file. Instead, according to the error message you get, your application is configured like Class Library, so output is DLL
.
编译后使用此配置将获得EXE文件。相反,根据您得到的错误消息,您的应用程序被配置为类库,因此输出是DLL。
#2
20
Right click on the project you want to run -> Set as start up project
右键单击要运行的项目——>设置为启动项目。
#1
11
In your project's property in Application tab you have to see:
在应用程序选项卡中的项目属性中,您必须看到:
Output type: Windows Application.
输出类型:Windows应用程序。
With this configuration after compilation you will get EXE
file. Instead, according to the error message you get, your application is configured like Class Library, so output is DLL
.
编译后使用此配置将获得EXE文件。相反,根据您得到的错误消息,您的应用程序被配置为类库,因此输出是DLL。
#2
20
Right click on the project you want to run -> Set as start up project
右键单击要运行的项目——>设置为启动项目。