Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Created Unassigned: some sections in njsproj should be in a different file. [1773]

$
0
0
The source code for a web site usually will not contain things like MongoDB passwords, etc. They'll reside in environment variables that's specific for that installation. When working with NTVS, you set these installation specific environment variables in the project's Environment Variables field. Unfortunately, that ends up getting stored in the <Environment> section of the .nsproj file. Since this file goes into source control, installation specific information gets stored with it.

With a C# program, certain fields in the Project properties do not end up in the .csproj file for that reason. For instance, if I'm debugging a C# program, and I want to specify command line arguments, that setting get stored in the .csproj.user file.

I think the fields should get stored in a .nsproj.user file:
- Node exe path
- Node exe arguments
- Script arguments
- Working directory
- Launch URL
- Node js port
- Debugger port
- Environment Variables



Viewing all articles
Browse latest Browse all 4630

Trending Articles