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

make not working. Is Cygwin supported? #27

Open
aikeru opened this issue Mar 26, 2015 · 5 comments
Open

make not working. Is Cygwin supported? #27

aikeru opened this issue Mar 26, 2015 · 5 comments

Comments

@aikeru
Copy link

aikeru commented Mar 26, 2015

I use cygwin's vim (not gvim) and msbuild is not in my PATH by default.

OOTB, running make within vim from a folder that contains an sln file results in this:

image

As a side-note, running "msbuild" from cygwin wont work, but "msbuild.exe" (after I added to my PATH) does.

@kianryan
Copy link
Member

kianryan commented Apr 1, 2015

it wasn't designed to work this way, but I don't see why it shouldn't. I'll take a look.

@reidev275
Copy link

reidev275 commented Sep 22, 2016

I added an alias to my ~/.bashrc file for msbuild that executes MsBuild.exe. I can execute msbuild from bash now, but :make still fails from within vim.

alias msbuild="/c/Windows/Microsoft.NET/Framework64/v4.0.30319/MsBuild.exe"

Update I also added the alias to my ~/.profile file with the same results.

@aikeru
Copy link
Author

aikeru commented Sep 22, 2016

Perhaps instead of an alias, maybe a shell script marked as executable inside a folder that works from the default path would work?

Maybe this doesn't work because Vim's shell execution doesn't load the profile? My understanding around some of this is limited :)

@reidev275
Copy link

That at least finds something to execute. Realistically I usually have another terminal open in the directory anyway for git, grep, etc so having it inside of vim doesn't provide much more value

@kianryan
Copy link
Member

Please try latest commits - we now look for an executable on the path before hunting in framework folders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants