delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/16/10:35:40

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=EiF
r7gIBGrfHV4k+ZplyCtVwgDOmPyYPmOHBU6BBVDG/3kCU/9ncg7VGYB/6TnAFTlD
IS1lcCtBsH0tO3dlfsa0I6i3T33cWAj4ppHx24dv40UDHxw1/fJdj4gEK0lVyWd8
GL/CsHiUVAvEPXm1ectw607KZ2LG6oUFMBn3vzRE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=w6PS32yCZ
USaQ/SSf0+G21CMvmo=; b=BJn3MHnmsnueSO4urmYEW5IkbrzQvXSz1fC3JG45M
De5KieAKRmvP55tFsFTuQhWZdAYT8lId+CETVcaaTYebEn5R+cAu/DDDuYfO+q95
qIPDzv8l52p5kPtnqLtTc5jqTgFp1JLx+FsIfdvMLmYpT/zLiod1TWo80qXES/Cx
dE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail1.bemta8.messagelabs.com
X-Env-Sender: becao AT progress DOT com
X-Msg-Ref: server-10.tower-95.messagelabs.com!1437057319!40223925!1
X-StarScan-Received:
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
From: Benjamin Cao <becao AT progress DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: msbuild not being found
Date: Thu, 16 Jul 2015 14:35:04 +0000
Message-ID: <be67b137b9b14aa9a1f1132160f790c0@ntmaexbe03.bedford.progress.com>
x-ms-exchange-transport-fromentityheader: Hosted
x-ems-proccessed: +CmIlJ+kdV7Z341JADFd9w==
x-ems-stamp: n5IsJPhIE0JbYgMxbUkZ2w==
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t6GEZZbc013374

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019