System.Data.SQLite
Check-in [8c2130e985]
Not logged in

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

Overview
Comment:Add experimental XDT transform to the NuGet packages for EF6 to enable them to remove non-EF6 DbProviderFactories. This is needed because EF6 seems to intermittently select the 'wrong' one when there are multiple choices available.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8c2130e985415c6117e2a7e8129a6d033731f7bd
User & Date: mistachkin 2015-02-05 21:16:34
Context
2015-02-06
20:51
In the NuGet package building tool, make sure the build output directory is present. check-in: 9384e9b2ac user: mistachkin tags: trunk
2015-02-05
21:16
Add experimental XDT transform to the NuGet packages for EF6 to enable them to remove non-EF6 DbProviderFactories. This is needed because EF6 seems to intermittently select the 'wrong' one when there are multiple choices available. check-in: 8c2130e985 user: mistachkin tags: trunk
00:56
Update version history docs. check-in: 40675693dd user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to NuGet/SQLite.EF6.Beta.nuspec.

41
42
43
44
45
46
47






48
49
50
51
52
53
54
55
56
57
58
      </group>
    </dependencies>
  </metadata>
  <files>
    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />






    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
  </files>
</package>







>
>
>
>
>
>











41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
      </group>
    </dependencies>
  </metadata>
  <files>
    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />
    <file src="shared\Core\content\config.install.xdt" target="content\net40\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net40\web.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net45\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net45\web.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net451\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net451\web.config.install.xdt" />
    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
  </files>
</package>

Changes to NuGet/SQLite.EF6.Test.nuspec.

41
42
43
44
45
46
47






48
49
50
51
52
53
54
55
56
57
58
      </group>
    </dependencies>
  </metadata>
  <files>
    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />






    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
  </files>
</package>







>
>
>
>
>
>











41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
      </group>
    </dependencies>
  </metadata>
  <files>
    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />
    <file src="shared\Core\content\config.install.xdt" target="content\net40\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net40\web.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net45\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net45\web.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net451\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net451\web.config.install.xdt" />
    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
  </files>
</package>

Changes to NuGet/SQLite.EF6.nuspec.

41
42
43
44
45
46
47






48
49
50
51
52
53
54
55
56
57
58
      </group>
    </dependencies>
  </metadata>
  <files>
    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />






    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
  </files>
</package>







>
>
>
>
>
>











41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
      </group>
    </dependencies>
  </metadata>
  <files>
    <file src="..\bin\2010\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net40" />
    <file src="..\bin\2012\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net45" />
    <file src="..\bin\2013\Release\bin\System.Data.SQLite.EF6.dll" target="lib\net451" />
    <file src="shared\Core\content\config.install.xdt" target="content\net40\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net40\web.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net45\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net45\web.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net451\app.config.install.xdt" />
    <file src="shared\Core\content\config.install.xdt" target="content\net451\web.config.install.xdt" />
    <file src="net40\EF6\content\config.transform" target="content\net40\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net40\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net45\web.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\app.config.transform" />
    <file src="net40\EF6\content\config.transform" target="content\net451\web.config.transform" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net40\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net45\install.ps1" />
    <file src="net40\EF6\tools\provider.ps1" target="tools\net451\install.ps1" />
  </files>
</package>

Added NuGet/shared/Core/content/config.install.xdt.





























>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <system.data>
    <DbProviderFactories>
      <remove xdt:Transform="RemoveAll"
              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
                                     @invariant='System.Data.SQLite.Linq' or
                                     @invariant='System.Data.SQLite.EF6')" />
      <add xdt:Transform="RemoveAll"
           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
                                  @invariant='System.Data.SQLite.Linq' or
                                  @invariant='System.Data.SQLite.EF6')" />
    </DbProviderFactories>
  </system.data>
</configuration>