cake-build / bakery

Cake server for code generation and script analysis
https://cakebuild.net/
MIT License
29 stars 14 forks source link

Tools folder is always created at the workspace root #100

Open patriksvensson opened 6 years ago

patriksvensson commented 6 years ago

if I keep my cake scripts in a folder called scripts and open vscode with bakery globally installed and the workspace root one level up, it will restore packages to the workspace root.

I tried adding a cake.config to the workspace root, but that doesn't seem to be respected.

What happens

- scripts
  - build.cake
- tools
- foo.txt

What is expected

- scripts
  - tools
  - build.cake
- foo.txt
serialprimate commented 6 years ago

This issue might be related to:

System.IO.FileNotFoundException: Cake is not installed. Path c:/git/redacted/tools/Cake/Cake.Core.dll does not exist. at OmniSharp.Cake.CakeProjectSystem.GetProject(CakeScript cakeScript, String filePath) at OmniSharp.Cake.CakeProjectSystem.AddCakeFile(String cakeFilePath)

I have been using a 'build' directory.

Matt

vchirikov commented 4 years ago

Any workaround?