Feature to include njsproj file with slngen
See original GitHub issueI am able to include C#(.csproj) and C++ project(.vcxproj) files successfully but after including .njsproj files it is throwing error when i open the solution file i face a 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 ? 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Tools that support creating solution file for node js projects ...
I want to create a batch script that would automatically create solution file if we just give projectfile as a argument.
Read more >Tools that support creating solution file for node js projects ...
Tools that support creating solution file for node js projects (njsproj) · Does slngen support creating solution file with .nsproj node project ?...
Read more >Overview | slngen - Microsoft Open Source
SlnGen is a Visual Studio solution file generator. Visual Studio solutions generally do not scale well for large project trees. They are scoped...
Read more >visual studio code - VsCode - Update .njsproj
Write a simple script that updates your njsproj based on current folder contents. If you are only using the project to open a...
Read more >Frequently Asked Questions | slngen - Microsoft Open Source
SlnGen does its best to correctly map projects with their corresponding project system based on the file extension. If you have a project...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
SlnGen will re-generate a solution file based on the cone of projects it finds. If you want to just add a single project to a solution you can use
dotnet sln
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-sln
Can you please try removing the project from the solution and re-adding it in Visual Studio? I’d like to see what Visual Studio places in the
.sln
file and maybe SlnGen just needs to use a different project type GUID or something?