This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

msbuild not being found


Hi,

I am seeing an issue when I run msbuild where I will get "msbuild: command not found". I will then run "which msbuild", where it will then tell me "no msbuild in...". The path to msbuild is within PATH, so it should be able to find it.

I did a check to make sure that msbuild does exist in the proper directory and it does.
$ ls -al /cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319 | grep -i msbui
ld
drwx------+ 1 SYSTEM           SYSTEM                 0 May 15  2014 MSBuild
-rwx------+ 1 SYSTEM           SYSTEM            267176 Jul  9  2012 MSBuild.exe

-rwx------+ 1 SYSTEM           SYSTEM               732 Mar 18  2010 MSBuild.rsp

-rwx------+ 1 SYSTEM           SYSTEM              1734 Mar 18  2010 msbuild.exe
.config

I can do a "which msbuild.exe" and it will tell me where it is.
/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe

I don't see this happen with any other commands where it needs the extension to find it.

Ex. "which ipconfig" works fine.
/cygdrive/c/Windows/System32/ipconfig

Any tips to further look into this issue?

Thanks,
Ben Cao

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]