Console dotTrace Session Startup Fails with "NetStandard" Error
Hello,
I am trying to use the console dotTrace tool to attach to and profile a running instance of W3WP.exe (IIS) on a Windows Server Core host.
When I execute the command line 'dottrace' I receive the error message below:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
at JetBrains.dotTrace.ConsoleProfiler.ProfilerProgram.Main(String[] args)
What is the correction for this error message? This is directly after having unarchived the dottrace from its archive file.
Thanks for any pointers.
Please sign in to leave a comment.
Hello again,
While installing the RemoteAgent as a workaround, I noticed the RemoteAgent included a copy of NetStandard.dll. Copying this into the console dotTrace folder allowed the console dotTrace to profile sucessfully.
Hope this helps someone.
Hello,
This message occurs if required .NET Framework version isn't installed on machine. Copying .dll manually isn't good way to fix it. Please install .NET Framework 4.7.2 or higher.
Full list of system requirements is located here: https://www.jetbrains.com/dotnet/download/system-requirements/#scope-dottrace-command-line-tools