Skip to content

Commit

Permalink
Removed unused functions from psake extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodejunkie committed Nov 5, 2010
1 parent a989baa commit 2323808
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions build/psake_ext.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,6 @@ function Get-Git-Commit
return $gitLog.Split(' ')[0]
}

function GetFrameworkPath
{
$bitness = "Framework"
if (Test-Path HKLM:Software\Wow6432Node) {
$bitness = 'Framework64'
}

return "$env:windir\Microsoft.NET\$bitness\v4.0.30319\"
}

function GetSilverlightPath
{
$root = "\SOFTWARE"
if (Test-Path HKLM:Software\Wow6432Node) {
$root = "\SOFTWARE\Wow6432Node"
}

$path = (Get-ItemProperty -Path "HKLM:\$root\Microsoft\Microsoft SDKs\Silverlight\v4.0\ReferenceAssemblies").SLRuntimeInstallPath

if($path.EndsWith("\") -eq $true)
{
$path = $path.SubString(0, $path.Length - 1)
}

return $path
}

function Generate-Assembly-Info
{
param(
Expand Down

0 comments on commit 2323808

Please sign in to comment.