{"action":"created","issue":{"url":"https://api.github.com/repos/castleproject/Core/issues/241","repository_url":"https://api.github.com/repos/castleproject/Core","labels_url":"https://api.github.com/repos/castleproject/Core/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/castleproject/Core/issues/241/comments","events_url":"https://api.github.com/repos/castleproject/Core/issues/241/events","html_url":"https://github.com/castleproject/Core/issues/241","id":220477999,"number":241,"title":"Move builds from TeamCity to AppVeyor and Travis CI","user":{"login":"jonorossi","id":126297,"avatar_url":"https://avatars2.githubusercontent.com/u/126297?v=3","gravatar_id":"","url":"https://api.github.com/users/jonorossi","html_url":"https://github.com/jonorossi","followers_url":"https://api.github.com/users/jonorossi/followers","following_url":"https://api.github.com/users/jonorossi/following{/other_user}","gists_url":"https://api.github.com/users/jonorossi/gists{/gist_id}","starred_url":"https://api.github.com/users/jonorossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonorossi/subscriptions","organizations_url":"https://api.github.com/users/jonorossi/orgs","repos_url":"https://api.github.com/users/jonorossi/repos","events_url":"https://api.github.com/users/jonorossi/events{/privacy}","received_events_url":"https://api.github.com/users/jonorossi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":68,"created_at":"2017-04-09T15:26:42Z","updated_at":"2017-06-05T19:35:58Z","closed_at":null,"body":"These are the build configurations we've currently have in TeamCity with the configuration pulled apart from the set up. It would be great if they all went to using a `build` script rather than calling msbuild/xbuild directly.\r\n\r\nI'm not sure exactly what we want to do but it might be time to move Castle Core to the new VS2017 tooling to support .NET Framework and .NET Core, this should hopefully make the NuGet packaging cleaner.\r\n\r\nTeamCity: http://builds.castleproject.org/project.html?projectId=Core&tab=projectOverview\r\nAppVeyor: https://ci.appveyor.com/project/castleproject/core\r\nTravis CI: https://travis-ci.org/castleproject/Core\r\n\r\n### .NET 3.5\r\n```\r\nRELEASE_BUILD=false\r\nVERSION_SUFFIX=\r\n$ powershell buildscripts\\Set-VersionInfo.ps1\r\n$ msbuild /p:Configuration=NET35-Release /t:Package buildscripts/Build.proj\r\n```\r\n\r\n### .NET 4.0\r\n- Same as 3.5 with `NET40-Release` configuration\r\n\r\n### .NET 4.5\r\n- Same as 3.5 with `NET45-Release` configuration\r\n\r\n### .NET Core\r\n ```\r\nRELEASE_BUILD=false\r\nVERSION_SUFFIX=\r\n$ powershell buildscripts\\Set-VersionInfo.ps1\r\n$ build NETCORE\r\npublish src\\Castle.Core\\bin\\Release\\netstandard1.3\r\npublish src\\Castle.Services.Logging.NLogIntegration\\bin\\Release\\netstandard1.3\r\npublish src\\Castle.Services.Logging.SerilogIntegration\\bin\\Release\\netstandard1.3\r\n```\r\n\r\n### Mono (4.6.1)\r\n```\r\nRELEASE_BUILD=false\r\nVERSION_SUFFIX=\r\n$ xbuild /p:Configuration=NET45-Release /t:RunAllTests buildscripts/Build.proj\r\nimport nunit results build/NET45/NET45-Release/bin/test-results/nunit-results.xml\r\npublish build/NET45/NET45-Release/bin/**/*\r\n```\r\n\r\n### Pack\r\n```\r\nRELEASE_BUILD=%reverse.dep.*.env.release_build%\r\nVERSION_SUFFIX=%reverse.dep.*.env.version_suffix%\r\n$ powershell buildscripts\\Set-VersionInfo.ps1\r\nnuget pack\r\n- spec:\r\n  buildscripts/Castle.Core.nuspec\r\n  buildscripts/Castle.Core-log4net.nuspec\r\n  buildscripts/Castle.Core-NLog.nuspec\r\n  buildscripts/Castle.Core-Serilog.nuspec\r\n- properties:\r\n  Configuration=Release\r\n  CastleCoreVersion=%ReleaseVersion%\r\n  CurrentYear=%CurrentYear%\r\npublish:\r\n  build/nuget/**\r\n  BreakingChanges.txt => Castle.Core.%ReleaseVersion%.zip\r\n  Changes.txt => Castle.Core.%ReleaseVersion%.zip\r\n  License.txt => Castle.Core.%ReleaseVersion%.zip\r\n  buildscripts/ASL - Apache Software Foundation License.txt => Castle.Core.%ReleaseVersion%.zip\r\n  buildscripts/readme.txt => Castle.Core.%ReleaseVersion%.zip\r\n  build/NET35/NET35-Release/pkg/bin/* => Castle.Core.%ReleaseVersion%.zip!/lib/net35\r\n  build/NET40/NET40-Release/pkg/bin/Castle.Core.* => Castle.Core.%ReleaseVersion%.zip!/lib/net40-client\r\n  build/NET40/NET40-Release/pkg/bin/Castle.Services.Logging.Log4netIntegration.* => Castle.Core.%ReleaseVersion%.zip!/lib/net40\r\n  build/NET40/NET40-Release/pkg/bin/Castle.Services.Logging.NLogIntegration.* => Castle.Core.%ReleaseVersion%.zip!/lib/net40-client\r\n  build/NET45/NET45-Release/pkg/bin/* => Castle.Core.%ReleaseVersion%.zip!/lib/net45\r\n  build/SL4/SL4-Release/pkg/bin/* => Castle.Core.%ReleaseVersion%.zip!/lib/sl4\r\n  build/SL5/SL5-Release/pkg/bin/* => Castle.Core.%ReleaseVersion%.zip!/lib/sl5\r\n```\r\n\r\nA custom \"Pack\" build has two fields you can manually specify:\r\n- `release_build` - `checkbox checkedValue='true' description='Defines whether this build is intended for public release to NuGet (as either a prerelease or final version, rather than a CI build)' display='hidden' label='Release build' uncheckedValue='false'`\r\n- `version_suffix` - `text description='Defines an optional version suffix (e.g. -beta001)' label='Version suffix' validationMode='any' display='hidden'`"},"comment":{"url":"https://api.github.com/repos/castleproject/Core/issues/comments/306281176","html_url":"https://github.com/castleproject/Core/issues/241#issuecomment-306281176","issue_url":"https://api.github.com/repos/castleproject/Core/issues/241","id":306281176,"user":{"login":"fir3pho3nixx","id":607402,"avatar_url":"https://avatars1.githubusercontent.com/u/607402?v=3","gravatar_id":"","url":"https://api.github.com/users/fir3pho3nixx","html_url":"https://github.com/fir3pho3nixx","followers_url":"https://api.github.com/users/fir3pho3nixx/followers","following_url":"https://api.github.com/users/fir3pho3nixx/following{/other_user}","gists_url":"https://api.github.com/users/fir3pho3nixx/gists{/gist_id}","starred_url":"https://api.github.com/users/fir3pho3nixx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fir3pho3nixx/subscriptions","organizations_url":"https://api.github.com/users/fir3pho3nixx/orgs","repos_url":"https://api.github.com/users/fir3pho3nixx/repos","events_url":"https://api.github.com/users/fir3pho3nixx/events{/privacy}","received_events_url":"https://api.github.com/users/fir3pho3nixx/received_events","type":"User","site_admin":false},"created_at":"2017-06-05T19:35:58Z","updated_at":"2017-06-05T19:35:58Z","body":"/CC #266 "}}
{"actor":{"display_login":"fir3pho3nixx"}}