cURL / Mailing Lists / curl-library / Single Mail

curl-library

VS2013 Solution problems

From: Gisle Vanem <gvanem_at_yahoo.no>
Date: Tue, 31 Mar 2015 09:24:46 +0200

I need some help from an VisualStudio expert here. Steve?

I've just installed the new, free "Microsoft Visual Studio Community 2013"
and tried it by loading 'projects\Windows\VC12\curl-all.sln' and
'projects\Windows\VC12\lib\libcurl.sln' in it. I.e. "devenv libcurl.sln".

VS 2013 is "Version 12.0.31101.00 Update 4".

I assumed VS 2013 would migrate the .sln/.vcxproj to a new version as
needed (as it did in the previous versions), but that's not the case
for me now. The message on loading the .sln is:

   Unsupported
   This version of Visual Studio is unable to open the following projects. The project types
   may not be installed or this version of Visual Studio may not support them.
   For more information on enabling these project types or otherwise migrating your assets,
   please see the details in the "Migration Report" displayed after clicking OK.
         - curlsrc, "F:\MingW32\src\inet\curl\projects\Windows\VC12\src\curlsrc.vcxproj"
         - libcurl, "F:\MingW32\src\inet\curl\projects\Windows\VC12\lib\libcurl.vcxproj"

   No changes required
   These projects can be opened in Visual Studio 2013, Visual Studio 2012, and
   Visual Studio 2010 SP1 without changing them.
         - curl-all, "F:\MingW32\src\inet\curl\projects\Windows\VC12\curl-all.sln"

And from the migrate report:
(via 'lynx -dump file:///F:/MingW32/src/inet/curl/projects/Windows/VC12/UpgradeLog.htm')

                                          Migration Report -

Overview

    Project Path Errors Warnings Messages
    curlsrc src\curlsrc.vcxproj 1 0 0
    libcurl lib\libcurl.vcxproj 1 0 0
    Solution curl-all.sln 0 0 1

Solution and projects

curlsrc

                                            Message
    src\curlsrc.vcxproj: The application which this project type is based on was not found.
    Please try this link for further information:
    http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942

libcurl

                                            Message
    lib\libcurl.vcxproj: The application which this project type is based on was not found.
    Please try this link for further information:
    http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942

Solution

                              Message
    Show 1 additional messages
    curl-all.sln: The solution file does not require migration.
    Hide 1 additional messages

--------------

I assume the message "The application which this project type is based on was
not found." is the culprit. But which application? cl.exe or what? Are anybody
familiar with such errors? Maybe there are some problems with some MSbuild
settings or env-vars?

If I build from the cmd-line [1], all seems okay. E.g.:
   msbuild -nologo -p:Configuration="DLL Debug" -fileLogger libcurl.sln

I end up with a "<curl_root>\build\Win32\VC12\DLL Debug\libcurld.dll".

[1] After a "generate.bat VC12".

-- 
--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-31