Tool to inlude njproj project in sln file by CLI
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
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.
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
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 355
- PR merge metrics
- No merged PRs in 30d
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.
More from microsoft/nodejstools
-
microsoft/nodejstools#2523 · 1 reaction · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
microsoft/nodejstools#2519 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/nodejstools#2517 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
microsoft/nodejstools#2514 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/nodejstools#2513 · 5 comments ·
All issues in microsoft/nodejstools
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·