System.Data.SQLite

Check-in [63e49af71a]
Login

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

Overview
Comment:Remove the shared PowerShell scripts for NuGet as they are no longer required.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | nugetChanges
Files: files | file ages | folders
SHA1: 63e49af71a259baaaca445c511424782e1839d94
User & Date: mistachkin 2014-09-04 02:59:41.288
Context
2014-09-04
03:46
Merge updates from trunk. check-in: 30a16ee47c user: mistachkin tags: nugetChanges
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
Changes
Unified Diff Ignore Whitespace Patch
Changes to NuGet/SQLite.Core.Beta.nuspec.
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
    <file src="..\bin\2010\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x86" />
    <file src="..\bin\2010\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x64" />
    <file src="..\bin\2012\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x86" />
    <file src="..\bin\2012\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x64" />
    <file src="..\bin\2013\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x86" />
    <file src="..\bin\2013\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x64" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net20\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net20\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net20\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net40\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net40\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net40\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net45\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net45\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net45\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net451\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net451\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net451\uninstall.ps1" />
  </files>
</package>







<
<

<
<

<
<

<
<


35
36
37
38
39
40
41


42


43


44


45
46
    <file src="..\bin\2010\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x86" />
    <file src="..\bin\2010\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x64" />
    <file src="..\bin\2012\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x86" />
    <file src="..\bin\2012\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x64" />
    <file src="..\bin\2013\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x86" />
    <file src="..\bin\2013\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x64" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net20\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net40\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net45\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net451\System.Data.SQLite.Core.targets" />


  </files>
</package>
Changes to NuGet/SQLite.Core.Test.nuspec.
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
    <file src="..\bin\2010\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x86" />
    <file src="..\bin\2010\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x64" />
    <file src="..\bin\2012\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x86" />
    <file src="..\bin\2012\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x64" />
    <file src="..\bin\2013\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x86" />
    <file src="..\bin\2013\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x64" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net20\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net20\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net20\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net40\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net40\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net40\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net45\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net45\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net45\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net451\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net451\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net451\uninstall.ps1" />
  </files>
</package>







<
<

<
<

<
<

<
<


35
36
37
38
39
40
41


42


43


44


45
46
    <file src="..\bin\2010\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x86" />
    <file src="..\bin\2010\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x64" />
    <file src="..\bin\2012\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x86" />
    <file src="..\bin\2012\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x64" />
    <file src="..\bin\2013\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x86" />
    <file src="..\bin\2013\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x64" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net20\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net40\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net45\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net451\System.Data.SQLite.Core.targets" />


  </files>
</package>
Changes to NuGet/SQLite.Core.nuspec.
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
    <file src="..\bin\2010\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x86" />
    <file src="..\bin\2010\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x64" />
    <file src="..\bin\2012\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x86" />
    <file src="..\bin\2012\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x64" />
    <file src="..\bin\2013\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x86" />
    <file src="..\bin\2013\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x64" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net20\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net20\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net20\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net40\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net40\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net40\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net45\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net45\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net45\uninstall.ps1" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net451\System.Data.SQLite.Core.targets" />
    <file src="shared\Core\tools\install.ps1" target="tools\net451\install.ps1" />
    <file src="shared\Core\tools\uninstall.ps1" target="tools\net451\uninstall.ps1" />
  </files>
</package>







<
<

<
<

<
<

<
<


35
36
37
38
39
40
41


42


43


44


45
46
    <file src="..\bin\2010\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x86" />
    <file src="..\bin\2010\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net40\x64" />
    <file src="..\bin\2012\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x86" />
    <file src="..\bin\2012\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net45\x64" />
    <file src="..\bin\2013\Win32\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x86" />
    <file src="..\bin\2013\x64\ReleaseNativeOnlyStatic\SQLite.Interop.dll" target="build\net451\x64" />
    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net20\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net40\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net45\System.Data.SQLite.Core.targets" />


    <file src="shared\Core\build\System.Data.SQLite.Core.targets" target="build\net451\System.Data.SQLite.Core.targets" />


  </files>
</package>
Deleted NuGet/shared/Core/tools/install.ps1.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
###############################################################################
#
# install.ps1 --
#
# Written by Joe Mistachkin, updates by David Archer.
# Released to the public domain, use at your own risk!
#
###############################################################################

param($installPath, $toolsPath, $package, $project)

$platformNames = "x86", "x64"
$fileName = "SQLite.Interop.dll"

