In VS, without any project open, analyze/launch node.js profiling
Select a script, I picked "Nodejs\Prerequisites\generate.js"
Doesn't matter for the working dir
Accept the default to save the .njsperf file next to the script
You'll get this message box:
```
---------------------------
---------------------------
System.ComponentModel.Win32Exception (0x80004005): Access is denied
at Microsoft.NodejsTools.LogGeneration.TraceLog.Start(String filename, String sessionName)
at Microsoft.NodejsTools.LogParsing.LogConverter.Process()
at Microsoft.NodejsTools.LogParsing.LogConverter.Main(String[] args)
---------------------------
OK
---------------------------
```
Comments: Are you sure the current directory doesn't matter? What if you set it to your users directory? I'm able to run generate.js w/o any issues, but VS was launched from the command line and is in a directory where I can write to.
Select a script, I picked "Nodejs\Prerequisites\generate.js"
Doesn't matter for the working dir
Accept the default to save the .njsperf file next to the script
You'll get this message box:
```
---------------------------
---------------------------
System.ComponentModel.Win32Exception (0x80004005): Access is denied
at Microsoft.NodejsTools.LogGeneration.TraceLog.Start(String filename, String sessionName)
at Microsoft.NodejsTools.LogParsing.LogConverter.Process()
at Microsoft.NodejsTools.LogParsing.LogConverter.Main(String[] args)
---------------------------
OK
---------------------------
```
Comments: Are you sure the current directory doesn't matter? What if you set it to your users directory? I'm able to run generate.js w/o any issues, but VS was launched from the command line and is in a directory where I can write to.