remove supportsUWP from template (#7211)

This commit is contained in:
William Cheng 2020-08-14 13:30:53 +08:00 committed by GitHub
parent 85e1fa1b68
commit 208106d179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -6,9 +6,7 @@ using System.Collections.Generic;
using System.Globalization;
using System.IO;
{{^netStandard}}
{{^supportsUWP}}
using System.Web;
{{/supportsUWP}}
{{/netStandard}}
using System.Linq;
using System.Net;

View File

@ -345,10 +345,8 @@ namespace {{packageName}}.Client
{
String report = "C# SDK ({{{packageName}}}) Debug Report:\n";
{{^netStandard}}
{{^supportsUWP}}
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
{{/supportsUWP}}
{{/netStandard}}
{{#netStandard}}
report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n";