Skip to content

Commit ded83dc

Browse files
author
Marc Sallin
committed
Fix for assembly version patching.
1 parent ac87d30 commit ded83dc

File tree

7 files changed

+19
-12
lines changed

7 files changed

+19
-12
lines changed

SQLite.CodeFirst.Console/Properties/AssemblyInfo.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@
22

33
[assembly: AssemblyTitle("SQLite.CodeFirst")]
44
[assembly: AssemblyDescription("A console application which demonstrates how to use SQLite.CodeFirst.")]
5+
6+
// Will be replaced by the build server
7+
// But do not put them in a shared file, because this will break the version patching.
8+
[assembly: AssemblyVersion("1.0.0.0")]
9+
[assembly: AssemblyFileVersion("1.0.0.0")]
10+
[assembly: AssemblyInformationalVersion("1.0.0.0")]

SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@
7575
<Compile Include="..\Shared\AssemblySharedInfo.cs">
7676
<Link>Properties\AssemblySharedInfo.cs</Link>
7777
</Compile>
78-
<Compile Include="..\Shared\AssemblyVersionInfo.cs">
79-
<Link>Properties\AssemblyVersionInfo.cs</Link>
80-
</Compile>
8178
<Compile Include="Entity\Coach.cs" />
8279
<Compile Include="Entity\CustomHistory.cs" />
8380
<Compile Include="Entity\IEntity.cs" />

SQLite.CodeFirst.Test/Properties/AssemblyInfo.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@
22

33
[assembly: AssemblyTitle("SQLite.CodeFirst.Test")]
44
[assembly: AssemblyDescription("Contains the Unit Tests for the SQLite.CodeFirst Library.")]
5+
6+
// Will be replaced by the build server
7+
// But do not put them in a shared file, because this will break the version patching.
8+
[assembly: AssemblyVersion("1.0.0.0")]
9+
[assembly: AssemblyFileVersion("1.0.0.0")]
10+
[assembly: AssemblyInformationalVersion("1.0.0.0")]

SQLite.CodeFirst.Test/SQLite.CodeFirst.Test.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@
7676
<Compile Include="..\Shared\AssemblySharedInfo.cs">
7777
<Link>Properties\AssemblySharedInfo.cs</Link>
7878
</Compile>
79-
<Compile Include="..\Shared\AssemblyVersionInfo.cs">
80-
<Link>Properties\AssemblyVersionInfo.cs</Link>
81-
</Compile>
8279
<Compile Include="Properties\AssemblyInfo.cs" />
8380
<Compile Include="Statement\ColumnConstraint\MaxLengthConstraint.cs" />
8481
<Compile Include="Statement\ColumnConstraint\ColumnConstraintCollectionTest.cs" />

SQLite.CodeFirst.sln

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
4-
VisualStudioVersion = 14.0.23107.0
4+
VisualStudioVersion = 14.0.24720.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLite.CodeFirst", "SQLite.CodeFirst\SQLite.CodeFirst.csproj", "{50A32FE4-0E13-4213-A373-72523CDF34D9}"
77
EndProject
@@ -30,11 +30,9 @@ EndProject
3030
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{1F6D4E0E-5D07-4889-961A-A6AFC0ECD7C7}"
3131
ProjectSection(SolutionItems) = preProject
3232
Shared\AssemblySharedInfo.cs = Shared\AssemblySharedInfo.cs
33-
Shared\AssemblyVersionInfo.cs = Shared\AssemblyVersionInfo.cs
3433
Shared\SQLite.CodeFirst.StrongNameKey.snk = Shared\SQLite.CodeFirst.StrongNameKey.snk
3534
EndProjectSection
3635
EndProject
37-
EndProject
3836
Global
3937
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4038
Debug|Any CPU = Debug|Any CPU

SQLite.CodeFirst/Properties/AssemblyInfo.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@
55
"Creates a SQLite Database from Code, using Entity Framework CodeFirst. " +
66
"This Project ships several IDbInitializer which creates " +
77
"a new SQLite Database, based on your model/code.")]
8+
9+
// Will be replaced by the build server
10+
// But do not put them in a shared file, because this will break the version patching.
11+
[assembly: AssemblyVersion("1.0.0.0")]
12+
[assembly: AssemblyFileVersion("1.0.0.0")]
13+
[assembly: AssemblyInformationalVersion("1.0.0.0")]

SQLite.CodeFirst/SQLite.CodeFirst.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@
8383
<Compile Include="..\Shared\AssemblySharedInfo.cs">
8484
<Link>Properties\AssemblySharedInfo.cs</Link>
8585
</Compile>
86-
<Compile Include="..\Shared\AssemblyVersionInfo.cs">
87-
<Link>Properties\AssemblyVersionInfo.cs</Link>
88-
</Compile>
8986
<Compile Include="Entities\IHistory.cs" />
9087
<Compile Include="Internal\Builder\NameCreators\IndexNameCreator.cs" />
9188
<Compile Include="Internal\Builder\NameCreators\SpecialChars.cs" />

0 commit comments

Comments
 (0)