Deletion as part of move to net472 branch (#707)

pull/702/head
Ron Petrusha 2018-04-10 16:05:33 -07:00 committed by GitHub
parent b284188993
commit 149fac1c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 51 deletions

View File

@ -1,51 +0,0 @@
## Stack traces obtained when using portable PDBs now include source file and line information if requested
### Scope
Edge
### Version Introduced
4.7.2
### Source Analyzer Status
NotPlanned
### Change Description
Starting with .NET Framework 4.7.2, stack traces obtained when using portable PDBs include source file and line information when requested. In versions prior to .NET Framework 4.7.2, source file and line information would be unavailable when using portable PDBs even if explicitly requested.
- [x] Quirked
- [ ] Build-time break
### Recommended Action
For applications that target the .NET Framework 4.7.2, you can opt out of the source file and line information when using portable PDBs if it is not desirable by adding the following to the `<runtime>` section of your `app.config` file:
```xml
<runtime>
<AppContextSwitchOverrides value="Switch.System.Diagnostics.IgnorePortablePDBsInStackTraces=true" />
</runtime>
```
For applications that target earlier versions of the .NET Framework but run on the .NET Framework 4.7.2 or later, you can opt in to the source file and line information when using portable PDBs by adding the following to the `<runtime>` section of your `app.config` file:
```xml
<runtime>
<AppContextSwitchOverrides value="Switch.System.Diagnostics.IgnorePortablePDBsInStackTraces=false" />
</runtime>
```
### Affected APIs
* `M:System.Diagnostics.StrackTrace.#ctor(System.Boolean)`
* `M:System.Diagnostics.StrackTrace.#ctor(System.Exception,System.Boolean)`
* `M:System.Diagnostics.StrackTrace.#ctor(System.Exception,System.Int32,System.Boolean)`
### Category
Core
[More information]([https://github.com/dotnet/core/blob/master/Documentation/diagnostics/portable_pdb.md])
<!--
Bug #534785
-->