-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
IntelliSense not working for all .cake files in workspace #168
Comments
@KatoStoelen sorry to hear that you are having problems! Are you able to provide a small sample repository that shows the problem that you are having? That would be the quickest way to try to get to the bottom of this problem. Thanks! |
Was able to find the culprit. Seems that I can create an issue for Cake.Git instead. The error message seems a bit off though. |
A working (or in this case, not working) example showing the problem would still be required though. Perhaps best to keep the issue here until we decide what needs to be done to rectify this. |
I'm too trigger happy it seems (already created another issue) 😬 Steps to reproduce:
|
(#168) do not load dlls under runtimes
🎉 This issue has been resolved in version 0.10.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
cake-vscode v2.0.0
Cake.Bakery v0.9.2
I was previously using
cake-bakery.portable
via Chocolatey to get IntelliSense working for.cake
files. Worked like a charm until recently. I suspect it stopped working around the launch ofcake-vscode
v2.0.0. Hence, I tried to get the "Enable IntelliSense automatically in the Cake VS Code extension" feature working, without any luck.In my workspace, I have two
.cake
files:/build/build.cake
/build/utils/pretty-output.cake
.When Omnisharp is starting, I get an error while loading
/build/build.cake
. However, the utility script loads just fine:Seems like
CakeScript.Host.AssemblyPath
is empty (ornull
?) for/build/build.cake
.One other thing I noticed with
cake-vscode
v2.0.0 (could probably be created as a separate issue), is that whenomnisharp.json
already exists, it is not updated with path to Cake.Bakery. Resulting in the error:Could not initialize Cake script service. Aborting.
A workaround was to delete/rename
omnisharp.json
, deleteCake.Bakery
fromcake-vscode
extension directory and launch VS Code. This resulted in a newomnisharp.json
file withbakeryPath
set.The text was updated successfully, but these errors were encountered: