Artifact
847a3997768174776a4e183769b94634dd1b5822:
- File
NuGet/net20/Core/install.ps1
— part of check-in
[0ee4f5564f]
at
2014-02-19 01:06:46
on branch trunk
— Refactor how the NuGet package internals are organized.
(user:
mistachkin
size: 818)
- File
NuGet/net20/install.ps1
— part of check-in
[b4ff09e435]
at
2014-01-15 22:37:36
on branch trunk
— Refactor and enhance all NuGet packages, adding configuration transform support and registration of the EF6 provider, where applicable.
(user:
mistachkin
size: 818)
- File
NuGet/net40/Core/install.ps1
— part of check-in
[0ee4f5564f]
at
2014-02-19 01:06:46
on branch trunk
— Refactor how the NuGet package internals are organized.
(user:
mistachkin
size: 818)
- File
install.ps1
— part of check-in
[87d746055b]
at
2012-06-24 17:19:36
on branch trunk
— Modify the primary NuGet package to make it 'universal' (i.e. applicable to x86/x64 as well as .NET 2.0/4.0) using a custom 'install.ps1' PowerShell script in combination with the native library pre-loading code.
(user:
mistachkin
size: 818)
###############################################################################
#
# install.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, $project)
$platformNames = "x86", "x64"
$fileName = "SQLite.Interop.dll"
$propertyName = "CopyToOutputDirectory"
foreach($platformName in $platformNames) {
$folder = $project.ProjectItems.Item($platformName)
if ($folder -eq $null) {
continue
}
$item = $folder.ProjectItems.Item($fileName)
if ($item -eq $null) {
continue
}
$property = $item.Properties.Item($propertyName)
if ($property -eq $null) {
continue
}
$property.Value = 1
}