Commit c73302c
Fix mono master build (#112)
Properly use `nunit.framework.dll` from NuGet packages. Mono 4.9
changes `nunit.framework.dll` so that all types and members are
`[Obsolete(IsError=true)]`, i.e. referencing them results in e.g.:
GrefsTest.cs(12,3): error CS0619: `NUnit.Framework.TestFixtureAttribute' is obsolete:
`The NUnit framework shipped with Mono is deprecated and will be removed in a future release.
It was based on NUnit 2.4 which is long outdated. Please move to the NUnit NuGet package or
some other form of acquiring NUnit.'
Some project files were properly using the NuGet package, but not all
of them. Fix all of the project files so that the NuGet package's
`nunit.framework.dll` is correctly used.
Additionally, set `$(DebugType)` to `Full` in `TestJVM.csproj`, to
work around a [Roslyn bug][0].
[0]: https://bugzilla.xamarin.com/show_bug.cgi?id=511751 parent 769f944 commit c73302c
File tree
6 files changed
+11
-10
lines changed- src
- Java.Interop.Dynamic/Tests
- Xamarin.Android.Tools.ApiXmlAdjuster/Tests
- tests
- Java.Interop-PerformanceTests
- TestJVM
- tools
- generator/Tests
- logcat-parse/Tests
6 files changed
+11
-10
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
| 56 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
0 commit comments