Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix typo in comment. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | nugetChanges |
Files: | files | file ages | folders |
SHA1: |
7879082337a8cab2c231aafc5214aac2 |
User & Date: | mistachkin 2014-08-19 02:12:19 |
Context
2014-08-19
| ||
04:34 | Verify the folder path exists prior to calling the PowerShell Get-ChildItem cmdlet on it during uninstall. check-in: 007720e8f0 user: mistachkin tags: nugetChanges | |
02:12 | Fix typo in comment. check-in: 7879082337 user: mistachkin tags: nugetChanges | |
2014-08-18
| ||
20:42 | Preliminary changes to support having the NuGet packages use per-solution files. check-in: 3c017a0eaf user: mistachkin tags: nugetChanges | |
Changes
Changes to NuGet/net20/Core/install.ps1.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
if (Test-Path $folderPath) { $folder = $project.ProjectItems.AddFromDirectory($folderPath) # # NOTE: Since the EnvDTE.AddFromDirectory method is hard-wired to # recursively add an existing folder *and* all of its files, # it is necessary to remove all its items after adding. # This should be completely "safe" since the folder was just # added by this script and did not exist in the project prior # to that point. # foreach ($item in $folder.ProjectItems) { $item.Remove() } |
| |
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
if (Test-Path $folderPath) {
$folder = $project.ProjectItems.AddFromDirectory($folderPath)
#
# NOTE: Since the EnvDTE.AddFromDirectory method is hard-wired to
# recursively add an existing folder *and* all of its files,
# it is necessary to remove all of its items after adding.
# This should be completely "safe" since the folder was just
# added by this script and did not exist in the project prior
# to that point.
#
foreach ($item in $folder.ProjectItems) {
$item.Remove()
}
|
Changes to NuGet/net40/Core/install.ps1.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
if (Test-Path $folderPath) { $folder = $project.ProjectItems.AddFromDirectory($folderPath) # # NOTE: Since the EnvDTE.AddFromDirectory method is hard-wired to # recursively add an existing folder *and* all of its files, # it is necessary to remove all its items after adding. # This should be completely "safe" since the folder was just # added by this script and did not exist in the project prior # to that point. # foreach ($item in $folder.ProjectItems) { $item.Remove() } |
| |
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
if (Test-Path $folderPath) {
$folder = $project.ProjectItems.AddFromDirectory($folderPath)
#
# NOTE: Since the EnvDTE.AddFromDirectory method is hard-wired to
# recursively add an existing folder *and* all of its files,
# it is necessary to remove all of its items after adding.
# This should be completely "safe" since the folder was just
# added by this script and did not exist in the project prior
# to that point.
#
foreach ($item in $folder.ProjectItems) {
$item.Remove()
}
|