Skip to content

Tool to inlude njproj project in sln file by CLI #2364

@ajithvcoder

Description

@ajithvcoder
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 ?

error_1

error

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
  1. Install slngen
  2. slngen -o Test.sln SampleNode
    https://github.com/ajithkumarmcw/NodeProject

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions