Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Rename 'TryToFindVsSdk2017' MSBuild target to 'MaybeFindVsSdk2017'. Add 'MaybeMissingVsSdk2017' MSBuild target. Call both of them from the 'InitialTargets' property so they can actually override the build processing, if necessary. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | vs2017 |
Files: | files | file ages | folders |
SHA1: |
e1d9903754415f773b32626833e1ce67 |
User & Date: | mistachkin 2017-08-02 21:19:45.355 |
Context
2017-08-02
| ||
21:20 | Fix typos in the 'testlinq' project file for Visual Studio 2017. check-in: fa7b063622 user: mistachkin tags: vs2017 | |
21:19 | Rename 'TryToFindVsSdk2017' MSBuild target to 'MaybeFindVsSdk2017'. Add 'MaybeMissingVsSdk2017' MSBuild target. Call both of them from the 'InitialTargets' property so they can actually override the build processing, if necessary. check-in: e1d9903754 user: mistachkin tags: vs2017 | |
20:53 | Corrections to the 'TryToFindVsSdk2017' build target. Also, make it possible to use the target without needing the 'SQLiteNetDir' MSBuild property. check-in: 628098f876 user: mistachkin tags: vs2017 | |
Changes
Changes to SQLite.Designer/SQLite.Designer.2017.csproj.
1 2 3 4 5 6 7 8 9 | <?xml version="1.0" encoding="utf-8"?> <!-- * * SQLite.Designer.2017.csproj - * * Written by Joe Mistachkin. * Released to the public domain, use at your own risk! * --> | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?xml version="1.0" encoding="utf-8"?> <!-- * * SQLite.Designer.2017.csproj - * * Written by Joe Mistachkin. * Released to the public domain, use at your own risk! * --> <Project InitialTargets="MaybeFindVsSdk2017;MaybeMissingVsSdk2017" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> |
︙ | ︙ | |||
204 205 206 207 208 209 210 | <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" /> | < < < < < < < < < < < < < < < < < < < < < < < < | 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | <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> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --> </Project> |
Changes to Targets/SQLite.NET.targets.
︙ | ︙ | |||
257 258 259 260 261 262 263 264 265 | <Exec Condition="'$(DoesMachineMatchPlatform)' != 'false'" Command="XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\$(BaseConfiguration)\bin\" /D /E /V /I /F /H /Y" /> </Target> <!-- ****************************************************************************** --> | > > | | | 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 | <Exec Condition="'$(DoesMachineMatchPlatform)' != 'false'" Command="XCOPY "$(OutDir)$(TargetName).*" "$(OutDir)..\..\$(BaseConfiguration)\bin\" /D /E /V /I /F /H /Y" /> </Target> <!-- ****************************************************************************** ** Visual Studio 2017 Targets ** ****************************************************************************** --> <Target Name="MaybeFindVsSdk2017" Condition="'$(MaybeFindVsSdk2017)' != 'false' And '$(MSBuildProjectDirectory)' != '' And !HasTrailingSlash('$(MSBuildProjectDirectory)') And Exists('$(MSBuildProjectDirectory)\..\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 |
︙ | ︙ | |||
284 285 286 287 288 289 290 291 | <CreateProperty Condition="'$(VS150INSTALLATIONPATH)' != '' And !HasTrailingSlash('$(VS150INSTALLATIONPATH)') And Exists('$(VS150INSTALLATIONPATH)\VSSDK')" Value="$(VS150INSTALLATIONPATH)\VSSDK\"> <Output TaskParameter="Value" PropertyName="VSSDK150Install" /> </CreateProperty> </Target> </Project> | > > > > > > > > > > > > > > > > > > > > > > > > > | 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 | <CreateProperty Condition="'$(VS150INSTALLATIONPATH)' != '' And !HasTrailingSlash('$(VS150INSTALLATIONPATH)') And Exists('$(VS150INSTALLATIONPATH)\VSSDK')" Value="$(VS150INSTALLATIONPATH)\VSSDK\"> <Output TaskParameter="Value" PropertyName="VSSDK150Install" /> </CreateProperty> </Target> <!-- ****************************************************************************** --> <Target Name="MaybeMissingVsSdk2017" Condition="'$(MaybeMissingVsSdk2017)' != 'false' And ('$(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. --> <CreateProperty Value="MissingVsSdk"> <Output TaskParameter="Value" PropertyName="BuildDependsOn" /> </CreateProperty> </Target> </Project> |