[GRADLE-3313] Automatic detection of Visual Studio Community 2015 RC not working properly Created: 26/Jun/15  Updated: 16/Jan/17  Resolved: 16/Jan/17

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 3.3-rc-1

Type: Bug
Reporter: Sterling Greene Assignee: Unassigned
Resolution: Fixed Votes: 8


I have installed Visual Studio Community 2015 RC in it's default location. Gradle seems to pick up the location through the registry [1], but the compilation fails because standard headers (e.g. stdio.h) are not found.

When I manually specify the installDir

toolChains {

{ installDir "C:/Program Files(x86)/Microsoft Visual Studio 14.0" }

it works fine. The INCLUDEs seem to be not detected properly for automatic detection.

Comment by Sterling Greene [ 26/Jun/15 ]

useful http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx

Comment by Simon Herter [ 11/Sep/15 ]

A pull request was opened for this on github.

Comment by Dennis Laffey [ 29/Oct/15 ]

I have also tried the pull request with VS2015 and it appears to be working.

Comment by Benjamin Muschko [ 15/Nov/16 ]

As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.

We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.

Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:

  • Checking that your issues contain requisite context, impact, behaviors, and examples as described in our published guidelines.
  • Leave a comment on the JIRA issue or open a new GitHub issue confirming that the above is complete.

We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!

Comment by Phil McArdle [ 15/Nov/16 ]

Believe this is well-covered already by GH issue 753 and PR 704

Generated at Wed Jun 30 12:45:31 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.