title: Is there a method to automatically attach a .natvis to debug session started using -DebugExe?
body: <p>I am working with a solution that includes a .natvis in its tree. The workflow requires that I often start debug sessions of various solution's executables using devenv.exe's <a href="https://docs.microsoft.com/en-us/visualstudio/ide/reference/debugexe-devenv-exe" rel="nofollow noreferrer">/DebugExe switch</a>. But when started this way, the .natvis file isn't used by debugger.</p>
  
  <p>I have tried to use <a href="https://docs.microsoft.com/en-us/visualstudio/ide/reference/command-devenv-exe" rel="nofollow noreferrer">/Command switch</a> with <a href="https://docs.microsoft.com/en-us/visualstudio/ide/reference/add-existing-item-command" rel="nofollow noreferrer">Add Existing Item command</a>, but it looks like since the debugged .exe isn't a proper solution or project, it's impossible to add anything to it (at least I have failed).</p>
  
  <p>So the question is: is there a method to use the .natvis placed in an arbitrary path (not in user's profile where VisualStudio would automatically use it) in /DebugExe sessions?</p>