-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Debugging cake scripts in visual studio code and using #load #497
Comments
@robgha01 is it only when debugging or does it also happen when running the script without debugging? Could you paste verbose log of what is happening (i.e. set |
@mholo65 i get this when i debug
When i remove the --debug it seams to be the same:
|
The build scripts looks like this: https://gist.github.com/robgha01/6393b59e11694f6f135e95c5c93b376b |
@robgha01 what happens if you move |
@mholo65 i get the same error the load is now at the top line 1 before anything else:
I think for some reason the #load is not including the script. as it is the same if i use it at top and bottom ? |
@mholo65 i tested with this: |
@robgha01 if you are using Cake.CoreCLR then you can only use addins that are built for .net core. Some of the addins that you are using don't support .net core yet. |
@robgha01 does it work when not using |
@gep13 @mholo65 yes it works if i dont use the CoreCLR but the #load is still not including the base script is it because im using addins that are not supported ? |
Its simply not working no scripts are loaded see the zip in this issue cake-build/cake#1588 i get messages indicating that it cant find variables etc that live inside the #load script. Anyone of @mholo65 and @agc93 knows anything about this ?
The zip:
https://1drv.ms/u/s!AvOXr9f-QF0p22E1gMD_I9kTNWLS
The text was updated successfully, but these errors were encountered: