System.Data.SQLite
Check-in [996656054d]
Not logged in

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

Overview
Comment:Allow usage of VS 2010 command line build environment when producing managed binaries that require the .NET Framework 2.0.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 996656054d72f468cc2352508f08158f8110531d
User & Date: mistachkin 2011-04-12 19:22:45
Context
2011-04-12
19:55
Change default build configuration back to VS 2008. Please note that, by default, VC++ 2008 Express (or better) is required to use the build.bat tool. check-in: 7856d2e9ff user: mistachkin tags: trunk
19:22
Allow usage of VS 2010 command line build environment when producing managed binaries that require the .NET Framework 2.0. check-in: 996656054d user: mistachkin tags: trunk
18:18
Missed one stray file. check-in: a5c8fdcb81 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to Setup/build.bat.

177
178
179
180
181
182
183
184
185
186
187
188
189
190
191

SET LOGGING="/logger:FileLogger,Microsoft.Build.Engine;Logfile=%LOGDIR%\%LOGPREFIX%_%CONFIGURATION%_%PLATFORM%_%LOGSUFFIX%.log;Verbosity=diagnostic"

:skip_setLogging

%_VECHO% Logging = '%LOGGING%'

%_ECHO% MSBuild.exe "%SOLUTION%" "/target:%TARGET%" "/property:Configuration=%CONFIGURATION%" "/property:Platform=%PLATFORM%" %LOGGING%

IF ERRORLEVEL 1 (
  ECHO Build failed.
  GOTO errors
)

%_ECHO% POPD







|







177
178
179
180
181
182
183
184
185
186
187
188
189
190
191

SET LOGGING="/logger:FileLogger,Microsoft.Build.Engine;Logfile=%LOGDIR%\%LOGPREFIX%_%CONFIGURATION%_%PLATFORM%_%LOGSUFFIX%.log;Verbosity=diagnostic"

:skip_setLogging

%_VECHO% Logging = '%LOGGING%'

%_ECHO% MSBuild.exe "%SOLUTION%" "/target:%TARGET%" "/property:Configuration=%CONFIGURATION%" "/property:Platform=%PLATFORM%" %LOGGING% %MSBUILD_ARGS%

IF ERRORLEVEL 1 (
  ECHO Build failed.
  GOTO errors
)

%_ECHO% POPD

Changes to Setup/set_ReleaseNativeOnly.bat.

10
11
12
13
14
15
16
17

18
19
20
21
REM
REM NOTE: Force usage of the Visual Studio 2008 (.NET Framework 3.5) build
REM       system.  This is very important because we want to ship binaries
REM       that only rely upon the .NET Framework 2.0 which is very widely
REM       deployed and because those binaries will also work with projects
REM       using the .NET Framework 4.0.
REM
SET NETFX35ONLY=1

SET YEAR=2008
SET YEARS=%YEAR%

ECHO WARNING: Forcing the use of the .NET Framework 3.5...







|
>
|



10
11
12
13
14
15
16
17
18
19
20
21
22
REM
REM NOTE: Force usage of the Visual Studio 2008 (.NET Framework 3.5) build
REM       system.  This is very important because we want to ship binaries
REM       that only rely upon the .NET Framework 2.0 which is very widely
REM       deployed and because those binaries will also work with projects
REM       using the .NET Framework 4.0.
REM
REM SET NETFX35ONLY=1
SET MSBUILD_ARGS=/property:TargetFrameworkVersion=v3.5
SET YEAR=2010
SET YEARS=%YEAR%

ECHO WARNING: Forcing the use of the .NET Framework 3.5...

Changes to Setup/set_common.bat.

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
..
25
26
27
28
29
30
31
32
33
::
:: set_common.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


IF NOT DEFINED APPID (
  SET APPID={{02E43EC2-6B1C-45B5-9E48-941C3E1B204A}
)

IF NOT DEFINED URL (
  SET URL=http://system.data.sqlite.org/
)
................................................................................
)

IF NOT DEFINED PROCESSORS (
  SET PROCESSORS=x86 x64
)

IF NOT DEFINED YEARS (
  SET YEARS=2008
)







<







 







|

3
4
5
6
7
8
9

10
11
12
13
14
15
16
..
24
25
26
27
28
29
30
31
32
::
:: set_common.bat --
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::


IF NOT DEFINED APPID (
  SET APPID={{02E43EC2-6B1C-45B5-9E48-941C3E1B204A}
)

IF NOT DEFINED URL (
  SET URL=http://system.data.sqlite.org/
)
................................................................................
)

IF NOT DEFINED PROCESSORS (
  SET PROCESSORS=x86 x64
)

IF NOT DEFINED YEARS (
  SET YEARS=2010
)

Changes to System.Data.SQLite/System.Data.SQLite.Properties.targets.

10
11
12
13
14
15
16
17


18
19
20
21
22
23
24
  <!--
      NOTE: Only use functionality available in the .NET Framework 2.0?  By
            default, this is disabled.  This must be enabled to successfully
            build the project using Visual Studio 2008 and/or the .NET
            Framework 2.0 (if necessary, it will typically be enabled from
            within the project file itself).
  -->
  <PropertyGroup Condition="'$(NetFx20)' != 'false'">


    <DefineConstants>$(DefineConstants);NET_20</DefineConstants>
  </PropertyGroup>

  <!--
      NOTE: For interaction with the native SQLite implementation, use the
            custom build interop DLL (i.e. "SQLite.Interop.DLL")?
  -->







|
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  <!--
      NOTE: Only use functionality available in the .NET Framework 2.0?  By
            default, this is disabled.  This must be enabled to successfully
            build the project using Visual Studio 2008 and/or the .NET
            Framework 2.0 (if necessary, it will typically be enabled from
            within the project file itself).
  -->
  <PropertyGroup Condition="'$(NetFx20)' != 'false' Or
                            '$(TargetFrameworkVersion)' == 'v2.0' Or
                            '$(TargetFrameworkVersion)' == 'v3.5'">
    <DefineConstants>$(DefineConstants);NET_20</DefineConstants>
  </PropertyGroup>

  <!--
      NOTE: For interaction with the native SQLite implementation, use the
            custom build interop DLL (i.e. "SQLite.Interop.DLL")?
  -->