From c2f5ccadc071194ab563623b368b0f8c9f96f5f9 Mon Sep 17 00:00:00 2001 From: Michael Csitkovics Date: Thu, 9 Apr 2015 05:48:16 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ff98fe..8ea3e7a 100644 --- a/README.md +++ b/README.md @@ -58,5 +58,5 @@ public class MyDbContextContextInitializer : SqliteDropCreateDatabaseAlways Date: Sat, 31 Oct 2015 12:48:50 +0100 Subject: [PATCH 2/4] #44: Sign all assemblies. --- .../Properties/AssemblyInfo.cs | 15 ------------- .../SQLite.CodeFirst.Console.csproj | 12 ++++++++++ .../Properties/AssemblyInfo.cs | 12 ---------- .../SQLite.CodeFirst.Test.csproj | 12 ++++++++++ SQLite.CodeFirst.sln | 8 +++++++ SQLite.CodeFirst/Properties/AssemblyInfo.cs | 21 ------------------ SQLite.CodeFirst/SQLite.CodeFirst.csproj | 12 ++++++++++ Shared/AssemblySharedInfo.cs | 15 +++++++++++++ Shared/AssemblyVersionInfo.cs | 7 ++++++ Shared/README.txt | 6 +++++ Shared/SQLite.CodeFirst.StrongNameKey.pfx.puk | Bin 0 -> 160 bytes 11 files changed, 72 insertions(+), 48 deletions(-) create mode 100644 Shared/AssemblySharedInfo.cs create mode 100644 Shared/AssemblyVersionInfo.cs create mode 100644 Shared/README.txt create mode 100644 Shared/SQLite.CodeFirst.StrongNameKey.pfx.puk diff --git a/SQLite.CodeFirst.Console/Properties/AssemblyInfo.cs b/SQLite.CodeFirst.Console/Properties/AssemblyInfo.cs index 02804aa..7a9242e 100644 --- a/SQLite.CodeFirst.Console/Properties/AssemblyInfo.cs +++ b/SQLite.CodeFirst.Console/Properties/AssemblyInfo.cs @@ -1,19 +1,4 @@ using System.Reflection; -using System.Runtime.InteropServices; [assembly: AssemblyTitle("SQLite.CodeFirst")] [assembly: AssemblyDescription("A console application which demonstrates how to use SQLite.CodeFirst.")] -[assembly: AssemblyProduct("SQLite.CodeFirst")] -[assembly: AssemblyCopyright("Copyright © Marc Sallin")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("945f6a68-1bcd-47ff-a551-a2820b88ff8c")] - -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.0.0.0")] diff --git a/SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj b/SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj index b04e945..3bf90ff 100644 --- a/SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj +++ b/SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj @@ -36,6 +36,12 @@ prompt 4 + + true + + + ..\Shared\SQLite.CodeFirst.StrongNameKey.pfx + ..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll @@ -64,6 +70,12 @@ + + Properties\AssemblySharedInfo.cs + + + Properties\AssemblyVersionInfo.cs + diff --git a/SQLite.CodeFirst.Test/Properties/AssemblyInfo.cs b/SQLite.CodeFirst.Test/Properties/AssemblyInfo.cs index cda4f2d..a54c997 100644 --- a/SQLite.CodeFirst.Test/Properties/AssemblyInfo.cs +++ b/SQLite.CodeFirst.Test/Properties/AssemblyInfo.cs @@ -1,16 +1,4 @@ using System.Reflection; -using System.Runtime.InteropServices; [assembly: AssemblyTitle("SQLite.CodeFirst.Test")] [assembly: AssemblyDescription("Contains the Unit Tests for the SQLite.CodeFirst Library.")] -[assembly: AssemblyProduct("SQLite.CodeFirst")] -[assembly: AssemblyCopyright("Copyright © Marc Sallin")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.0.0.0")] diff --git a/SQLite.CodeFirst.Test/SQLite.CodeFirst.Test.csproj b/SQLite.CodeFirst.Test/SQLite.CodeFirst.Test.csproj index e4c30c6..f5e60fe 100644 --- a/SQLite.CodeFirst.Test/SQLite.CodeFirst.Test.csproj +++ b/SQLite.CodeFirst.Test/SQLite.CodeFirst.Test.csproj @@ -34,6 +34,12 @@ prompt 4 + + true + + + ..\Shared\SQLite.CodeFirst.StrongNameKey.pfx + ..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll @@ -67,6 +73,12 @@ + + Properties\AssemblySharedInfo.cs + + + Properties\AssemblyVersionInfo.cs + diff --git a/SQLite.CodeFirst.sln b/SQLite.CodeFirst.sln index 3a10ed8..19a84c3 100644 --- a/SQLite.CodeFirst.sln +++ b/SQLite.CodeFirst.sln @@ -27,6 +27,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Lib", "Lib", "{436039AE-ADD Lib\Moq.dll = Lib\Moq.dll EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{1F6D4E0E-5D07-4889-961A-A6AFC0ECD7C7}" + ProjectSection(SolutionItems) = preProject + Shared\AssemblySharedInfo.cs = Shared\AssemblySharedInfo.cs + Shared\AssemblyVersionInfo.cs = Shared\AssemblyVersionInfo.cs + Shared\README.txt = Shared\README.txt + Shared\SQLite.CodeFirst.StrongNameKey.pfx = Shared\SQLite.CodeFirst.StrongNameKey.pfx + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/SQLite.CodeFirst/Properties/AssemblyInfo.cs b/SQLite.CodeFirst/Properties/AssemblyInfo.cs index cb88143..59d1f3b 100644 --- a/SQLite.CodeFirst/Properties/AssemblyInfo.cs +++ b/SQLite.CodeFirst/Properties/AssemblyInfo.cs @@ -1,28 +1,7 @@ using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; [assembly: AssemblyTitle("SQLite.CodeFirst")] [assembly: AssemblyDescription( "Creates a SQLite Database from Code, using Entity Framework CodeFirst. " + "This Project ships several IDbInitializer which creates " + "a new SQLite Database, based on your model/code.")] -[assembly: AssemblyProduct("SQLite.CodeFirst")] -[assembly: AssemblyCopyright("Copyright © Marc Sallin")] -[assembly: AssemblyCompany("Marc Sallin")] - -[assembly: InternalsVisibleTo("SQLite.CodeFirst.Test", AllInternalsVisible = true)] -[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("46603902-448a-4c50-87ec-09cb792b740f")] - -// Will be replaced by the build server -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.0.0.0")] diff --git a/SQLite.CodeFirst/SQLite.CodeFirst.csproj b/SQLite.CodeFirst/SQLite.CodeFirst.csproj index 844d66d..62f7526 100644 --- a/SQLite.CodeFirst/SQLite.CodeFirst.csproj +++ b/SQLite.CodeFirst/SQLite.CodeFirst.csproj @@ -56,6 +56,12 @@ + + true + + + ..\Shared\SQLite.CodeFirst.StrongNameKey.pfx + @@ -73,6 +79,12 @@ + + Properties\AssemblySharedInfo.cs + + + Properties\AssemblyVersionInfo.cs + diff --git a/Shared/AssemblySharedInfo.cs b/Shared/AssemblySharedInfo.cs new file mode 100644 index 0000000..e4ed611 --- /dev/null +++ b/Shared/AssemblySharedInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyProduct("SQLite.CodeFirst")] +[assembly: AssemblyCopyright("Copyright © Marc Sallin")] +[assembly: AssemblyCompany("Marc Sallin")] + +[assembly: InternalsVisibleTo("SQLite.CodeFirst.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100876e960bb524e1c209574fe02f95fb325db28653f62d28ecee8ca98efcb710e62125441710d31dc21a101f4fb24149a8c2ddeb2202cd432d9cd0a00be9f81b0131a6751874906f404260ec85790c2ab0a41ab4b9ca9638158fa9a168c18f2ac1cdc3b177ab3a3b8307f16bb938cb37a568e4cc081ba78bea2bd10bfeceff5f98", AllInternalsVisible = true)] +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] diff --git a/Shared/AssemblyVersionInfo.cs b/Shared/AssemblyVersionInfo.cs new file mode 100644 index 0000000..a4af52d --- /dev/null +++ b/Shared/AssemblyVersionInfo.cs @@ -0,0 +1,7 @@ +// Will be replaced by the build server + +using System.Reflection; + +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyInformationalVersion("1.0.0.0")] diff --git a/Shared/README.txt b/Shared/README.txt new file mode 100644 index 0000000..88e2055 --- /dev/null +++ b/Shared/README.txt @@ -0,0 +1,6 @@ +******** README ********* +The Assemblies are signed with the key "SQLite.CodeFirst.StrongNameKey.pfx". +This signature does not guarantee the integrity nor the authenticity of the assemblies. +The only purpose of this signature is to make it easy to use this assemblies in a strong named project. + +Password of the strong name key: "SQLite.CodeFirst" (without quotes). \ No newline at end of file diff --git a/Shared/SQLite.CodeFirst.StrongNameKey.pfx.puk b/Shared/SQLite.CodeFirst.StrongNameKey.pfx.puk new file mode 100644 index 0000000000000000000000000000000000000000..4a0652a6b6418b62c9990003f141f944763eb738 GIT binary patch literal 160 zcmV;R0AK$ABme*efB*oL000060ssI2Bme+XQ$aBR1ONa50097pZk7wRB;mpdS5M$C zmHRSXvW8RkEhy~njH!-RmL(%|k7m(4Y(H_!|K+ zrga!}kZ(XjVC;o?3@Wgs8nn5}mN*rUsiA1Wk1D~g Or;F+<(F^|0|6iD>JV3$# literal 0 HcmV?d00001 From f9ea162aa1a77bcb47fddae6faa9434b4a6f5503 Mon Sep 17 00:00:00 2001 From: Marc Sallin Date: Sat, 31 Oct 2015 12:57:35 +0100 Subject: [PATCH 3/4] #44: Removed not necessary file. --- Shared/SQLite.CodeFirst.StrongNameKey.pfx.puk | Bin 160 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Shared/SQLite.CodeFirst.StrongNameKey.pfx.puk diff --git a/Shared/SQLite.CodeFirst.StrongNameKey.pfx.puk b/Shared/SQLite.CodeFirst.StrongNameKey.pfx.puk deleted file mode 100644 index 4a0652a6b6418b62c9990003f141f944763eb738..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 160 zcmV;R0AK$ABme*efB*oL000060ssI2Bme+XQ$aBR1ONa50097pZk7wRB;mpdS5M$C zmHRSXvW8RkEhy~njH!-RmL(%|k7m(4Y(H_!|K+ zrga!}kZ(XjVC;o?3@Wgs8nn5}mN*rUsiA1Wk1D~g Or;F+<(F^|0|6iD>JV3$# From 48921dbbe24ff9e966965210df057c6cf8cf5b69 Mon Sep 17 00:00:00 2001 From: Marc Sallin Date: Sat, 31 Oct 2015 12:58:30 +0100 Subject: [PATCH 4/4] #44: Added pfx. --- .gitignore | 1 - Shared/SQLite.CodeFirst.StrongNameKey.pfx | Bin 0 -> 1709 bytes 2 files changed, 1 deletion(-) create mode 100644 Shared/SQLite.CodeFirst.StrongNameKey.pfx diff --git a/.gitignore b/.gitignore index f8c1427..c8add9d 100644 --- a/.gitignore +++ b/.gitignore @@ -155,7 +155,6 @@ ClientBin/ *~ *.dbmdl *.dbproj.schemaview -*.pfx *.publishsettings node_modules/ diff --git a/Shared/SQLite.CodeFirst.StrongNameKey.pfx b/Shared/SQLite.CodeFirst.StrongNameKey.pfx new file mode 100644 index 0000000000000000000000000000000000000000..a110e3398a51cd0df6f5ef027444c07f90ea4e34 GIT binary patch literal 1709 zcmcJQdo+}J7{`C_%y=1tTvw4vL@rD3I}C$}iQIDE%o367lw7h*A*^>#tjjWWGAcGi zjoCIzH6`0J)Y?e7tV*hbwUJ9s7ZF|d$7yYQ&i=Xk$MZYS_w)Ro_xHS)?|Cr-6_F4! zMxc=>)hOE~dsZHiMk)x@pF*I%5PM<-S^SR@Sx6zsRS=iMC`D->yX0gMQUyU0V+5%l zTaC*8h2g~&C^A(}mf^BQmp_Rl-9;ft{Pi<=k}$G+;fdP?`z3)<1$`AVYE5e6Z&3n~m%_c#VzyTG zchCO2n~ePB(H{RHvjEXl z8_^pY^nUiC&XL~n)so&VN`-{M?dEkY$di>gxRAB6^JG1NY`M8)<8E*3)8fR9~hKJ*sy`{{~!wu^)`*Ia7zm<)& zPw(pwO*CSv=k}>67}yDiMrs1N`TRMda*CiVvHZma=I-vK5tZ5%_|MtCnsHq*mVz-u z=}dM%H~eg1BIOy-K?1c7l$>iyFb=RsHs;x0N9d!@Yw1;UrqrU;vBQFIk4{t@TNH#P zMktv5RMi~Yek~xD^21JjnSb_UPs;cRuc}Q$C3l?!8erV zOIU7(j_5@AgC{cCEWHS)UCOJR1`g5M6Z)ShHm_KJTd zkE|$va3SiZm#bX6T~knceTHL^T)yiUTp@cKUev&K6pe*CjwF}Lb*Bt#lLQf3l zM;kt-QFLW@?4NG*Y3eGGrD?0ExCE6++-x%DHr5sAxN%RNEp-#63BC@(8}@DT)7_Zb zm0=y?+vvo_v$`>r<4IsIjGP7F?Mi9ScUO#wbET2umdd_ojOS53mb_gG3MyzJd`2 zl7KewgX|c6 z7d5KS8Ofy_oD5~#$Mcg`CZEO;&AF$vimoz~&7CBjiAOCpt`7BHYZNtFw0afQ9re~e zQM~-NP*m`2(!k`kUv_;kW1)D%pcjYQGPLdzO%RtuA|n9#bUgS9$Z#(G>v4>!%y_hg z-XXdo2sXV-_?Z^lD2F_Eec3TsL!?!^3EiE=O#3!&Nm3_u@EZGy^SFj+)Vq6Vz`c?) znPR=rm*X11-jfmu&X-1ip8Ca46`E(BUyb!1leG5T;$;m#|L!LnYz-!jN*ODVNg5Q@fN8G{VKX-+Zw|?wv=isq3#SgT dD5}k-RjGJX&#N5Agbf$@3*5S51DC}g$Da`0W|IH_ literal 0 HcmV?d00001