$netFxPath = Split-Path $toolsPath -Leaf
$buildPath = Join-Path $toolsPath ".." -Resolve
$buildPath = Join-Path $buildPath ".." -Resolve
$buildPath = Join-Path $buildPath "build" -Resolve
$buildPath = Join-Path $buildPath $netFxPath -Resolve

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,
      #       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()
      }
    } else {
      #
      # NOTE: Apparently, there are circumstances where this call to add
      #       the folder can fail, e.g. when the user manually excludes
      #       it from the project and then deletes the directory on the
      #       file system from outside of Visual Studio.
      #
      $folder = $project.ProjectItems.AddFolder($platformName)
    }
  }

  $item = $folder.ProjectItems | where {
    $_.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)
}
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<






































































































































Deleted NuGet/shared/Core/tools/uninstall.ps1.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
###############################################################################
#
# uninstall.ps1 --
#
# Written by Joe Mistachkin, updates by David Archer.
# Released to the public domain, use at your own risk!
#
###############################################################################

param($installPath, $toolsPath, $package, $project)

$platformNames = "x86", "x64"
$fileName = "SQLite.Interop.dll"
$isLinkPropertyName = "IsLink"

foreach($platformName in $platformNames) {
  $folder = $project.ProjectItems | where {
    $_.Name -eq $platformName
  }

  if ($folder -eq $null) {
    continue
  }

  $item = $folder.ProjectItems | where { $_.Name -eq $fileName }

  if ($item -ne $null) {
    $isLinkProperty = $item.Properties | where {
      $_.Name -eq $isLinkPropertyName
    }

    if (($isLinkProperty -ne $null) -and ($isLinkProperty.Value)) {
      $item.Delete()
    }
  }

  #
  # NOTE: Great care is needed here.  If the folder contains items other
  #       than the items this script is responsible for, it must be left
  #       alone.  Furthermore, the directory (on the file system) should
  #       be deleted if it ends up empty due to this script.
  #
  if ($folder.ProjectItems.Count -eq 0) {
    $folderPath = $folder.FileNames(1)

    if (Test-Path $folderPath) {
      $folderItems = Get-ChildItem -Path $folderPath -Recurse

      if ($folderItems -eq $null) {
        $folder.Delete()
      } else {
        $folder.Remove()
      }
    }
  }
}
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
















































































































Changes to Setup/data/verify.lst.
152
153
154
155
156
157
158
159
160
161

162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
  Externals/Eagle/lib/Eagle1.0/
  Externals/Eagle/lib/Eagle1.0/vendor.eagle
  Externals/Eagle/lib/Test1.0/
  Keys/
  Keys/System.Data.SQLite.CF.snk
  Keys/System.Data.SQLite.snk
  NuGet/
  NuGet/net20/
  NuGet/net20/Core/
  NuGet/net20/Core/config.transform

  NuGet/net20/Core/install.ps1
  NuGet/net20/Core/uninstall.ps1
  NuGet/net40/
  NuGet/net40/Core/
  NuGet/net40/Core/config.transform
  NuGet/net40/Core/install.ps1
  NuGet/net40/Core/uninstall.ps1
  NuGet/net40/EF6/
  NuGet/net40/EF6/config.transform
  NuGet/net40/EF6/provider.ps1
  NuGet/SQLite.Beta.nuspec
  NuGet/SQLite.Core.nuspec
  NuGet/SQLite.Core.Beta.nuspec
  NuGet/SQLite.Core.MSIL.nuspec
  NuGet/SQLite.Core.MSIL.Beta.nuspec
  NuGet/SQLite.Core.MSIL.Test.nuspec
  NuGet/SQLite.Core.Test.nuspec







|
|
|
>
|
|

|
<
|
<
|
|
|







152
153
154
155
156
157
158
159
160
161
162
163
164
165
166

167

168
169
170
171
172
173
174
175
176
177
  Externals/Eagle/lib/Eagle1.0/
  Externals/Eagle/lib/Eagle1.0/vendor.eagle
  Externals/Eagle/lib/Test1.0/
  Keys/
  Keys/System.Data.SQLite.CF.snk
  Keys/System.Data.SQLite.snk
  NuGet/
  NuGet/shared/
  NuGet/shared/Core/
  NuGet/shared/Core/build/
  NuGet/shared/Core/build/System.Data.SQLite.Core.targets
  NuGet/shared/Core/content/
  NuGet/shared/Core/content/config.transform
  NuGet/net40/
  NuGet/net40/EF6/

  NuGet/net40/EF6/content/

  NuGet/net40/EF6/content/config.transform
  NuGet/net40/EF6/tools/
  NuGet/net40/EF6/tools/provider.ps1
  NuGet/SQLite.Beta.nuspec
  NuGet/SQLite.Core.nuspec
  NuGet/SQLite.Core.Beta.nuspec
  NuGet/SQLite.Core.MSIL.nuspec
  NuGet/SQLite.Core.MSIL.Beta.nuspec
  NuGet/SQLite.Core.MSIL.Test.nuspec
  NuGet/SQLite.Core.Test.nuspec