tag:help.appveyor.com,2012-11-13:/discussions/problems/13170-i-can-no-longer-build-my-project-something-missing-c-supportAppVeyor: Discussion 2018-08-25T02:27:41Ztag:help.appveyor.com,2012-11-13:Comment/449439762018-03-21T05:50:19Z2018-03-21T05:50:25ZI can no longer build my project - something missing - c++ support?<div><p>When I try to compile OpenCover, it now stops with the following error</p>
<p><a href="https://ci.appveyor.com/project/sawilde/opencover/build/4.7.825">https://ci.appveyor.com/project/sawilde/opencover/build/4.7.825</a></p>
<p>[exec] C:\projects\opencover\main\OpenCover.Test.Profiler\OpenCover.Test.Profiler.vcxproj(29,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.</p>
<p>it seems to be a recent thing - last 2 weeks</p>
<p>I'll try to investigate but if the recent change is obvious to someone any help would be appreciated</p></div>shaun_wildetag:help.appveyor.com,2012-11-13:Comment/449439762018-03-21T07:15:47Z2018-03-21T07:15:47ZI can no longer build my project - something missing - c++ support?<div><p>This seems like the problem discussed <a href="https://help.appveyor.com/discussions/problems/12928-build-failing-without-any-change">here</a>. Please let us know if this helped.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/449439762018-03-21T21:11:23Z2018-03-21T21:11:23ZI can no longer build my project - something missing - c++ support?<div><p>I'll give it a try but this is a native c++ project so not sure what dotnet core has to do with it.</p></div>shaun_wildetag:help.appveyor.com,2012-11-13:Comment/449439762018-03-21T21:28:26Z2018-03-21T21:28:26ZI can no longer build my project - something missing - c++ support?<div><p>Sorry. this must be a premature answer. Can you try "previous" image to see if this is related to the recent image update (<a href="https://www.appveyor.com/updates/2018/03/12/">https://www.appveyor.com/updates/2018/03/12/</a>)?</p>
<p>But even if this helps, please update us and let us know if your idea about specific root cause. We have to ensure it is understood and fixed until next build worker image update (when "current" image will become "previous").</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/449439762018-03-21T22:41:24Z2018-03-21T22:41:24ZI can no longer build my project - something missing - c++ support?<div><p>thanks the global.json did the trick (after a couple of stabs)</p>
<ul>
<li>seems the error was always there but 2.1.4 ignores the error as the project is a c++ one</li>
</ul>
<pre>
<code> [exec] C:\projects\opencover\main\OpenCover.Profiler\OpenCover.Profiler.vcxproj(31,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
[exec] C:\projects\opencover\main\OpenCover.Test.Profiler\OpenCover.Test.Profiler.vcxproj(29,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
[exec] C:\projects\opencover\main\OpenCover.Profiler\OpenCover.Profiler.vcxproj : warning NU1503: Skipping restore for project 'C:\projects\opencover\main\OpenCover.Profiler\OpenCover.Profiler.vcxproj'. The project file may be invalid or missing targets required for restore. [C:\projects\opencover\main\OpenCover.sln]
[exec] C:\projects\opencover\main\OpenCover.Test.Profiler\OpenCover.Test.Profiler.vcxproj : warning NU1503: Skipping restore for project 'C:\projects\opencover\main\OpenCover.Test.Profiler\OpenCover.Test.Profiler.vcxproj'. The project file may be invalid or missing targets required for restore. [C:\projects\opencover\main\OpenCover.sln]</code>
</pre></div>shaun_wildetag:help.appveyor.com,2012-11-13:Comment/449439762018-03-21T22:58:53Z2018-03-21T22:58:53ZI can no longer build my project - something missing - c++ support?<div><p>Great, thanks for the update!</p></div>Ilya Finkelshteyn