Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Attempt to use the 'vswhere' tool to locate the SDK for Visual Studio 2017 for the design-time components project. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | vs2017 |
Files: | files | file ages | folders |
SHA1: |
0199d92b58e21dcac7462a78d0a0bf8a |
User & Date: | mistachkin 2017-08-02 19:09:05.390 |
Context
2017-08-02
| ||
19:18 | Apparently, the 'installationPath' property produced by 'vswhere' for Visual Studio 2017 does not have a trailing backslash. check-in: 1a27c3db68 user: mistachkin tags: vs2017 | |
19:09 | Attempt to use the 'vswhere' tool to locate the SDK for Visual Studio 2017 for the design-time components project. check-in: 0199d92b58 user: mistachkin tags: vs2017 | |
17:51 | Fix the PlatformToolset values for the SQLite interop assembly projects. check-in: 956049da1d user: mistachkin tags: vs2017 | |
Changes
Changes to SQLite.Designer/SQLite.Designer.2017.csproj.
︙ | ︙ | |||
48 49 50 51 52 53 54 | <Reference Include="System.Drawing" /> <Reference Include="System.Windows.Forms" /> <Reference Include="System.Xml" /> <Reference Include="EnvDTE"> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Microsoft.Data.ConnectionUI"> | | | | | | | | | | | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | <Reference Include="System.Drawing" /> <Reference Include="System.Windows.Forms" /> <Reference Include="System.Xml" /> <Reference Include="EnvDTE"> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Microsoft.Data.ConnectionUI"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Data.ConnectionUI.dll</HintPath> <SpecificVersion>False</SpecificVersion> <Private>False</Private> </Reference> <Reference Include="Microsoft.VisualStudio.Data"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.dll</HintPath> <SpecificVersion>False</SpecificVersion> <Private>False</Private> </Reference> <Reference Include="Microsoft.VisualStudio.Data.Services"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.Services.dll</HintPath> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Microsoft.VisualStudio.OLE.Interop"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.OLE.Interop.dll</HintPath> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Microsoft.VisualStudio.Shell.14.0"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.15.0.dll</HintPath> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Microsoft.VisualStudio.Shell.Interop"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.dll</HintPath> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.8.0.dll</HintPath> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Microsoft.VisualStudio.Shell.Interop.9.0"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.9.0.dll</HintPath> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Microsoft.VisualStudio.Shell.Interop.10.0"> <HintPath>$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.10.0.dll</HintPath> <SpecificVersion>False</SpecificVersion> </Reference> </ItemGroup> <ItemGroup> <Compile Include="AssemblyInfo.cs" /> <Compile Include="ChangePasswordDialog.cs"> <SubType>Form</SubType> |
︙ | ︙ | |||
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | <ItemGroup> <None Include="Resources\info.png" /> <None Include="Resources\ToolboxItems.txt" /> <None Include="source.extension.vsixmanifest" /> </ItemGroup> <Import Project="$(SQLiteNetDir)\System.Data.SQLite\Targets\System.Data.SQLite.Properties.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <PropertyGroup Condition="'$(NetFx47)' == 'false'"> <!-- NOTE: We cannot build this project unless the version of the .NET Framework matches exactly. --> <BuildDependsOn> WrongNetFx </BuildDependsOn> </PropertyGroup> | > > > > > > | | | | | | | | | | | 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | <ItemGroup> <None Include="Resources\info.png" /> <None Include="Resources\ToolboxItems.txt" /> <None Include="source.extension.vsixmanifest" /> </ItemGroup> <Import Project="$(SQLiteNetDir)\System.Data.SQLite\Targets\System.Data.SQLite.Properties.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <PropertyGroup> <BuildDependsOn> TryToFindVsSdk2017; $(BuildDependsOn); </BuildDependsOn> </PropertyGroup> <PropertyGroup Condition="'$(NetFx47)' == 'false'"> <!-- NOTE: We cannot build this project unless the version of the .NET Framework matches exactly. --> <BuildDependsOn> WrongNetFx </BuildDependsOn> </PropertyGroup> <PropertyGroup Condition="'$(VSSDK150Install)' == '' Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Data.ConnectionUI.dll') Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.dll') Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Data.Services.dll') Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.OLE.Interop.dll') Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.15.0.dll') Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.dll') Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.8.0.dll') Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.9.0.dll') Or !Exists('$(VSSDK150Install)VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.10.0.dll')"> <!-- NOTE: We cannot build this project without the necessary reference assemblies; therefore, skip building it altogether. --> <BuildDependsOn> MissingVsSdk </BuildDependsOn> |
︙ | ︙ |
Changes to Targets/SQLite.NET.targets.
︙ | ︙ | |||
254 255 256 257 258 259 260 261 | '$(BaseConfiguration)' != '' And '$(Platform)' != ''"> <Exec Command="XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\$(BaseConfiguration)\bin\$(Platform)\" /D /E /V /I /F /H /Y" /> <Exec Condition="'$(DoesMachineMatchPlatform)' != 'false'" Command="XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\$(BaseConfiguration)\bin\" /D /E /V /I /F /H /Y" /> </Target> </Project> | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | '$(BaseConfiguration)' != '' And '$(Platform)' != ''"> <Exec Command="XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\$(BaseConfiguration)\bin\$(Platform)\" /D /E /V /I /F /H /Y" /> <Exec Condition="'$(DoesMachineMatchPlatform)' != 'false'" Command="XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\$(BaseConfiguration)\bin\" /D /E /V /I /F /H /Y" /> </Target> <!-- ****************************************************************************** --> <Target Name="TryToFindVsSdk2017" Condition="'$(TryToFindVsSdk2017)' != 'false' And '$(SQLiteNetDir)' != '' And !HasTrailingSlash('$(SQLiteNetDir)') And Exists('$(SQLiteNetDir)\Externals\vswhere\vswhere.exe')"> <!-- HACK: Use a couple undocumented properties of the Exec task in order to capture the console output of the "vswhere" command. This is needed to locate the SDK for Visual Studio 2017. For more information, see: https://stackoverflow.com/questions/8938679 --> <Exec ConsoleToMSBuild="true" Command=""$(SQLiteNetDir)\Externals\vswhere\vswhere.exe" -version 15.0 -products * -requires Microsoft.VisualStudio.Component.VSSDK -property installationPath" WorkingDirectory="$(EagleLibraryToolsDir)"> <Output TaskParameter="ConsoleOutput" PropertyName="VS150INSTALLATIONPATH" /> </Exec> <CreateProperty Condition="'$(VS150INSTALLATIONPATH)' != '' And HasTrailingSlash('$(VS150INSTALLATIONPATH)') And Exists('$(VS150INSTALLATIONPATH)VSSDK')" Value="$(VS150INSTALLATIONPATH)VSSDK"> <Output TaskParameter="Value" PropertyName="VSSDK150Install" /> </CreateProperty> </Target> </Project> |