* msbuild not being found
@ 2015-07-16 14:35 Benjamin Cao
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Cao @ 2015-07-16 14:35 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: msbuild not being found
@ 2015-07-16 14:54 Houder
0 siblings, 0 replies; 2+ messages in thread
From: Houder @ 2015-07-16 14:54 UTC (permalink / raw)
To: cygwin
> Hi,
>
> I am seeing an issue when I run msbuild where I will get "msbuild:
> command not found".
Invoke msbuild.exe in stead ... invocation of msbuild will not work,
because there is a
directory msbuild.
Or: include the following in your .bashrc:
alias msbuild='MSBuild.exe -nologo'
Henri
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-16 14:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-16 14:35 msbuild not being found Benjamin Cao
2015-07-16 14:54 Houder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).