tag:help.appveyor.com,2012-11-13:/discussions/problems/26278-organization-build-fails-because-vc-90-is-not-presentAppVeyor: Discussion 2020-02-14T03:13:48Ztag:help.appveyor.com,2012-11-13:Comment/480870852020-02-13T14:51:11Z2020-02-13T14:51:13Z"organization" build fails because VC++ 9.0 is not present<div><p>We are <a href="https://www.appveyor.com/docs/team-setup/#setting-up-appveyor-account-for-github-organization">transitioning our AppVeyor runs from my user account to our organizational account</a>.</p>
<p>Everything is seemingly identical, but everything passes <a href="https://ci.appveyor.com/project/guyer/fipy/build/job/gslqphh52gnuksfq">on my user account</a>, but the <a href="https://ci.appveyor.com/project/usnistgov/fipy/build/job/b8ehedmenejntsi4">build fails on our organization account</a>.</p>
<p>The logs are identical up to <a href="https://ci.appveyor.com/project/guyer/fipy/build/job/gslqphh52gnuksfq?fullLog=true#L194">line 194</a> at which point <a href="https://ci.appveyor.com/project/usnistgov/fipy/build/job/b8ehedmenejntsi4#L194">the organization build fails</a> because <code>Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27</code>.</p>
<p>Why is VC++ 9.0 present on my user build but not on my organization build?</p></div>Jon Guyertag:help.appveyor.com,2012-11-13:Comment/480870852020-02-13T19:23:00Z2020-02-13T19:23:00Z"organization" build fails because VC++ 9.0 is not present<div><p>It fails on organization account because by default all new accounts are running builds on <code>Visual Studio 2019</code> image while your personal account defaults to <code>Visual Studio 2015</code> image.</p>
<p>To fix that specify the image explicitly in <code>appveyor.yml</code>:</p>
<pre>
<code>image: Visual Studio 2015</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/480870852020-02-13T21:28:26Z2020-02-13T21:28:27Z"organization" build fails because VC++ 9.0 is not present<div><p>Thank you, I got that working.</p>
<p>Is there someplace in the build interface that I can see that complete configuration? When I specify <code>image: Visual Studio 2015</code>, then the build matrix tells me that's what it's using, but previously, I didn't see any sign of which image was being used by default.</p></div>Jon Guyertag:help.appveyor.com,2012-11-13:Comment/480870852020-02-13T23:00:52Z2020-02-13T23:00:52Z"organization" build fails because VC++ 9.0 is not present<div><p>Put "image: Visual Studio 2015" to the top of .appveyor.yml.</p>
<p>Default image is configured in account level and is used when no "image" specified in YAML.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/480870852020-02-14T03:13:46Z2020-02-14T03:13:48Z"organization" build fails because VC++ 9.0 is not present<div><p>Got it, thanks</p></div>Jon Guyer