Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks imported via #load directive from NuGet source not listed #70

Open
ShaneRayCafe opened this issue Apr 9, 2017 · 3 comments
Open
Assignees

Comments

@ShaneRayCafe
Copy link

I have a build.cake file in the root of my solution. It loads another file via #load "src/base.cake". These are not loaded in the Test Runner Explorer (pictured below).

image

@agc93
Copy link
Member

agc93 commented Apr 10, 2017

Hi @ShaneRayCafe and thanks for the report!

What version of the extension are you currently using?

If on 0.1.x can you please try installing the prerelease version of the extension as outlined in this blog post as there have been quite a few changes to the task parsing logic for 0.2.x.

Thanks!

@ShaneRayCafe
Copy link
Author

ShaneRayCafe commented Apr 12, 2017

@agc93 Thanks for your reply and sorry for the slow response. It looks like the update to 0.2.x did partially resolve this issue.

#load "src/base.cake" - this now works as expected.

However, I have noticed that when using the #load directive with a script from nuget the tasks are not listed.
#load "nuget:?package=Shared.Build.Cake"

@agc93
Copy link
Member

agc93 commented Apr 12, 2017

Ah that's a good find @ShaneRayCafe and as it was only added recently to Cake, the extension doesn't support that currently. I'll have a look at this and work out how we can support that case 😄

@agc93 agc93 changed the title Tasks imported via #load directive not listed Tasks imported via #load directive from NuGet source not listed Apr 12, 2017
@agc93 agc93 self-assigned this Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants