This repository was archived by the owner on Jul 12, 2022. It is now read-only.
Commit a1d2a92
committed
Ensure Sys.Col.Immutable copied to output
The code formatter depends on System.Collections.Immutable at runtime to
operate. This is a value which is not guaranteed to be in the GAC and
hence must be deployed with the tool to ensure it runs correctly.
The easiest way to do this is to ensure it is a part of the build
output. That way the output directory can be zipped up and deployed
without the need for custom actions.
Unfortunately other tools installed on developers machines were putting
the exact version of System.Collections.Immutable used by the tool into
the GAC. This caused the MSBuild logic to fail to copy the reference to
the output even if you specified CopyLocal=true. Making it Private=true
overrides even the GAC exception and the DLL does get copied.
closes #451 parent 5948268 commit a1d2a92
File tree
2 files changed
+4
-4
lines changed- src
- CodeFormatter
- Microsoft.DotNet.CodeFormatting
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
0 commit comments