microsoft / microsoft/vs-solutionpersistence

Adding more, custom project types

Open
#127 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
213
Forks
14
PR merge metrics
No merged PRs in 30d

Description

I frequently use @alexrp's Vezel.Zig.Sdk, which introduces the project file extensions .cproj, cxxproj, and .zigproj. As of today, it is not possible to add these projects to a solution file, because the extensions are not recognized.

Built-in project types appear to be handled in ProjectTypeTable.BuiltInTypes.cs. Would it be possible to add more project types here, or is there another way to allow them to be recognized by solution files?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading src/Microsoft.VisualStudio.SolutionPersistence/Model/ProjectTypeTable.BuiltInTypes.cs and trace how project extensions are recognized when solution files are parsed. Determine whether custom project types need an extension point or additional built-ins; done means .cproj, .cxxproj, and .zigproj projects can be recognized in solution files.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.