diff --git a/BuildAllConfigurations.proj b/BuildAllConfigurations.proj new file mode 100644 index 0000000..3a31715 --- /dev/null +++ b/BuildAllConfigurations.proj @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + %(PlatformList.Identity) + + + + + \ No newline at end of file diff --git a/SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj b/SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj index 5b38a4a..4aa8b42 100644 --- a/SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj +++ b/SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj @@ -16,7 +16,7 @@ ..\ true - + AnyCPU true full @@ -26,7 +26,7 @@ prompt 4 - + AnyCPU pdbonly true diff --git a/SQLite.CodeFirst.sln b/SQLite.CodeFirst.sln index b0b52ac..b32906a 100644 --- a/SQLite.CodeFirst.sln +++ b/SQLite.CodeFirst.sln @@ -16,23 +16,34 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{01B97A EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{7031BD3C-AE76-43CD-91B6-B6BCD823968C}" ProjectSection(SolutionItems) = preProject + BuildAllConfigurations.proj = BuildAllConfigurations.proj release_appveyor.yml = release_appveyor.yml EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU + Debug-40|Any CPU = Debug-40|Any CPU + Debug-45|Any CPU = Debug-45|Any CPU + Release-40|Any CPU = Release-40|Any CPU + Release-45|Any CPU = Release-45|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {50A32FE4-0E13-4213-A373-72523CDF34D9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {50A32FE4-0E13-4213-A373-72523CDF34D9}.Release|Any CPU.Build.0 = Release|Any CPU - {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release|Any CPU.Build.0 = Release|Any CPU + {50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug-40|Any CPU.ActiveCfg = Debug-40|Any CPU + {50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug-40|Any CPU.Build.0 = Debug-40|Any CPU + {50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug-45|Any CPU.ActiveCfg = Debug-45|Any CPU + {50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug-45|Any CPU.Build.0 = Debug-45|Any CPU + {50A32FE4-0E13-4213-A373-72523CDF34D9}.Release-40|Any CPU.ActiveCfg = Release-40|Any CPU + {50A32FE4-0E13-4213-A373-72523CDF34D9}.Release-40|Any CPU.Build.0 = Release-40|Any CPU + {50A32FE4-0E13-4213-A373-72523CDF34D9}.Release-45|Any CPU.ActiveCfg = Release-45|Any CPU + {50A32FE4-0E13-4213-A373-72523CDF34D9}.Release-45|Any CPU.Build.0 = Release-45|Any CPU + {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug-40|Any CPU.ActiveCfg = Debug-40|Any CPU + {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug-40|Any CPU.Build.0 = Debug-40|Any CPU + {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug-45|Any CPU.ActiveCfg = Debug-45|Any CPU + {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug-45|Any CPU.Build.0 = Debug-45|Any CPU + {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release-40|Any CPU.ActiveCfg = Release-40|Any CPU + {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release-40|Any CPU.Build.0 = Release-40|Any CPU + {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release-45|Any CPU.ActiveCfg = Release-45|Any CPU + {DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release-45|Any CPU.Build.0 = Release-45|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/SQLite.CodeFirst/SQLite.CodeFirst.csproj b/SQLite.CodeFirst/SQLite.CodeFirst.csproj index 188c83a..4b50c6f 100644 --- a/SQLite.CodeFirst/SQLite.CodeFirst.csproj +++ b/SQLite.CodeFirst/SQLite.CodeFirst.csproj @@ -2,14 +2,13 @@ - Debug + Debug-45 AnyCPU {50A32FE4-0E13-4213-A373-72523CDF34D9} Library Properties SQLite.CodeFirst SQLite.CodeFirst - v4.5.2 512 true b4e826ae @@ -17,32 +16,57 @@ true - + + AnyCPU true - full - false - bin\Debug\ DEBUG;TRACE + full prompt - 4 + MinimumRecommendedRules.ruleset + + + v4.0 + bin\Debug\net40 - + + bin\Debug\net45 + v4.5 + + + + AnyCPU - pdbonly - true - bin\Release\ TRACE + true + pdbonly prompt - 4 + MinimumRecommendedRules.ruleset + + + bin\Release\net40 + v4.0 + + bin\Release\net45 + v4.5 + + - + + + + ..\packages\EntityFramework.6.1.2\lib\net40\EntityFramework.dll + + + ..\packages\EntityFramework.6.1.2\lib\net45\EntityFramework.dll + + @@ -91,11 +115,4 @@ - \ No newline at end of file diff --git a/SQLite.CodeFirst/SQLite.CodeFirst.csproj.nuspec b/SQLite.CodeFirst/SQLite.CodeFirst.csproj.nuspec index d8f0de6..f34f826 100644 --- a/SQLite.CodeFirst/SQLite.CodeFirst.csproj.nuspec +++ b/SQLite.CodeFirst/SQLite.CodeFirst.csproj.nuspec @@ -23,6 +23,9 @@ - + + + + \ No newline at end of file diff --git a/release_appveyor.yml b/release_appveyor.yml index 46c37bb..7a2d816 100644 --- a/release_appveyor.yml +++ b/release_appveyor.yml @@ -3,7 +3,6 @@ branches: only: - master skip_tags: true -configuration: Release platform: Any CPU assembly_info: patch: true @@ -12,12 +11,24 @@ assembly_info: assembly_file_version: '{version}' assembly_informational_version: '{version}' build: - publish_nuget: true - publish_nuget_symbols: true + project: BuildAllConfigurations.proj verbosity: normal +after_build: +- ps: >- + Write-Host $env:APPVEYOR_BUILD_FOLDER + + cd $env:APPVEYOR_BUILD_FOLDER + + cd '.nuget' + + ./nuget.exe pack '..\SQLite.CodeFirst\SQLite.CodeFirst.csproj' -Properties -Symbols -OutputDirectory '..\SQLite.CodeFirst\bin' artifacts: -- path: SQLite.CodeFirst\bin\*\SQLite.CodeFirst.dll - name: SQLiteCodeFirst +- path: SQLite.CodeFirst\bin\Debug**\SQLite.CodeFirst.* + name: Debug +- path: SQLite.CodeFirst\bin\Release\**\SQLite.CodeFirst.dll + name: Release +- path: SQLite.CodeFirst\bin\*.nupkg + name: NuPkg deploy: - provider: NuGet api_key: @@ -30,7 +41,7 @@ deploy: description: https://www.nuget.org/packages/SQLite.CodeFirst/ auth_token: secure: e3cqaFy9PzI9TAdZJBIDy97Bfbwa7j0EXe2yw7Ev9aJXK0Q+3mnULqb1VU4P7BWR - artifact: SQLiteCodeFirst + artifact: Release draft: true on: branch: master