microsoft / microsoft/nodejstools
Tool to inlude njproj project in sln file by CLI
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 355
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
slngen should include nodejs project successfully. if any other CLI tool does that also i am fine, you can tell that tool
Actual Behavior
it is producing error
C:\Users\Ajith\Documents\project\Sample\SampleNode\SampleNode\SampleNode.njsproj : error : The build project should have been initialized before calling PreCreateForOuter.
Is that feature added to slngen ? or anyother tool if so could u kindly advise a solution for it ?


Below is the command and project built.
slngen -o Test.sln SampleNode
https://github.com/ajithkumarmcw/NodeProject
- NTVS Version: latest
- Visual Studio Version: VS 17.1.0 , 2022
- Node.js Version: 16.14.0
Steps to Reproduce
- Install slngen
- slngen -o Test.sln SampleNode
https://github.com/ajithkumarmcw/NodeProject
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the slngen command and reproduce the failure using slngen -o Test.sln SampleNode against the linked NodeProject. Investigate how the tool processes the .njsproj project and the PreCreateForOuter error in Visual Studio 2022. Done means the Node.js project is included in the generated solution without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, nodejs
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100