Commit da5f6ac
committed
(#3835) Remove reference to Chocolatey.PowerShell
The chocolatey.console project had a reference to the
Chocolatey.PowerShell when it wasn't needed. Before, this wasn't
causing any problems, but with the uplift to the new csproj format, and
the fact that it brings in transitive dependencies into a project, the
fact that there is a StringResources in both chocolatey.lib and
Chocolatey.PowerShell (the file is linked from one project to the
other), it means that there are two references to the same thing, and
as a result, as usage of StringResources is broken.
Splitting the project reference seems like the correct course of
action. The Chocolatey.PowerShell assembly is only used within the
PowerShell execution of Chocolatey CLI, so no direct project reference
should ever be needed.1 parent 1c0ba6b commit da5f6ac
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
0 commit comments