Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:48
    Build #1278 passed
  • 14:46

    dependabot[bot] on nuget

    Bump Newtonsoft.Json from 13.0.… (compare)

  • 14:46
    dependabot[bot] labeled #4081
  • 14:46
    dependabot[bot] opened #4081
  • 04:02
    Build #1198 passed
  • 00:56
    alex-vovk starred cake-build/cake
  • Dec 07 18:18
    Jericho commented #4013
  • Dec 07 17:41
    Jericho commented #4080
  • Dec 07 17:33
    Jericho opened #4080
  • Dec 07 17:32
    Build #1197 passed
  • Dec 07 17:25
    Jericho commented #4013
  • Dec 07 06:55
    l0-coder starred cake-build/cake
  • Dec 06 13:45
  • Dec 06 04:02
    Build #1196 passed
  • Dec 06 02:29
    reputationdev starred cake-build/cake
  • Dec 05 17:59
    steviegt6 starred cake-build/cake
  • Dec 04 23:36
    Build #7426 passed
  • Dec 04 23:31
    Build #1277 passed
  • Dec 04 23:30
    Build #3044 passed
  • Dec 04 23:18
    augustoproiete commented #4077
Mike Gottlieb
@mikegottlieb
not sure what you mean by targets?
Rodney Littles II
@RLittlesII
iOS xunit project and such
So you can test on device?
I’m walking into an afternoon of meetings. I’ll check back in in a moment
Mike Gottlieb
@mikegottlieb
oh, no. I’m writing tests against my shared code library. I do have a UI test project for testing some stuff on device. I’m having different troubles with my cake scripts for that.
I have a fairly limited amount of device specific code and a lot of it is using location services and background services so a bit tricky to truly test.
Gary Ewan Park
@gep13
@mikegottlieb @RLittlesII so I think I asked this the other day, but let me ask again, based on the discussion that you guys have just had....
sounds like you want to be using DotNetCoreTest, rather than the XUnit Aliases. Have you tried using that yet?
Mike Gottlieb
@mikegottlieb
That doesn’t work for other reasons
Or maybe I just didn’t provide additional settings to it that were required.
Gary Ewan Park
@gep13
Hmm, this sounds like something that needs to be investigated.
Mike Gottlieb
@mikegottlieb
It seems like when I invoke any of the DotNetCoreXYZ aliases in Cake my environment config is off.
Gary Ewan Park
@gep13
If you could create a small reproducible sample of the type of thing that you are trying to do, that would help immensely!
It would be good to know if this is somethign specific to configuration, or something that is off with the aliases that we have
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!