How to update the solution and project files from the command line

I am testing open source freeware using Microsoft Visual Studio 2015 Community Edition (and here ) to ensure compiler and tool compatibility. The 30-day trial has expired, so I need to work from the command line because the IDE exists after it informed me that the trial has expired:

enter image description here

When I try to run msbuildfrom the command line, I get a couple of top-level errors:

Test> msbuild cryptest.sln
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
Build started 9/7/2015 7:58:54 AM.
Project "...\cryptest.sln" on node 1
 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|Win32".
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere.  [...\cryptest.sln]
Done Building Project "...\cryptest.sln" (default targets) -- FAILED.

Build FAILED.

"...\cryptest.sln" (default target)
(1) ->
(cryptlib target) ->
  MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe
". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Vis
ual Studio 2005 or 3) add the location of the component to the system path if i
t is installed elsewhere.  [...\cryptest.sln]

    0 Warning(s)
    1 Error(s)

The problems described above are related to the lower level solution (Visual Studio 2008) and project files.

Visual ++ Visual Studio 2015, .

V++ Visual Studio 2010 ++, VCUpgrade.exe $(VSInstallDir)\common7\Tools. : "... [VCUpgrade.exe ] , ".

Visual ++ 2010 , Windows SDK. devenv.exe /upgrade. , . , ( ).

!! From VS2015 Developer Command Line Prompt
cryptopp-5.6.3>devenv.exe /upgrade
cryptopp-5.6.3>dir *.vcproj *.vcxproj
...

09/07/2015  10:36 AM            81,845 cryptdll.vcproj
09/07/2015  10:36 AM            40,168 cryptest.vcproj
09/07/2015  10:36 AM           205,529 cryptlib.vcproj
09/07/2015  10:36 AM             8,885 dlltest.vcproj

VCUpgrade.exe ( Microsoft) :

cryptopp-5.6.3>vcupgrade cryptest.vcproj
Microsoft (R) Visual C++ Project Convert Utility - Version 14.00.23107
Copyright (C) Microsoft Corporation. All rights reserved.

Failed to initialize the VCProjectEngine.

Visual Studio Visual Studio 2015?


, , " VCProjectEngine" [] . ., , visual studio express.


( ) Microsoft Visual Studio 2015 Community dev Visual Studio 2015 Visual Studio. , Microsoft , ( ).

, Microsoft , - . , " ", "" . . Microsoft Visual Studio Community.

, Visual Studio Professional Microsoft, Community . , ​​500 ...

+2
2

, ( ) Microsoft, Community Edition. , / .

+4

, , , .

VS. . - Visual Studio 2013. VS2013 .

Visual Studio Community Edition . ( - MS)

enter image description here enter image description here

, .

MICROSOFT

MICROSOFT VISUAL STUDIO COMMUNITY 2015

Microsoft Corporation ( , , ) . , . Microsoft , , .

, .

.
.
, .

VS . VS2015 CE , , exe. VS .

, CE. .

, VS, , .

, , . , , , .

, , , , .

+2

Source: https://habr.com/ru/post/1612559/


All Articles