System.Data.SQLite
Check-in [5fafa3aa6e]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:All uses of the Join-Path cmdlet should probably use the -Resolve option.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | nugetChanges
Files: files | file ages | folders
SHA1: 5fafa3aa6e4e8b85ab3482e78bccdf6db87a41a2
User & Date: mistachkin 2014-09-04 00:52:01
Context
2014-09-04
02:59
Remove the shared PowerShell scripts for NuGet as they are no longer required. check-in: 63e49af71a user: mistachkin tags: nugetChanges
00:52
All uses of the Join-Path cmdlet should probably use the -Resolve option. check-in: 5fafa3aa6e user: mistachkin tags: nugetChanges
00:41
Remove superfluous property setting from the NuGet install script. Fix typo in the NuGet targets file. check-in: b23659c738 user: mistachkin tags: nugetChanges
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to NuGet/shared/Core/tools/install.ps1.

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
..
56
57
58
59
60
61
62
63
64
65
66
67
foreach($platformName in $platformNames) {
  $folder = $project.ProjectItems | where {
    $_.Name -eq $platformName
  }

  if ($folder -eq $null) {
    $projectPath = Split-Path $project.FullName
    $folderPath = Join-Path $projectPath $platformName

    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,
................................................................................
    $_.Name -eq $fileName
  }

  if ($item -ne $null) {
    continue
  }

  $itemSourceDirectory = Join-Path $buildPath $platformName
  $itemSourceFileName = Join-Path $itemSourceDirectory $fileName

  $item = $folder.ProjectItems.AddFromFile($itemSourceFileName)
}







|







 







|
|



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
..
56
57
58
59
60
61
62
63
64
65
66
67
foreach($platformName in $platformNames) {
  $folder = $project.ProjectItems | where {
    $_.Name -eq $platformName
  }

  if ($folder -eq $null) {
    $projectPath = Split-Path $project.FullName
    $folderPath = Join-Path $projectPath $platformName -Resolve

    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,
................................................................................
    $_.Name -eq $fileName
  }

  if ($item -ne $null) {
    continue
  }

  $itemSourceDirectory = Join-Path $buildPath $platformName -Resolve
  $itemSourceFileName = Join-Path $itemSourceDirectory $fileName -Resolve

  $item = $folder.ProjectItems.AddFromFile($itemSourceFileName)
}