ft Corporation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">


    <PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == 'Silverlight'">
        <!--If the path to the sign tool is not set, try the Windows SDK path or the Framework SDK path -->
        <Windows8SDKInstallationFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1', 'InstallationFolder', null, RegistryView.Registry32, RegistryView.Default))</Windows8SDKInstallationFolder>
        <Windows8SDKInstallationFolder Condition="'$(Windows8SDKInstallationFolder)' == ''">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0', 'InstallationFolder', null, RegistryView.Registry32, RegistryView.Default))</Windows8SDKInstallationFolder>

        <_WindowsSDKSignToolPath Condition="'$(Windows8SDKInstallationFolder)' != ''">$([System.IO.Path]::Combine('$(Windows8SDKInstallationFolder)', 'bin\x86'))</_WindowsSDKSignToolPath>

        <SignToolPath Condition="'$(SignToolPath)' == '' and Exists('$(_WindowsSDKSignToolPath)\SignTool.exe')">$(_WindowsSDKSignToolPath)</SignToolPath>
        <SignToolPath Condition="'$(SignToolPath)' == ''">$(FrameworkSDKRoot)bin</SignToolPath>
    </PropertyGroup>
</Project>