mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-08 08:30:56 +00:00
remove supportsUWP from template (#7211)
This commit is contained in:
parent
85e1fa1b68
commit
208106d179
@ -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;
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user