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
[build] Remove use of 'net472' Target Framework (#1099)
Remove use of and support for the `net472` target framework from both
the project files and from CI & PR builds.
Also removes some accumulated hacks for supporting Mono &
.NET Framework that are no longer needed.
Add a `Generator_BG8A08` localized error message.
Workaround for https://github.com/NuGet/Home/issues/6461 (VSWin Only)
15
-
Even though we don't build NuGet packages, it still attempts to build the NuGet package name, which includes
16
-
the assembly version if PackageVersion isn't specified. Because our assemblies have different versions
17
-
per-TFM, that causes a problem because the package can't have multiple versions in it.
18
-
Set a dummy PackageVersion because we don't actually need it.
19
-
-->
20
-
<PackageVersion>1.0.0.0</PackageVersion>
21
12
</PropertyGroup>
22
13
23
14
<Import
@@ -76,19 +67,10 @@
76
67
</PropertyGroup>
77
68
78
69
<!--
79
-
When building on a bot w/ VS2019:
80
-
81
-
warning CS8032: An instance of analyzer System.Text.Json.SourceGeneration.JsonSourceGenerator cannot be created from
82
-
83
-
however, with `$(TreatWarningsAsErrors)`=True, this becomes an error,
84
-
meaning we can't build on VS2019.
85
-
86
-
Ignore CS8032 so that we can build on VS2019.
87
-
88
70
JniEnvironment.g.cs(34,8): error CS8981: The type name 'jobject' only contains lower-cased ascii characters. Such names may become reserved for the language.
Copy file name to clipboardExpand all lines: TargetFrameworkDependentValues.props
+11-24
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,16 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<Project>
3
3
4
-
<PropertyGroupCondition=" '$(TargetFramework)' != '' And (!$(TargetFramework.StartsWith('nets')) And !$(TargetFramework.StartsWith('net4')) And !$(TargetFramework.StartsWith('monoandroid'))) ">
4
+
<PropertyGroupCondition=" '$(TargetFramework)' != '' And !$(TargetFramework.StartsWith('nets')) ">
0 commit comments