Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 04 21:18
    Build #7233 passed
  • Oct 04 21:16
  • Oct 04 21:11
    Build #2989 passed
  • Oct 04 20:59
    devlead closed #3721
  • Oct 04 20:59
    devlead commented #3721
  • Oct 04 20:58
    devlead commented #3954
  • Oct 04 20:56
    Build #1212 passed
  • Oct 04 20:55
    devlead closed #2953
  • Oct 04 20:55

    devlead on develop

    (GH-2953) Adds string Target t… Merge pull request #3954 from F… (compare)

  • Oct 04 20:55
    devlead closed #3954
  • Oct 04 20:38
    Build #7232 passed
  • Oct 04 20:33
    devlead auto_merge_enabled #3954
  • Oct 04 20:31
    devlead edited #3954
  • Oct 04 20:30
    devlead milestoned #2953
  • Oct 04 20:30
    devlead demilestoned #2953
  • Oct 04 20:30
    devlead unlabeled #2953
  • Oct 04 20:30
    devlead unlabeled #2953
  • Oct 04 20:30
    devlead unlabeled #2953
  • Oct 04 20:30
    devlead unlabeled #2953
  • Oct 04 20:30
    devlead synchronize #3954
Gary Ewan Park
@gep13
I have now been using the DotNetCore Aliases for a number of addins that I am the maintainer of, which have tXUnit tests in them, and I haven't had any issues
Mike Gottlieb
@mikegottlieb
Well I know DotNetCoreBuild doesn’t work for a full Xamarin app because the device specific projects are not netstandard libraries.
Gary Ewan Park
@gep13
it could be the mixture of Xamarin that is causing problems, but without a sample to test against, not sure what else we can do
Mike Gottlieb
@mikegottlieb
And DotNetCoreMSBuild doesn’t work because the environment is missing settings that my Xamarin projects expect
But regular MSBuild works, so I’m using that
Invoking the DotNetCoreTest method I believe was failing to find xunit
Gary Ewan Park
@gep13
@Redth @RLittlesII are these sorts of issues that you guys have seen before?
Jonathan Dick
@Redth
i don’t think generally we can build xamarin projects with dotnet
unless you’re using the new project structure, which is a bit tricky with xamarin currently (though it’s possible)
Mike Gottlieb
@mikegottlieb
yeah, I thought maybe the whole dotnet msbuild hybrid could.
Martin Björkström
@mholo65
@/all I'll soon start preparing for 0.27.0 release. So this is your daily reminder to pin your Cake version.
Mike Gottlieb
@mikegottlieb
I still think it might be able to, it was just choking on some environment variable using in my ios and android project files
Jonathan Dick
@Redth
what’s in 0.27?
@mikegottlieb yeah you’re in uncharted waters i think at that point :D
Mike Gottlieb
@mikegottlieb
lol not surprising
Turns out half the time I am over in Xamarin land too
I’m on their slack all day bringing up things that they don’t consider
like that dev teams can’t afford to be forced to take version upgrades with tons of breaking changes every 3 months. Especially dev teams of 1.
Martin Björkström
@mholo65
@Redth click the link :smile:
Jonathan Dick
@Redth
magic :laughing:
Mattias Karlsson
@devlead
Jonathan Dick
@Redth
nice! i need to read up again and see where everything stands with bootstrappers and nuget client addin installation etc
cakebot
@cake-build-bot
@/all Version 0.27.0 of the Cake has just been released, https://www.nuget.org/packages/Cake.
Rodney Littles II
@RLittlesII
@gep13 No. I haven't seen them before, but I haven't ported to net standard. I haven't ever attempted to run unit tests for my Xamarin projects through Cake. That's why I am so interested in what @mikegottlieb is doing. I am trying to learn from his problems so we can solve them.
So I am going to try and reproduce the issues see if there is a good solution for them because I will face this at some point. Just not sure when.
Mike Gottlieb
@mikegottlieb
Yeah I was trying to automate the process of releasing a new build and part of that is requiring that tests are run and pass
At one point i was even setting up VSTS to run tests using Cake after pushing changes to my repo
Ben de Bruijn
@Duracell1989

