Commit 1b59dcc
authored
[java-interop] Update to SDK style project (#657)
Update `java-interop.csproj` to be an SDK-style style.
This is a bit tricky because this is not a C# assembly, it is just
hijacking a `.csproj` and overriding some targets to build a C lib.
It felt cleaner to go with a more "supported" version of doing this,
so the project is built on [Microsoft.Build.NoTargets][0], which is
designed to run arbitrary commands without building an assembly.
Also switches to a stable Mono. Not sure if this is necessary but the
more modern the `MSBuild` support when working with SDK style projects,
the better.
The automatic downloading of the `NoTargets` package didn't work with
our `globalPackagesFolder` set to `$\..\packages`, so that was changed
to `packages`, which is what XA uses and it works.
[0]: https://github.com/microsoft/MSBuildSdks/tree/master/src/NoTargets1 parent b136ac9 commit 1b59dcc
File tree
4 files changed
+29
-42
lines changed- build-tools/automation
- src/java-interop
4 files changed
+29
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 3 | + | |
14 | 4 | | |
15 | 5 | | |
16 | 6 | | |
17 | | - | |
18 | | - | |
| 7 | + | |
19 | 8 | | |
20 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
21 | 15 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 16 | | |
27 | | - | |
28 | | - | |
29 | 17 | | |
| 18 | + | |
30 | 19 | | |
31 | 20 | | |
32 | 21 | | |
33 | 22 | | |
34 | 23 | | |
| 24 | + | |
35 | 25 | | |
36 | 26 | | |
37 | 27 | | |
38 | 28 | | |
| 29 | + | |
39 | 30 | | |
40 | 31 | | |
41 | 32 | | |
42 | 33 | | |
43 | 34 | | |
44 | 35 | | |
| 36 | + | |
45 | 37 | | |
46 | 38 | | |
47 | 39 | | |
| |||
50 | 42 | | |
51 | 43 | | |
52 | 44 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 45 | + | |
61 | 46 | | |
| 47 | + | |
62 | 48 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| 38 | + | |
36 | 39 | | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| 54 | + | |
50 | 55 | | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
| |||
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
76 | | - | |
77 | | - | |
78 | 83 | | |
0 commit comments