@@ -47,10 +47,7 @@ public class CSharpClientCodegen extends AbstractCSharpCodegen {
47
47
private static final String NET45 = "v4.5" ;
48
48
private static final String NET40 = "v4.0" ;
49
49
private static final String NET35 = "v3.5" ;
50
- // TODO: v5.0 is PCL, not netstandard version 1.3, and not a specific .NET Framework. This needs to be updated,
51
- // especially because it will conflict with .NET Framework 5.0 when released, and PCL 5 refers to Framework 4.0.
52
- // We should support either NETSTANDARD, PCL, or Both… but the concepts shouldn't be mixed.
53
- private static final String NETSTANDARD = "v5.0" ;
50
+ private static final String NETSTANDARD = "netstandard1.3" ;
54
51
private static final String UWP = "uwp" ;
55
52
56
53
// Defines the sdk option for targeted frameworks, which differs from targetFramework and targetFrameworkNuget
@@ -312,14 +309,12 @@ public void processOpts() {
312
309
setSupportsAsync (Boolean .FALSE );
313
310
} else if (NETSTANDARD .equals (this .targetFramework )) {
314
311
LOGGER .warn (".NET Standard 1.3 support has been DEPRECATED in this generator. Please use `csharp-netcore` generator instead." );
315
- // TODO: NETSTANDARD here is misrepresenting a PCL v5.0 which supports .NET Framework 4.6+, .NET Core 1.0, and Windows Universal 10.0
316
312
additionalProperties .put (MCS_NET_VERSION_KEY , "4.6-api" );
317
313
if (additionalProperties .containsKey ("supportsUWP" )) {
318
314
LOGGER .warn (".NET " + NETSTANDARD + " generator does not support UWP." );
319
315
additionalProperties .remove ("supportsUWP" );
320
316
}
321
317
322
- // TODO: NETSTANDARD=v5.0 and targetFrameworkNuget=netstandard1.3. These need to sync.
323
318
setTargetFrameworkNuget ("netstandard1.3" );
324
319
setSupportsAsync (Boolean .TRUE );
325
320
setSupportsUWP (Boolean .FALSE );
0 commit comments