Commit daec07b
authored
[build] Fix various warnings (#812)
Update `Java.Interop.dll` to fix some nullable reference type warnings.
Update `Java.Interop.Localization.csproj` to add
`$(NeutralLanguage)`=en, which fixes:
Warning CA1824: Mark assemblies with NeutralResourcesLanguageAttribute
This basically says that the "neutral" language within
`Java.Interop.Localization.dll` is also the English translation, so
we don't need to spend time probing for satellite resource assemblies
when the English language is requested.
Update `Java.Runtime.Environment.csproj` to add
`$(MSBuildWarningsAsMessages)`=NU1702, to suppress the following:
Warning NU1702: ProjectReference 'D:\a\1\s\src\java-interop\java-interop.csproj'
was resolved using '.NETFramework,Version=v4.7.2' instead of the project
target framework '.NETStandard,Version=v2.0'.
This project may not be fully compatible with your project.1 parent 678c4bd commit daec07b
File tree
6 files changed
+8
-3
lines changed- src
- Java.Interop.Localization
- Java.Interop/Java.Interop
- Java.Runtime.Environment
6 files changed
+8
-3
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments