[英]How does one start a WPF Project in Visual Studio 2013 Express for Web?
I'm struggling with something very fundamental - so I'm probably being dumb. 我正在努力解决一些非常基本的问题-所以我可能很傻。
I'm following the MSDN Tutorials for learning Visual C# and one of the very first things you do (following changing the theme color, of course) is create a new project. 我正在遵循用于学习Visual C#的MSDN教程,并且要做的第一件事(当然是在更改主题颜色之后)是创建一个新项目。 The project template(s) listed, specifically "WPF Application", are not existing, however.
但是,列出的项目模板(特别是“ WPF应用程序”)不存在。
Here's what the tutorial says I should see: 这是本教程应该看到的内容:
The same process is used by this tutorial . 本教程使用相同的过程。
What I see lacks "WPF Application" 我所看到的缺少“ WPF应用程序”
Uhh.... what? 呃...什么? When I use the search box for "WPF", I find "WPF App for MVVMbasics Core project" which I have to download from online, but get this error message when using it:
当我将搜索框用于“ WPF”时,我找到了“ WPF App for MVVMbasics Core project”,我必须从网上下载它,但是在使用它时会收到以下错误消息:
Can anyone help? 有人可以帮忙吗?
The give away is in the title of the dialog box displayed when you try to open a WPF project (my emphasis): 当您尝试打开WPF项目时(我的重点),赠品位于显示的对话框的标题中:
Microsoft Visual Studio 2013 Express for Web
适用于Web的 Microsoft Visual Studio 2013 Express
The Express products each only support a subset of the project types. Express产品每个仅支持项目类型的子集。 Choose "Express 2013 for Windows Desktop" from the Visual Studio Express page .
从Visual Studio Express页面中选择“用于Windows桌面的Express 2013”。 Alternatively, if you meet the "Who can use Visual Studio Community" requirements at the bottom of the page, you could download Visual Studio 2013 Community .
或者,如果满足页面底部的“谁可以使用Visual Studio Community”要求,则可以下载Visual Studio 2013 Community 。
Try Changing from .Net Framework 4.5 to 4.0 or 3.5 from the comboBox above. 尝试从上面的comboBox中将.Net Framework 4.5更改为4.0或3.5。 If that solves, then you may need to install .Net Framework 4.5 on your system.
如果解决了,那么您可能需要在系统上安装.Net Framework 4.5。
And if not, run the Visual Studio Installer again. 如果没有,请再次运行Visual Studio安装程序。 Will be better to remove and install again than just using 'Repair' option in the installer.
与仅在安装程序中使用“修复”选项相比,删除并重新安装会更好。
Select 'Full' option on components selection if it asks for while installing.. 如果安装时要求,请在组件选择上选择“完全”选项。
Reinstallation would defenitely help. 重新安装将绝对有帮助。 But if you don't like to spend that much time.. Take a look at https://social.msdn.microsoft.com/Forums/vstudio/en-US/8a5ae9e3-be7b-493d-831c-1e49e8103f26/visual-studio-project-templates-are-missing?forum=vssetup
但是,如果你不喜欢花太多时间..看看https://social.msdn.microsoft.com/Forums/vstudio/en-US/8a5ae9e3-be7b-493d-831c-1e49e8103f26/visual-工作室项目模板缺失?论坛= vssetup
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.