Skip to content

Commit

Permalink
Merge pull request #443 from mikkelbu/portable-pdbs-stacktraces
Browse files Browse the repository at this point in the history
Enable reading source info from Portable and Embedded PDBs on .NET 472
  • Loading branch information
jnm2 committed Jul 28, 2018
2 parents f98bd13 + 59d109a commit 3427b07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/NUnitConsole/nunit3-console/app.config
Expand Up @@ -18,7 +18,10 @@

<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
<loadFromRemoteSources enabled="true" />


<!-- Enable reading source information from Portable and Embedded PDBs when running applications -->
<!-- built against previous .NET Framework versions on .NET Framework 4.7.2 -->
<AppContextSwitchOverrides value="Switch.System.Diagnostics.IgnorePortablePDBsInStackTraces=false" />
</runtime>

</configuration>
3 changes: 3 additions & 0 deletions src/NUnitEngine/nunit-agent/app.config
Expand Up @@ -25,6 +25,9 @@
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
<loadFromRemoteSources enabled="true" />

<!-- Enable reading source information from Portable and Embedded PDBs when running applications -->
<!-- built against previous .NET Framework versions on .NET Framework 4.7.2 -->
<AppContextSwitchOverrides value="Switch.System.Diagnostics.IgnorePortablePDBsInStackTraces=false" />
</runtime>

</configuration>

0 comments on commit 3427b07

Please sign in to comment.