You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tools/AssemblyInfo.cs
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,3 +2,12 @@
2
2
3
3
[assembly:CLSCompliant(true)]
4
4
[assembly:SecurityTransparent]
5
+
6
+
#if NETSTANDARD1_6||NETSTANDARD2_0
7
+
// The NETSTANDARD1_6 and NETSTANDARD2_0 builds can be used by .NET Framework projects.
8
+
// Without this, when TransientFaultHandling.Data.Core is used by .NET Framework projects, it throws System.TypeAccessException when handling SqlException:
9
+
// Attempt by security transparent method 'Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.SqlDatabaseTransientErrorDetectionStrategy.IsTransient(System.Exception)' to access security critical type 'Microsoft.Data.SqlClient.SqlException' failed.
10
+
// NETSTANDARD1_0 to NETSTANDARD1_5 does not support [SecurityRules]. And NETSTANDARD2_1_OR_GREATER is not supported by .NET Framework.
0 commit comments