[Feature] Add support for `nuspec` files
ChristopherHaws opened this issue · 5 comments
Hey! Awesome job on making a language server for msbuild! I have no clue why this isn't just part of .NET...
I was wondering if you would be interested in adding file support for raw nuspec
files. Most of the functionality works just by including the schema (xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd"
) but there are some features that I would love:
- The ability to update dependencies with autocomplete:
- Autocomplete for replacement tokens
Hey, that’s a nice idea! I take it there isn’t currently a language service for any of the other NuGet file types? (just want to make sure I’m not stepping on anyone else’s toes!)
I was not able to find anything. The tooling around nuspec files has always been pretty lack luster IMO. The only thing I could find was the xsd schema which I couldn't get working in VS Code. From what I can tell, the nuget team doesn't publish the schema file (if you actually go to http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd it returns not found).
Here is where they define the schema URI's and the actual xsd file.
Thanks! I think it wouldn’t be too difficult to do; might be a week or 2 before I get a proper chance to look at it (work is a little full-on at the moment) but after that I’ll see what I can do! 🙂
Awesome! I know nuspec isn't really msbuild but they are in the same family and I felt like most of the plumbing is probably already handled by the rest of your codebase. :)
Hoping to start on this sometime today :)