System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: 48fd58bb93c4f597763e52d10cfca097d0eb4398
Title: The solution doesn't build
Status: Closed Type: Build_Problem
Severity: Critical Priority: Immediate
Subsystem: Build_Automation Resolution: Overcome_By_Events
Last Modified: 2014-02-07 01:13:38
Version Found In: trunk
Description:
Steps to reproduce:
1) clone the repository: fossil clone http://system.data.sqlite.org sqlite.fossil
2) open latest version of trunk branch: fossil open sqlite.fossil trunk 
3) open SQLite.NET.sln in Visual Studio 20010
4) set "Release x64" configuraciĆ³n.
5) Rebuild solution
You see the following on the output window:
1>------ Rebuild All started: Project: System.Data.SQLite - Netmodule, Configuration: Release Any CPU ------
1>d:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3192,9): error MSB3021: Unable to copy file "app.config" to "bin\System.Data.SQLite.netmodule.config". Could not find file 'app.config'.
------ Starting pre-build validation for project 'sqlite_msi' ------ 
ERROR: Unable to find source file 'D:\sqlite\bin\x64\System.Data.SQLite.lib' for file 'System.Data.SQLite.lib', located in '[TARGETDIR]\bin\x64', the file may be absent or locked.
ERROR: Unable to find source file 'D:\sqlite\bin\test.exe' for assembly 'test.exe', located in '[TARGETDIR]\bin'
ERROR: Unable to find source file 'D:\sqlite\bin\System.Data.SQLite.DLL' for assembly 'System.Data.SQLite.DLL', located in '[TARGETDIR]'
ERROR: Unable to find source file 'D:\sqlite\bin\x64\System.Data.SQLite.DLL' for file 'System.Data.SQLite.DLL', located in '[TARGETDIR]\bin\x64', the file may be absent or locked.
ERROR: Unable to find source file 'D:\sqlite\bin\System.Data.SQLite.Linq.dll' for assembly 'System.Data.SQLite.Linq.dll', located in '[TARGETDIR]\bin'
ERROR: Unable to find source file 'D:\sqlite\bin\System.Data.SQLite.lib' for file 'System.Data.SQLite.lib', located in '[TARGETDIR]\bin', the file may be absent or locked.
------ Pre-build validation for project 'sqlite_msi' completed ------
2>------ Rebuild All started: Project: sqlite_msi, Configuration: Release ------
3>------ Skipped Rebuild All: Project: System.Data.SQLite - ManagedOnly, Configuration: Release Any CPU ------
3>Project not selected to build for this solution configuration 
4>------ Skipped Rebuild All: Project: setup, Configuration: Release Win32 ------
4>Project not selected to build for this solution configuration 
5>------ Rebuild All started: Project: SQLite.Interop, Configuration: Release x64 ------
5>  interop.c
5>LINK : fatal error LNK1181: cannot open input file '..\System.Data.SQLite\bin\System.Data.SQLite.netmodule'
6>------ Rebuild All started: Project: System.Data.SQLite.Linq, Configuration: Release Any CPU ------
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\SymbolPair.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\KeyToListMap.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\SqlWriter.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\SqlSelectStatement.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\SqlBuilder.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\DmlSqlGenerator.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\SqlGenerator.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\TopClause.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\JoinSymbol.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\ISqlFragment.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\Symbol.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\SymbolTable.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\MetadataHelpers.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\StringUtil.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\SqlChecker.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'D:\sqlite\System.Data.SQLite.Linq\SQL Generation\InternalBase.cs' could not be opened ('Unspecified error ')

Compile complete -- 16 errors, 0 warnings
7>------ Rebuild All started: Project: test, Configuration: Release x64 ------
D:\sqlite\test\TestCases.cs(1139,22): error CS0246: The type or namespace name 'SQLiteConnectionStringBuilder' could not be found (are you missing a using directive or an assembly reference?)
D:\sqlite\test\TestCases.cs(1141,23): error CS0246: The type or namespace name 'SQLiteConnectionStringBuilder' could not be found (are you missing a using directive or an assembly reference?)

Compile complete -- 2 errors, 0 warnings
8>------ Skipped Rebuild All: Project: testlinq, Configuration: Release Any CPU ------
8>Project not selected to build for this solution configuration 
========== Rebuild All: 0 succeeded, 5 failed, 3 skipped ==========

<hr /><i>anonymous claiming to be anonymous (#2) added on 2011-02-11 17:20:52 UTC:</i><br />
(I'm not the original submitter)

There's another problem with the build: in the Release/Win32 configuration, it never "finishes" signing the DLL, leaving it in a delay-signed state, which is unusable.

<hr /><i>anonymous claiming to be anonymous (#2) added on 2011-02-11 18:04:49 UTC:</i><br />
this should help ...
Index: SQLite.Interop/SQLite.Interop.vcxproj
===================================================================
--- SQLite.Interop/SQLite.Interop.vcxproj
+++ SQLite.Interop/SQLite.Interop.vcxproj
@@ -132,11 +132,10 @@
     <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='StockDebug|x64'" />
     <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='StockDebug|x64'" />
     <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">System.Data.SQLite</TargetName>
     <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">System.Data.SQLite</TargetName>
     <PostBuildEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</PostBuildEventUseInBuild>
-    <PostBuildEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</PostBuildEventUseInBuild>
     <PostBuildEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='StockDebug|Win32'">false</PostBuildEventUseInBuild>
   </PropertyGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <PreBuildEvent>
       <Command>

Index: System.Data.SQLite/System.Data.SQLite - Netmodule.csproj
===================================================================
--- System.Data.SQLite/System.Data.SQLite - Netmodule.csproj
+++ System.Data.SQLite/System.Data.SQLite - Netmodule.csproj
@@ -126,11 +126,10 @@
       <Generator>ResXFileCodeGenerator</Generator>
       <LastGenOutput>SR.Designer.cs</LastGenOutput>
     </EmbeddedResource>
   </ItemGroup>
   <ItemGroup>
-    <None Include="app.config" />
     <None Include="System.Data.SQLite.snk" />
   </ItemGroup>
   <ItemGroup>
     <None Include="DataTypes.xml" />
   </ItemGroup>

shane added on 2011-04-19 14:00:21 UTC:
Core DLLs compile cleanly with release [3435896767629388b].