diff --git a/.gitignore b/.gitignore index 3b466096..7ab4bedf 100644 --- a/.gitignore +++ b/.gitignore @@ -65,4 +65,5 @@ stylecop.* *.dbmdl Generated_Code #added for RIA/Silverlight projects *.results.xml -nunit-*.xml \ No newline at end of file +nunit-*.xml +*.userprefs diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ba8cb123..5c108e6d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,6 +28,9 @@ the `build.cmd` script (this calls a PowerShell script, `Build-Solution.ps1`). * Provide descriptive commit messages in the proper format (GitHub for Windows helps get the format correct). * Make sure you have added the necessary tests for your changes. +* If you add a new file, update **all the csproj files**. If you can, make sure + that your changes build on every platform but if that's a pain, don't worry + about it. * Run _all_ the tests to assure nothing else was accidentally broken. ## Submitting Changes diff --git a/Octokit-XamarinStudio.sln b/Octokit-XamarinStudio.sln new file mode 100644 index 00000000..b1a5d8f5 --- /dev/null +++ b/Octokit-XamarinStudio.sln @@ -0,0 +1,50 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit-MonoAndroid", "Octokit\Octokit-MonoAndroid.csproj", "{B24FC6FA-B80C-4EC7-8AFF-05DE2C923869}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Reactive-MonoAndroid", "Octokit.Reactive\Octokit.Reactive-MonoAndroid.csproj", "{B24FC6FF-0801-4FC7-8AFF-05DE2C923869}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit-Monotouch", "Octokit\Octokit-Monotouch.csproj", "{E4AD1421-8844-4236-9A0B-C4D96AF53908}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Reactive-Monotouch", "Octokit.Reactive\Octokit.Reactive-Monotouch.csproj", "{F4ADA431-8344-4B36-9A0B-C4D96AF53908}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit-Mono", "Octokit\Octokit-Mono.csproj", "{49EF16A2-5ED1-480F-80A1-D1D05D6C1BE4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Reactive-Mono", "Octokit.Reactive\Octokit.Reactive-Mono.csproj", "{59AB16A2-5ED1-480F-80A1-D1D05D6C1BE4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {49EF16A2-5ED1-480F-80A1-D1D05D6C1BE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49EF16A2-5ED1-480F-80A1-D1D05D6C1BE4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49EF16A2-5ED1-480F-80A1-D1D05D6C1BE4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49EF16A2-5ED1-480F-80A1-D1D05D6C1BE4}.Release|Any CPU.Build.0 = Release|Any CPU + {59AB16A2-5ED1-480F-80A1-D1D05D6C1BE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {59AB16A2-5ED1-480F-80A1-D1D05D6C1BE4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {59AB16A2-5ED1-480F-80A1-D1D05D6C1BE4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {59AB16A2-5ED1-480F-80A1-D1D05D6C1BE4}.Release|Any CPU.Build.0 = Release|Any CPU + {B24FC6FA-B80C-4EC7-8AFF-05DE2C923869}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B24FC6FA-B80C-4EC7-8AFF-05DE2C923869}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B24FC6FA-B80C-4EC7-8AFF-05DE2C923869}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B24FC6FA-B80C-4EC7-8AFF-05DE2C923869}.Release|Any CPU.Build.0 = Release|Any CPU + {B24FC6FF-0801-4FC7-8AFF-05DE2C923869}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B24FC6FF-0801-4FC7-8AFF-05DE2C923869}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B24FC6FF-0801-4FC7-8AFF-05DE2C923869}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B24FC6FF-0801-4FC7-8AFF-05DE2C923869}.Release|Any CPU.Build.0 = Release|Any CPU + {E4AD1421-8844-4236-9A0B-C4D96AF53908}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E4AD1421-8844-4236-9A0B-C4D96AF53908}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E4AD1421-8844-4236-9A0B-C4D96AF53908}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E4AD1421-8844-4236-9A0B-C4D96AF53908}.Release|Any CPU.Build.0 = Release|Any CPU + {F4ADA431-8344-4B36-9A0B-C4D96AF53908}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4ADA431-8344-4B36-9A0B-C4D96AF53908}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4ADA431-8344-4B36-9A0B-C4D96AF53908}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4ADA431-8344-4B36-9A0B-C4D96AF53908}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(MonoDevelopProperties) = preSolution + StartupItem = Octokit\Octokit-MonoAndroid.csproj + EndGlobalSection +EndGlobal diff --git a/Octokit.Reactive/Octokit.Reactive-Mono.csproj b/Octokit.Reactive/Octokit.Reactive-Mono.csproj new file mode 100644 index 00000000..64b0b33d --- /dev/null +++ b/Octokit.Reactive/Octokit.Reactive-Mono.csproj @@ -0,0 +1,90 @@ + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {59AB16A2-5ED1-480F-80A1-D1D05D6C1BE4} + Library + Octokit.Reactive + Octokit.Reactive + v4.5 + + + true + full + false + obj\Debug\Mono + bin\Debug\Mono + DEBUG; + prompt + 4 + false + + + full + true + obj\Release\Mono + bin\Release\Mono + prompt + 4 + false + + + + + + False + + + False + + + False + + + False + + + + + Helpers\Ensure.cs + + + Properties\SolutionInfo.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {49EF16A2-5ED1-480F-80A1-D1D05D6C1BE4} + Octokit-Mono + + + diff --git a/Octokit.Reactive/Octokit.Reactive-MonoAndroid.csproj b/Octokit.Reactive/Octokit.Reactive-MonoAndroid.csproj new file mode 100644 index 00000000..6a27708b --- /dev/null +++ b/Octokit.Reactive/Octokit.Reactive-MonoAndroid.csproj @@ -0,0 +1,99 @@ + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {B24FC6FF-0801-4FC7-8AFF-05DE2C923869} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Octokit.Reactive + Resources + Assets + False + Octokit.Reactive + v2.2 + + + true + full + false + obj\Debug\MonoAndroid + bin\Debug\MonoAndroid + DEBUG; + prompt + 4 + None + false + + + full + true + obj\Release\MonoAndroid + bin\Release\MonoAndroid + prompt + 4 + false + false + + + + + + + + + ..\ext\Monoandroid\System.Reactive.Core.dll + + + ..\ext\Monoandroid\System.Reactive.Interfaces.dll + + + ..\ext\Monoandroid\System.Reactive.Linq.dll + + + ..\ext\Monoandroid\System.Reactive.PlatformServices.dll + + + + + Helpers\Ensure.cs + + + Properties\SolutionInfo.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {B24FC6FA-B80C-4EC7-8AFF-05DE2C923869} + Octokit-MonoAndroid + + + diff --git a/Octokit.Reactive/Octokit.Reactive-Monotouch.csproj b/Octokit.Reactive/Octokit.Reactive-Monotouch.csproj new file mode 100644 index 00000000..cb3da0ca --- /dev/null +++ b/Octokit.Reactive/Octokit.Reactive-Monotouch.csproj @@ -0,0 +1,94 @@ + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {F4ADA431-8344-4B36-9A0B-C4D96AF53908} + {6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Octokit.Reactive + Resources + Octokit.Reactive + + + true + full + false + obj\Debug\Monotouch + bin\Debug\Monotouch + DEBUG; + prompt + 4 + false + + + full + true + obj\Release\Monotouch + bin\Release\Monotouch + prompt + 4 + false + + + + + + + + + ..\ext\Monotouch\System.Reactive.Core.dll + + + ..\ext\Monotouch\System.Reactive.Interfaces.dll + + + ..\ext\Monotouch\System.Reactive.Linq.dll + + + ..\ext\Monotouch\System.Reactive.PlatformServices.dll + + + + + Helpers\Ensure.cs + + + Properties\SolutionInfo.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {E4AD1421-8844-4236-9A0B-C4D96AF53908} + Octokit-Monotouch + + + diff --git a/Octokit.Reactive/Octokit.Reactive.csproj b/Octokit.Reactive/Octokit.Reactive.csproj index 2fb72ef0..05186304 100644 --- a/Octokit.Reactive/Octokit.Reactive.csproj +++ b/Octokit.Reactive/Octokit.Reactive.csproj @@ -17,8 +17,9 @@ true full false - bin\Debug\ - TRACE;DEBUG;CODE_ANALYSIS;NET_45 + obj\Debug\Net40 + bin\Debug\Net40 + DEBUG;TRACE;CODE_ANALYSIS;NET_45 prompt 4 true @@ -29,7 +30,8 @@ pdbonly true - bin\Release\ + obj\Release\Net40 + bin\Release\Net40 TRACE prompt 4 @@ -117,4 +119,4 @@ --> - \ No newline at end of file + diff --git a/Octokit.Tests/OctokitRT.Tests.csproj b/Octokit.Tests/OctoKit.Tests-NetCore45.csproj similarity index 97% rename from Octokit.Tests/OctokitRT.Tests.csproj rename to Octokit.Tests/OctoKit.Tests-NetCore45.csproj index 9b056a8c..4b5e4a7b 100644 --- a/Octokit.Tests/OctokitRT.Tests.csproj +++ b/Octokit.Tests/OctoKit.Tests-NetCore45.csproj @@ -7,8 +7,8 @@ {3F4686DA-8774-4940-823E-9138F4B42060} Library Properties - OctokitRT.Tests - OctokitRT.Tests + Octokit.Tests-NetCore45 + Octokit.Tests-NetCore45 v4.5 512 @@ -107,7 +107,7 @@ - + {c8bc13b6-3fa3-4716-827d-e7706f976fe1} OctokitRT diff --git a/Octokit.sln b/Octokit.sln index b59a584a..78226aef 100644 --- a/Octokit.sln +++ b/Octokit.sln @@ -27,102 +27,48 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Meta", "Meta", "{397C742D-2 SolutionInfo.cs = SolutionInfo.cs EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OctokitRT", "Octokit\OctokitRT.csproj", "{C8BC13B6-3FA3-4716-827D-E7706F976FE1}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit-NetCore45", "Octokit\Octokit-NetCore45.csproj", "{C8BC13B6-3FA3-4716-827D-E7706F976FE1}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Reactive", "Octokit.Reactive\Octokit.Reactive.csproj", "{674B69B8-0780-4D54-AE2B-C15821FA51CB}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OctokitRT.Tests", "Octokit.Tests\OctokitRT.Tests.csproj", "{3F4686DA-8774-4940-823E-9138F4B42060}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Tests-NetCore45", "Octokit.Tests\Octokit.Tests-NetCore45.csproj", "{3F4686DA-8774-4940-823E-9138F4B42060}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "clean-up-after-tests", "clean-up-after-tests\clean-up-after-tests.csproj", "{B84274D7-BE51-4613-8DB1-58E7C0EC45A8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - Debug|ARM = Debug|ARM - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - Release|ARM = Release|ARM - Release|x64 = Release|x64 - Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {08DD4305-7787-4823-A53F-4D0F725A07F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {08DD4305-7787-4823-A53F-4D0F725A07F3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {08DD4305-7787-4823-A53F-4D0F725A07F3}.Debug|ARM.ActiveCfg = Debug|Any CPU - {08DD4305-7787-4823-A53F-4D0F725A07F3}.Debug|x64.ActiveCfg = Debug|Any CPU - {08DD4305-7787-4823-A53F-4D0F725A07F3}.Debug|x86.ActiveCfg = Debug|Any CPU {08DD4305-7787-4823-A53F-4D0F725A07F3}.Release|Any CPU.ActiveCfg = Release|Any CPU {08DD4305-7787-4823-A53F-4D0F725A07F3}.Release|Any CPU.Build.0 = Release|Any CPU - {08DD4305-7787-4823-A53F-4D0F725A07F3}.Release|ARM.ActiveCfg = Release|Any CPU - {08DD4305-7787-4823-A53F-4D0F725A07F3}.Release|x64.ActiveCfg = Release|Any CPU - {08DD4305-7787-4823-A53F-4D0F725A07F3}.Release|x86.ActiveCfg = Release|Any CPU {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Debug|ARM.ActiveCfg = Debug|Any CPU - {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Debug|x64.ActiveCfg = Debug|Any CPU - {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Debug|x86.ActiveCfg = Debug|Any CPU {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Release|Any CPU.ActiveCfg = Release|Any CPU {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Release|Any CPU.Build.0 = Release|Any CPU - {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Release|ARM.ActiveCfg = Release|Any CPU - {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Release|x64.ActiveCfg = Release|Any CPU - {149448D4-C2F2-4DF9-86BD-03E3272F093B}.Release|x86.ActiveCfg = Release|Any CPU {01687D54-1D87-4562-A721-C57F1C94052C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {01687D54-1D87-4562-A721-C57F1C94052C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {01687D54-1D87-4562-A721-C57F1C94052C}.Debug|ARM.ActiveCfg = Debug|Any CPU - {01687D54-1D87-4562-A721-C57F1C94052C}.Debug|x64.ActiveCfg = Debug|Any CPU - {01687D54-1D87-4562-A721-C57F1C94052C}.Debug|x86.ActiveCfg = Debug|Any CPU {01687D54-1D87-4562-A721-C57F1C94052C}.Release|Any CPU.ActiveCfg = Release|Any CPU {01687D54-1D87-4562-A721-C57F1C94052C}.Release|Any CPU.Build.0 = Release|Any CPU - {01687D54-1D87-4562-A721-C57F1C94052C}.Release|ARM.ActiveCfg = Release|Any CPU - {01687D54-1D87-4562-A721-C57F1C94052C}.Release|x64.ActiveCfg = Release|Any CPU - {01687D54-1D87-4562-A721-C57F1C94052C}.Release|x86.ActiveCfg = Release|Any CPU {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Debug|ARM.ActiveCfg = Debug|ARM - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Debug|ARM.Build.0 = Debug|ARM - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Debug|x64.ActiveCfg = Debug|x64 - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Debug|x64.Build.0 = Debug|x64 - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Debug|x86.ActiveCfg = Debug|x86 - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Debug|x86.Build.0 = Debug|x86 {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Release|Any CPU.ActiveCfg = Release|Any CPU {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Release|Any CPU.Build.0 = Release|Any CPU - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Release|ARM.ActiveCfg = Release|ARM - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Release|ARM.Build.0 = Release|ARM - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Release|x64.ActiveCfg = Release|x64 - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Release|x64.Build.0 = Release|x64 - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Release|x86.ActiveCfg = Release|x86 - {C8BC13B6-3FA3-4716-827D-E7706F976FE1}.Release|x86.Build.0 = Release|x86 {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Debug|ARM.ActiveCfg = Debug|Any CPU - {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Debug|x64.ActiveCfg = Debug|Any CPU - {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Debug|x86.ActiveCfg = Debug|Any CPU {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Release|Any CPU.ActiveCfg = Release|Any CPU {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Release|Any CPU.Build.0 = Release|Any CPU - {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Release|ARM.ActiveCfg = Release|Any CPU - {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Release|x64.ActiveCfg = Release|Any CPU - {674B69B8-0780-4D54-AE2B-C15821FA51CB}.Release|x86.ActiveCfg = Release|Any CPU {3F4686DA-8774-4940-823E-9138F4B42060}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3F4686DA-8774-4940-823E-9138F4B42060}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3F4686DA-8774-4940-823E-9138F4B42060}.Debug|ARM.ActiveCfg = Debug|Any CPU - {3F4686DA-8774-4940-823E-9138F4B42060}.Debug|x64.ActiveCfg = Debug|Any CPU - {3F4686DA-8774-4940-823E-9138F4B42060}.Debug|x86.ActiveCfg = Debug|Any CPU {3F4686DA-8774-4940-823E-9138F4B42060}.Release|Any CPU.ActiveCfg = Release|Any CPU {3F4686DA-8774-4940-823E-9138F4B42060}.Release|Any CPU.Build.0 = Release|Any CPU - {3F4686DA-8774-4940-823E-9138F4B42060}.Release|ARM.ActiveCfg = Release|Any CPU - {3F4686DA-8774-4940-823E-9138F4B42060}.Release|x64.ActiveCfg = Release|Any CPU - {3F4686DA-8774-4940-823E-9138F4B42060}.Release|x86.ActiveCfg = Release|Any CPU {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Debug|ARM.ActiveCfg = Debug|Any CPU - {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Debug|x64.ActiveCfg = Debug|Any CPU - {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Debug|x86.ActiveCfg = Debug|Any CPU {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Release|Any CPU.ActiveCfg = Release|Any CPU {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Release|Any CPU.Build.0 = Release|Any CPU - {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Release|ARM.ActiveCfg = Release|Any CPU - {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Release|x64.ActiveCfg = Release|Any CPU - {B84274D7-BE51-4613-8DB1-58E7C0EC45A8}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Octokit/Octokit-Mono.csproj b/Octokit/Octokit-Mono.csproj new file mode 100644 index 00000000..bd30d347 --- /dev/null +++ b/Octokit/Octokit-Mono.csproj @@ -0,0 +1,173 @@ + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {49EF16A2-5ED1-480F-80A1-D1D05D6C1BE4} + Library + Octokit + Octokit + v4.5 + + + true + full + false + obj\Debug\Mono + bin\Debug\Mono + DEBUG; + prompt + 4 + false + + + full + true + obj\Release\Mono + bin\Release\Mono + prompt + 4 + false + + + + + + + + Properties\SolutionInfo.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + Code + + + + + + + Code + + + + + + Code + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Octokit/Octokit-MonoAndroid.csproj b/Octokit/Octokit-MonoAndroid.csproj new file mode 100644 index 00000000..a9586b11 --- /dev/null +++ b/Octokit/Octokit-MonoAndroid.csproj @@ -0,0 +1,182 @@ + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {B24FC6FA-B80C-4EC7-8AFF-05DE2C923869} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Octokit + Resources + Assets + False + Octokit + v2.2 + + + true + full + false + obj\Debug\MonoAndroid + bin\Debug\MonoAndroid + DEBUG; + prompt + 4 + None + false + + + full + true + obj\Release\MonoAndroid + bin\Release\MonoAndroid + prompt + 4 + false + false + + + + + + + + + + + Properties\SolutionInfo.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + Code + + + + + + + Code + + + + + + Code + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Octokit/Octokit-Monotouch.csproj b/Octokit/Octokit-Monotouch.csproj new file mode 100644 index 00000000..f6788cd8 --- /dev/null +++ b/Octokit/Octokit-Monotouch.csproj @@ -0,0 +1,177 @@ + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {E4AD1421-8844-4236-9A0B-C4D96AF53908} + {6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Octokit + Resources + Octokit + + + true + full + false + obj\Debug\Monotouch + bin\Debug\Monotouch + DEBUG; + prompt + 4 + false + + + full + true + obj\Release\Monotouch + bin\Release\Monotouch + prompt + 4 + false + + + + + + + + + + + Properties\SolutionInfo.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + Code + + + + + + + Code + + + + + + Code + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Octokit/OctokitRT.csproj b/Octokit/Octokit-netcore45.csproj similarity index 76% rename from Octokit/OctokitRT.csproj rename to Octokit/Octokit-netcore45.csproj index ae36d696..4ce98065 100644 --- a/Octokit/OctokitRT.csproj +++ b/Octokit/Octokit-netcore45.csproj @@ -10,7 +10,7 @@ Library Properties Octokit - OctokitRT + Octokit v4.5 512 @@ -18,7 +18,8 @@ true full false - bin\WinRT\Debug\ + obj\Debug\NetCore45 + bin\Debug\NetCore45 TRACE;DEBUG;NETFX_CORE;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL;NET_45 prompt 4 @@ -27,77 +28,12 @@ pdbonly true - bin\WinRT\Release\ + obj\Release\NetCore45 + bin\Release\NetCore45 TRACE;NETFX_CORE;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL;NET_45 prompt 4 - - true - bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE - ;2008 - full - ARM - false - prompt - true - - - bin\ARM\Release\ - TRACE;NETFX_CORE - true - ;2008 - pdbonly - ARM - false - prompt - true - - - true - bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE - ;2008 - full - x64 - false - prompt - true - - - bin\x64\Release\ - TRACE;NETFX_CORE - true - ;2008 - pdbonly - x64 - false - prompt - true - - - true - bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE - ;2008 - full - x86 - false - prompt - true - - - bin\x86\Release\ - TRACE;NETFX_CORE - true - ;2008 - pdbonly - x86 - false - prompt - true - Properties\SolutionInfo.cs @@ -244,4 +180,4 @@ --> - \ No newline at end of file + diff --git a/Octokit/Octokit.csproj b/Octokit/Octokit.csproj index 5406740b..ec45f73d 100644 --- a/Octokit/Octokit.csproj +++ b/Octokit/Octokit.csproj @@ -17,8 +17,9 @@ true full false - bin\Debug\ - TRACE;DEBUG;CODE_ANALYSIS;CODE_ANALYSIS;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL;NET_45 + obj\Debug\Net40 + bin\Debug\Net40 + TRACE;DEBUG;CODE_ANALYSIS;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL;NET_45 prompt 4 true @@ -30,7 +31,8 @@ pdbonly true - bin\Release\ + obj\Release\Net40 + bin\Release\Net40 TRACE;CODE_ANALYSIS;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL prompt 4 @@ -209,4 +211,4 @@ --> - \ No newline at end of file + diff --git a/README.md b/README.md index 46d8a823..f993f50b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Octokit - GitHub API Client Library for .NET -Octokit is a client library targeting .NET 4.0 and above that provides an easy +Octokit is a client library targeting .NET 4.5 and above that provides an easy way to interact with the [GitHub API](http://developer.github.com/v3/). ## Usage examples @@ -13,6 +13,12 @@ var user = await github.User.Get("half-ogre"); Console.WriteLine(user.Followers + " folks love the half ogre!"); ``` +## Supported Platforms + +* .NET 4.5 (Desktop / Server) +* Xamarin.iOS / Xamarin.Android / Xamarin.Mac +* Mono 3.x + ## Getting Started Octokit is available on NuGet. @@ -26,7 +32,7 @@ Install-Package Octokit Octokit is a single assembly designed to be easy to deploy anywhere. If you prefer to compile it yourself, you’ll need: -* Visual Studio 2012 +* Visual Studio 2012 or later, or Xamarin Studio * PowerShell 2.0 or greater. _For our build scripts_. To clone it locally click the "Clone in Windows" button above or run the diff --git a/SolutionInfo.cs b/SolutionInfo.cs index 0ef4ac48..5c7dd1d1 100644 --- a/SolutionInfo.cs +++ b/SolutionInfo.cs @@ -16,7 +16,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: InternalsVisibleTo("Octokit.Tests")] -[assembly: InternalsVisibleTo("OctokitRT.Tests")] +[assembly: InternalsVisibleTo("Octokit.Tests-NetCore45")] [assembly: CLSCompliant(false)] class SolutionInfo diff --git a/clean-up-after-tests/clean-up-after-tests.csproj b/clean-up-after-tests/clean-up-after-tests.csproj index 392732b4..8875a0d8 100644 --- a/clean-up-after-tests/clean-up-after-tests.csproj +++ b/clean-up-after-tests/clean-up-after-tests.csproj @@ -66,4 +66,4 @@ --> - \ No newline at end of file + diff --git a/ext/Monoandroid/System.Reactive.Core.dll b/ext/Monoandroid/System.Reactive.Core.dll new file mode 100755 index 00000000..ac31f1f3 Binary files /dev/null and b/ext/Monoandroid/System.Reactive.Core.dll differ diff --git a/ext/Monoandroid/System.Reactive.Debugger.dll b/ext/Monoandroid/System.Reactive.Debugger.dll new file mode 100755 index 00000000..3fcaa87d Binary files /dev/null and b/ext/Monoandroid/System.Reactive.Debugger.dll differ diff --git a/ext/Monoandroid/System.Reactive.Experimental.dll b/ext/Monoandroid/System.Reactive.Experimental.dll new file mode 100755 index 00000000..5f05cf52 Binary files /dev/null and b/ext/Monoandroid/System.Reactive.Experimental.dll differ diff --git a/ext/Monoandroid/System.Reactive.Interfaces.dll b/ext/Monoandroid/System.Reactive.Interfaces.dll new file mode 100755 index 00000000..b08589d3 Binary files /dev/null and b/ext/Monoandroid/System.Reactive.Interfaces.dll differ diff --git a/ext/Monoandroid/System.Reactive.Linq.dll b/ext/Monoandroid/System.Reactive.Linq.dll new file mode 100755 index 00000000..dc1e421d Binary files /dev/null and b/ext/Monoandroid/System.Reactive.Linq.dll differ diff --git a/ext/Monoandroid/System.Reactive.PlatformServices.dll b/ext/Monoandroid/System.Reactive.PlatformServices.dll new file mode 100755 index 00000000..82c5df73 Binary files /dev/null and b/ext/Monoandroid/System.Reactive.PlatformServices.dll differ diff --git a/ext/Monoandroid/System.Reactive.Providers.dll b/ext/Monoandroid/System.Reactive.Providers.dll new file mode 100755 index 00000000..b96f77a3 Binary files /dev/null and b/ext/Monoandroid/System.Reactive.Providers.dll differ diff --git a/ext/Monotouch/System.Reactive.Core.dll b/ext/Monotouch/System.Reactive.Core.dll new file mode 100755 index 00000000..bc2ece9c Binary files /dev/null and b/ext/Monotouch/System.Reactive.Core.dll differ diff --git a/ext/Monotouch/System.Reactive.Debugger.dll b/ext/Monotouch/System.Reactive.Debugger.dll new file mode 100755 index 00000000..0ecf5bd0 Binary files /dev/null and b/ext/Monotouch/System.Reactive.Debugger.dll differ diff --git a/ext/Monotouch/System.Reactive.Experimental.dll b/ext/Monotouch/System.Reactive.Experimental.dll new file mode 100755 index 00000000..094f6bd6 Binary files /dev/null and b/ext/Monotouch/System.Reactive.Experimental.dll differ diff --git a/ext/Monotouch/System.Reactive.Interfaces.dll b/ext/Monotouch/System.Reactive.Interfaces.dll new file mode 100755 index 00000000..56888993 Binary files /dev/null and b/ext/Monotouch/System.Reactive.Interfaces.dll differ diff --git a/ext/Monotouch/System.Reactive.Linq.dll b/ext/Monotouch/System.Reactive.Linq.dll new file mode 100755 index 00000000..6e59a538 Binary files /dev/null and b/ext/Monotouch/System.Reactive.Linq.dll differ diff --git a/ext/Monotouch/System.Reactive.PlatformServices.dll b/ext/Monotouch/System.Reactive.PlatformServices.dll new file mode 100755 index 00000000..4fa49835 Binary files /dev/null and b/ext/Monotouch/System.Reactive.PlatformServices.dll differ