简体   繁体   English

如何在Visual Studio 2013 Express for Web中启动WPF项目?

[英]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: 这是本教程应该看到的内容: MSDN教程的观点

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): 当您尝试打开W​​PF项目时(我的重点),赠品位于显示的对话框的标题中:

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.

相关问题 如何向Visual Studio 2013 Web Express添加测试工具名称空间 - How to add testing tools namespace to visual studio 2013 web express Visual Studio Express 2013未显示Web模板 - Visual studio Express 2013 is not showing web templates 连接到Visual Studio Express 2013 for Web中的数据库 - Connecting to database in Visual Studio Express 2013 for Web 在Visual Studio 2013中运行Web API项目 - running web api project in visual studio 2013 在Visual Studio 2013中为Web资产创建项目 - Creating a project for web assets in Visual Studio 2013 Visual Studio 2013 Express WPF设计器加载失败 - Visual Studio 2013 Express WPF Deigner load failure 如何在Visual Studio 2013 Express中将“可执行项目作为启动项目”设置? - How do I set the “executable project as the startup project” in Visual Studio 2013 Express? 从Visual Studio Express 2013正确部署项目 - Properly deploying a project from Visual Studio Express 2013 如何将Visual Studio 2013项目降级为Visual Studio 2008项目? - How to downgrade a Visual Studio 2013 project to a Visual Studio 2008 project? 此项目(Visual Studio 2012 express)与Visual Studio 2013 express的当前版本不兼容 - This project(Visual Studio 2012 express) is incompatible with the current version of Visual Studio 2013 express
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM