.net core project.json intellisense无法正常工作

mis*_*hap 10 visual-studio-2015 package.json asp.net-core

刚在我的机器上安装了VS2015和.net核心,但出于某种原因,我在project.json中没有得到intellisense.在我的另一台机器上它工作正常.知道这里出了什么问题吗?

在此输入图像描述

在此输入图像描述

安装了所有扩展:

Microsoft Visual Studio Professional 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Professional

LightSwitch for Visual Studio 2015  
Microsoft LightSwitch for Visual Studio 2015

Visual Basic 2015 
Microsoft Visual Basic 2015

Visual C# 2015 
Microsoft Visual C# 2015

Visual C++ 2015  
Microsoft Visual C++ 2015

Add New File   3.5
The fastest and easiest way to add new files to any project - including files that start with a dot

ASP.NET and Web Tools 2015.1   14.1.20907.0
ASP.NET and Web Tools 2015.1

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v2.8.1   14.0.11123.0
Azure App Service Tools v2.8.1

Bundler & Minifier   2.1.279
Adds support for bundling and minifying JavaScript, CSS and HTML files in any project.

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

File Icons   1.6
Adds icons for files that are not recognized by Solution Explorer

File Nesting   2.5.63
Automatically nest files based on file name and enables developers to nest and unnest any file manually

Image Optimizer   3.6.94
Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.

Image Sprites   1.4.45
Boost your website's performance by creating image sprites to reduce the amount of HTTP requests needed.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Markdown Editor   1.8.166
A full featured Markdown editor with live preview and syntax highligting. Supports GitHub flavored Markdown.

Microsoft .NET Core Tools (Preview 2)   14.1.20907.0
Microsoft .NET Core Tools (Preview 2)

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Open Command Line   2.1.176
Opens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files.

Package Installer   1.8.87
Makes it easier, faster and more convenient than ever to install Bower, npm, JSPM, TSD, Typings and NuGet packages to any project

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Python Tools for Visual Studio   2.2.40623.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration   2.2.40623.00
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - Profiling Support   2.2.40623.00
Profiling support for Python projects.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Web Accessibility Checker   1.3.33
The easiest way to perform accessibility checks on any ASP.NET web application. Fully customizable and support all the major international accessibility standards.

Web Compiler   1.11.319
Compiler for LESS, Sass and CoffeeScript files

Web Essentials 2015.3   3.0.235
Adds many useful features to Visual Studio for web developers. Requires Visual Studio 2015
Run Code Online (Sandbox Code Playgroud)

更新:如果我在驱动器C上创建项目,则智能感知有效.但是当项目在不同的逻辑磁盘上创建时,它无法正常工作.

Vad*_*dim 4

我有同样的问题。我的像你这样的项目也不在驱动器 C 上。看起来我的问题出在 ReSharper 上。我不知道您是否使用 ReSharper,但我在这里解决了我的问题。

当我将 ReSharper IntelliSense 从 Visual Studio 更改为 ReSharper 时,我恢复了 IntelliSense。

在此输入图像描述

  • 实际上对我来说,它只是从 ReSharper 切换到 Visual studio,仅处理 JSON 文件。(版本 2016.1.2)无需为所有内容禁用 ReSharper IntelliSense。 (2认同)