Commit d568018
committed
Exclude MSBuild assemblies from runtime output
Added a `<PackageReference>` for `Microsoft.Build.Framework`
(version `17.11.31`) in `Directory.Build.props` with
`<ExcludeAssets>` set to `runtime`. This prevents assembly-loading
conflicts caused by MSBuild assemblies being copied to the
application's `bin` folder, which could lead to errors like
`RPC_E_CALL_REJECTED`.
Included detailed comments explaining the rationale, runtime
behavior, and guidance for maintaining the correct package version.1 parent 0546461 commit d568018
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
15 | 43 | | |
0 commit comments