Commit 525a45d
authored
[Java.Interop.Dynamic-Tests] Use Microsoft.CSharp NuGet package (#1067)
Each CI job reports the following warnings:
C:\hostedtoolcache\windows\dotnet\sdk\7.0.100-rc.1.22431.12\Microsoft.Common.CurrentVersion.targets(2350,5):
warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.CSharp".
Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\hostedtoolcache\windows\dotnet\sdk\7.0.100-rc.1.22431.12\Microsoft.Common.CurrentVersion.targets(2350,5):
warning MSB3243: No way to resolve conflict between "Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
and "Microsoft.CSharp". Choosing "Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily.
Fix these warnings by using a `@(PackageReference)` to
[`Microsoft.CSharp`][0] instead of a `@(Reference)`.
[0]: https://www.nuget.org/packages/Microsoft.CSharp1 parent 149d70f commit 525a45d
File tree
2 files changed
+2
-4
lines changed- tests/Java.Interop.Dynamic-Tests
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
| |||
0 commit comments