Commit b57d60a
committed
mark dependencies as private assets for msbuild
Chnage that all references of the msbuild package are marked as private
assets, so they don't get added as dependency to the nuget package.
The dependecies field of the nuspec before the change:
```xml
<dependencies>
<group targetFramework="net6.0">
<dependency id="System.Text.Json" version="8.0.1" exclude="Build,Analyzers" />
</group>
<group targetFramework="net7.0">
<dependency id="System.Text.Json" version="8.0.1" exclude="Build,Analyzers" />
</group>
<group targetFramework="net8.0">
<dependency id="System.Text.Json" version="8.0.1" exclude="Build,Analyzers" />
</group>
</dependencies>
```
and afer the change the dependencies of the nuspec look like this:
```xml
<dependencies>
<group targetFramework="net6.0" />
<group targetFramework="net7.0" />
<group targetFramework="net8.0" />
</dependencies>
```1 parent bb5e40a commit b57d60a
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | | - | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
0 commit comments