System.Data.SQLite
Check-in [50c649a956]
Not logged in

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

Overview
Comment:Fix conditions on the strong name targets.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | vs2012
Files: files | file ages | folders
SHA1: 50c649a956987180d13503e4e73d73dc24108866
User & Date: mistachkin 2012-09-14 09:11:51
Context
2012-09-14
09:14
Fix compiler warning. check-in: 76637ea284 user: mistachkin tags: vs2012
09:11
Fix conditions on the strong name targets. check-in: 50c649a956 user: mistachkin tags: vs2012
09:03
Make the strong name signing target(s) and build steps more robust when Visual Studio 2012 is installed. check-in: bca430acc5 user: mistachkin tags: vs2012
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.NET.targets.

    62     62       </GetFrameworkSDKPath>
    63     63   
    64     64       <Exec Condition="'$(DirForStrongName)' != '' And
    65     65                        HasTrailingSlash('$(DirForStrongName)') And
    66     66                        Exists('$(DirForStrongName)bin\sn.exe')"
    67     67             Command="&quot;$(DirForStrongName)bin\sn.exe&quot; -Ra &quot;$(TargetPath)&quot; &quot;$(AssemblyOriginatorKeyFile)&quot;" />
    68     68   
    69         -    <Touch AlwaysCreate="true"
           69  +    <Touch Condition="'$(DirForStrongName)' != '' And
           70  +                     HasTrailingSlash('$(DirForStrongName)') And
           71  +                     Exists('$(DirForStrongName)bin\sn.exe')"
           72  +           AlwaysCreate="true"
    70     73              Files="$(TargetPath).StrongNameSign.done" />
    71     74     </Target>
    72     75   
    73     76     <!--
    74     77     ******************************************************************************
    75     78     -->
    76     79   
................................................................................
    81     84             Inputs="$(TargetPath)"
    82     85             Outputs="$(TargetPath).StrongNameSign.done">
    83     86       <Exec Condition="'$(TargetFrameworkSDKToolsDirectory)' != '' And
    84     87                        HasTrailingSlash('$(TargetFrameworkSDKToolsDirectory)') And
    85     88                        Exists('$(TargetFrameworkSDKToolsDirectory)sn.exe')"
    86     89             Command="&quot;$(TargetFrameworkSDKToolsDirectory)sn.exe&quot; -Ra &quot;$(TargetPath)&quot; &quot;$(AssemblyOriginatorKeyFile)&quot;" />
    87     90   
    88         -    <Touch AlwaysCreate="true"
           91  +    <Touch Condition="'$(TargetFrameworkSDKToolsDirectory)' != '' And
           92  +                     HasTrailingSlash('$(TargetFrameworkSDKToolsDirectory)') And
           93  +                     Exists('$(TargetFrameworkSDKToolsDirectory)sn.exe')"
           94  +           AlwaysCreate="true"
    89     95              Files="$(TargetPath).StrongNameSign.done" />
    90     96     </Target>
    91     97   
    92     98     <!--
    93     99     ******************************************************************************
    94    100     -->
    95    101