简体   繁体   English

我无法在Win7上运行的Visual Studio2017上创建/打开JavaScript项目

[英]I cannot create/open a JavaScript project on Visual Studio2017 running on Win7

I am developing some JavaScript program on Visual Studio running on Windows10. 我正在Windows10上运行的Visual Studio上开发一些JavaScript程序。 But, I must use another laptop for a while which is installed Windows7. 但是,我必须使用安装了Windows7的另一台笔记本电脑一段时间。 I installed VS2017 Community on the laptop, and I copied the all project files from the desktop to the laptop. 我在笔记本电脑上安装了VS2017社区,并将所有项目文件从台式机复制到笔记本电脑。 Then, I found I couldn't open the project (the VS's solution file) because the version is not supported with it(both use VS2017 with same version. What does it mean by that?). 然后,我发现无法打开该项目(VS的解决方案文件),因为它不支持该版本(都使用具有相同版本的VS2017。这是什么意思?)。

I also tried to create a new empty JavaScript project on the laptop, but I couldn't go beyond the UWP choice menu because the message said this project type was not supported by this install. 我还尝试在笔记本电脑上创建一个新的空JavaScript项目,但是我无法超越UWP选择菜单,因为该消息表明此安装不支持该项目类型。

So, I researched about it, and some websites say I better install all versions of WindowsSDK from the installer. 因此,我对此进行了研究,一些网站说我最好从安装程序安装所有版本的WindowsSDK。 So, I picked all version of them, and installed. 因此,我选择了所有版本,并进行了安装。 But, I still cannot solve any of the trouble. 但是,我仍然无法解决任何麻烦。

My JavaScript program is not using any Windows specific codes. 我的JavaScript程序未使用任何Windows特定代码。 Does Visual Studio requires Windows10 for JavaScript program development? Visual Studio是否需要Windows10才能进行JavaScript程序开发? Do I need to install Windows10 and then VS2017 on the laptop if I want to develop a JavaScript base program? 如果要开发JavaScript基本程序,是否需要在笔记本电脑上安装Windows10,然后安装VS2017?

Check your edition of VS2017 on your Windows 10 VM. 在Windows 10 VM上检查VS2017版本。 Click Help, About. 单击帮助,关于。

It may be the project template type isn't supported by Community edition. 社区版可能不支持项目模板类型。 Check the project template type back on your Windows 10 VM as well. 同样,请在Windows 10 VM上再次检查项目模板类型。

Alternatively, check the version of VS2017 on Windows 7. There have been reported issues of the Community edition missing Web App project templates (see here ). 或者,在Windows 7上检查VS2017的版本。已经报告了社区版缺少Web App项目模板的问题(请参阅此处 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM