Project-system: IntelliSense for package reference versions while editing csproj

Created on 17 Nov 2016  路  7Comments  路  Source: dotnet/project-system

Today csproj has schema based IntelliSense but we should provide intellisense for package names and versions while editing the project file.

This likely requires a "MSBuild language service"

Feature Request Triage-Approved

Most helpful comment

+1 Specifically for a MSBuild Language Service. Would love to see a powerful MSBuild lang service that could also be shared with Code/VS for Mac/other LSP implementer. Sure the guys on the code team would agree.

All 7 comments

+1 Specifically for a MSBuild Language Service. Would love to see a powerful MSBuild lang service that could also be shared with Code/VS for Mac/other LSP implementer. Sure the guys on the code team would agree.

One of my favorite features of the project.json system was having intellisense when manually adding Nuget packages, for both names and versions. I've found the csproj system frustrating because it lacks this.

There's now an extension for package intellisense built out of https://github.com/dotnet/ProjFileTools Keeping this issue to track putting that in the box.

Direct link to the VS Gallery page for the intellisense extension listed above: https://marketplace.visualstudio.com/items?itemName=ms-madsk.ProjectFileTools

I really wish this was built in to Visual Studio, like how it was built in for project.json

Still not working even after installing the ProjFileTools extension in Visual studio 2017 Pro.

@avinash2wards What's not working? IntelliSense for packages? Or IntelliSense for MSBuild constructs?

IntelliSense for the XML part seems to work, but not the IntelliSense for packages:

msbuild intellisense

I am using VS2017 15.3 Preview 3, with Project File Tools 1.0.2.

Was this page helpful?
0 / 5 - 0 ratings