Maybe someone can help me; I'm using #addin nuget:?package=Cake.Docker&version=0.9.3
Locally everything works; but when I run this on our build server; if fails:

Running build script...
Could not load <snip>\tools\Addins\Cake.Docker.0.9.3\lib\netstandard2.0\Cake.Docker.dll (missing netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)

Meik Tranel
@MeikTranel
Hey is this normal behavior that msbuild goes into Diagnostic verbosity when /bl is passed
Adam Houldsworth
@RaringCoder
Morning everyone. Wondering if I can sanity check something. I've got NUnit3 running tests, I've got 0.2.0 of the build modules included, and my TeamCity configuration isn't producing the Tests tab. I've had this working in the past, the only difference here is now I've got a TC configuration with two build steps (cake script Tests, cake script Pack), whereas before I've only had one build step shelling out to Cake.
I've got settings.TeamCity = true; settings.Full = true; no dice :-(
Adam Houldsworth
@RaringCoder
Never mind, got it working. Upgraded the runner to 3.8.0: #tool nuget:?package=NUnit.ConsoleRunner&version=3.8.0 and then added the TeamCityEventListener to packages.config: <package id="NUnit.Extension.TeamCityEventListener" version="1.0.3" />
Gary Ewan Park
@gep13
@RaringCoder great! Sounds like a blog post in the making? 😄
Adam Houldsworth
@RaringCoder
Honestly mate yeah I would, but my blog is down for the count for now. Trying to move to github pages using wyam (C# version of Ghost) so I can somehow support 3 blogs in one: family, hobby, professional
Gary Ewan Park
@gep13
@RaringCoder I am using Wyam for my own blog, it works really well. If you wanted, we would welcome a guest blog post for cakebuild.net as well?
Adam Houldsworth
@RaringCoder
@gep13 I've done a series of posts on Cake already (on my offline blog), I'll let you know when it's up and running.
Gary Ewan Park
@gep13
Sounds good!
Brian M. Carr
@delphyne
Good morning. I'm trying to figure out if there is a way to determine which architecture cake is running under. The problem i'm trying to solve is the generation of ProtocolBuffer and gRPC classes. The compilers are not .NET compatible, so i need to be able to select the "correct" tool at runtime. Does anyone have any tips on this?
Maksym Diabin
@amdmax
hey guys, qq: vsts, attempting to upload to an s3 bucket. While running locally it works just fine. While running on VSTS machine (agent) having an issue with: "Resolving assembly log4net" that eventually becomes this: Process is terminated due to StackOverflowException.
has anyone experienced anything like that?
Patrik Svensson
@patriksvensson
@delphyne Architecture as in x86/x64?
Martin Björkström
@mholo65
@amdmax using Cake 0.27.0? We have seen similar issues with other addins as well. Will investigate. Issue here cake-build/cake#2132
Gary Ewan Park
@gep13
@/all We will soon start preparing for the 0.27.1 release of Cake. So this is a friendly reminder to pin your Cake version.
cakebot
@cake-build-bot
@/all Version 0.27.1 of the Cake has just been released, https://www.nuget.org/packages/Cake.
Gary Ewan Park
@gep13
@amdmax we have just released 0.27.1 of Cake, which we think will fix the issue that you are seeing.
Can you please take that version of Cake for a spin, and let us know if you are still seeing issues?
Joseph Musser
@jnm2

Can I start an issue asking for the ability to do this without a NullReferenceException?

new FooToolSettings
{
    EnvironmentVariables = { ["FOO"] = "foo" }
}

Rather than this?

new FooToolSettings
{
    EnvironmentVariables = new Dictionary<string, string> { ["FOO"] = "foo" }
}
And the same for almost all of Cake's tool settings collection properties?
They need to lazily initialize to empty collections if they are null when read.
Mattias Karlsson
@devlead
@jnm2 yes issue before PR is preferred. But I think it sounds like a reasonable change. Could potentially be a breaking change for anyone/thing expecting null today using it i.e. to coalesce defaults, indicate not set, etc.
Maksym Diabin
@amdmax
@gep13 thanks, the issue has been resolved! 0.27.1 works like a charm!