Difference between building solution file with devenv.com and building in Visual Studio IDE

83 views Asked by At

I had a Jenkins VM setup to build project however it suddenly failed one day when building solutions from commandline like this:

devenv.com /useenv /build "Release|x64" "build\myproject.sln"

It's giving errors like:

error C3861: 'IN6_IS_ADDR_MULTICAST': identifier not found
error C2065: 'in6addr_any': undeclared identifier

In other words, it's missing something from Windows SDK?

However if I logged onto the VM and build the solution from visual studio 2017 IDE and it can built successfully.

Does anybody know how it failed to build from commandline?

0

There are 0 answers