question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build on Windows

See original GitHub issue
C:\Users\danroth27\Documents\GitHub\omnisharp-roslyn [dev]> .\build.ps1
Preparing to run build script...

Could not find Cake.exe at C:\Users\danroth27\Documents\GitHub\omnisharp-roslyn\scripts\.tools\Cake\Cake.exe
At C:\Users\danroth27\Documents\GitHub\omnisharp-roslyn\scripts\cake-bootstrap.ps1:132 char:5
+     Throw "Could not find Cake.exe at $CAKE_EXE"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Could not find ...s\Cake\Cake.exe:String) [], RuntimeException
    + FullyQualifiedErrorId : Could not find Cake.exe at C:\Users\danroth27\Documents\GitHub\omnisharp-roslyn\scripts\.tools\Cake\Cake.exe

Looks like the cake path needs a version number:

C:\Users\danroth27\Documents\GitHub\omnisharp-roslyn [dev]> dir .\scripts\.tools\

    Directory: C:\Users\danroth27\Documents\GitHub\omnisharp-roslyn\scripts\.tools

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        3/29/2016  10:56 AM                Addins
d-----        3/29/2016   9:30 AM                Cake.0.9.0
-a----        3/29/2016   9:30 AM            105 packages.config

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
david-driscollcommented, Apr 2, 2016

Someone else had this exact issue last week, but I couldn’t replicate it. I wonder @danroth27 do you have nuget.exe in your path? Perhaps its a nuget version issue at play?

0reactions
david-driscollcommented, Apr 2, 2016

Awesome, going to merge the branch anyway to avoid this in the future hopefully. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter Windows: cannot build App error MSB8066
So after my research I found out that there is no specific reason why Error MSB8066 error occur, but it can be due...
Read more >
Can't build in release mode, only debug mode
I've got a weird issue with Visual Studio 2019. For some reason building my app in Release mode doesn't work. It shortly shows...
Read more >
I can't build c++ - Microsoft Q&A
I have a problem: I can't run c++ program, neither can I build it and use debug or something. can someone help me?...
Read more >
Can't build for Windows
Hello, I installed the unity hub, and installed the unity editor on Linux, so i wanna build the game for windows, but on...
Read more >
So i saw a video that you can build from windows and it ...
I tried to build on the second story and it doesnt work at all. Any reason why? And yes the window was open....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found