FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ChocolateyGUI/Update-DebugConfiguration.ps1 at develop · chocolatey/ChocolateyGUI · GitHub
chocolatey
/
ChocolateyGUI
Public
Notifications
You must be signed in to change notification settings
Fork
273
Star
1.8k
Code
Issues
158
Pull requests
5
Discussions
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
ChocolateyGUI
/
Update-DebugConfiguration.ps1
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (8 loc) · 671 Bytes
Breadcrumbs
ChocolateyGUI
/
Update-DebugConfiguration.ps1
Copy path
File metadata and controls
10 lines (8 loc) · 671 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
$ChocolateyPackages
=
choco list
-
lo
-
r
|
ConvertFrom-Csv
-
Delimiter
'
|
'
-
Header Package
,
Version
$NugetPackage
=
$ChocolateyPackages
|
Where-Object
Package
-EQ
nuget.commandline
$ChocolateyVersion
=
$ChocolateyPackages
|
Where-Object
Package
-EQ
'
chocolatey
'
If
(
$null
-eq
$NugetPackage
) {
throw
"
You must have nuget.commandline installed in order to automatically update Chocolatey.lib. Alternatively you can update Chocolatey.lib in Visual Studio to Version '
$
(
$ChocolateyVersion
.Version
)
'
"
}
nuget restore
$PSScriptRoot
/
Source
/
ChocolateyGui.sln
nuget update
$PSScriptRoot
/
Source
/
ChocolateyGui.sln
-
Id Chocolatey.lib
-
Version
$ChocolateyVersion
.Version
Back
|
FazBrowse Home
|
New Git URL