none
Trying to create Solution from project but Do not have: Create New Project from Existing Code Files wizard in VS2012 Express or VS2013 Express

    Question

  • USING VS2012 Express Desktop or  VS2013 Express Desktop for C++ project.

    Trying to create a Solution & Project from an open source project with no solution file because it is done with gvim and command line; but it does build from the Developer Command Prompt VS2012 using: nmake -f Makefile.msvc. 

    It was recommended to create a new project and it can be done with the "Create New Project from Existing Code Wizard" 

    It should be in the templates from FILE>NEW PROJECT>INSTALLED>TEMPLATES>VISUAL C++> and then here is where the option of Create New Project from Existing Code is supposed to be.

    So is that option only available in the full Visual Studio 2012/2013 and not included in the Express versions?

    I did notice a difference in the docs that starts by saying go to FILE>NEW>Project From Existing Code. So there is a difference as there is no "NEW" just by itself option. There is "NEW PROJECT, NEW TEAM PROJECT, NEW FILE, under FILE. 

    Here is the doc: How to: Create a C++ Project from Existing Code http://msdn.microsoft.com/en-us/library/b9cy3d6x.aspx

    If indeed there is no wizard then it is recommended to create a blank Visual Studio Solution and add the files manually as described here: http://social.msdn.microsoft.com/Forums/vstudio/en-US/1a67d30f-b3f9-4971-9287-b6331e41d833/create-project-from-existing-code?forum=vssetup

    I started to add the files but it would not allow to add any folders in. Another person had the same issue and was answered that you can add the folders in because there is an option to do that when you "ADD EXISTING ITEM"  but that is no true. 

    So how to add existing folders and sub-folders to solution project. 

    After I get the all the files and folders in the same organization as the original project what do I need to do next to make it all work? The project uses Makefile.msvc and I hear I have to look at that and reproduce how it builds the project somehow.

     
    • Edited by megamind888 Saturday, October 19, 2013 7:24 AM
    Saturday, October 19, 2013 7:17 AM

Answers

  • Hello,

    I can get the same result with you in Visual Studio 2013 Express for Windows Desktop. There is not that option: Create New Project from Existing Code Wizard for C++ projects and we can’t add folders into a project through ‘Add New Items’/‘Add Existing Item’ for C++ projects.

    But for Visual C#/Visual Basic project, we can add folders into projects through Add->New Folder.

    But in Visual Studio 2010 Ultimate, I also can’t add folders into a Visual C++ project, I only can add New Filter. In my opinion, there is no direct way to add a folder for a Visual C++ project. Please see: http://social.msdn.microsoft.com/Forums/vstudio/en-US/0f6853ae-69bc-4b53-8485-4feab82f0cb8/add-folder-of-source-files-to-vc-project?forum=vcgeneral

    And I am afraid that the option: Create New Project from Existing Code Wizard is only for the full version Visual Studio 2012/2013. I suggest that you try to use the full version Visual Studio.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, October 21, 2013 9:57 AM

All replies

  • Hello,

    I can get the same result with you in Visual Studio 2013 Express for Windows Desktop. There is not that option: Create New Project from Existing Code Wizard for C++ projects and we can’t add folders into a project through ‘Add New Items’/‘Add Existing Item’ for C++ projects.

    But for Visual C#/Visual Basic project, we can add folders into projects through Add->New Folder.

    But in Visual Studio 2010 Ultimate, I also can’t add folders into a Visual C++ project, I only can add New Filter. In my opinion, there is no direct way to add a folder for a Visual C++ project. Please see: http://social.msdn.microsoft.com/Forums/vstudio/en-US/0f6853ae-69bc-4b53-8485-4feab82f0cb8/add-folder-of-source-files-to-vc-project?forum=vcgeneral

    And I am afraid that the option: Create New Project from Existing Code Wizard is only for the full version Visual Studio 2012/2013. I suggest that you try to use the full version Visual Studio.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, October 21, 2013 9:57 AM
  • So basically, we still have to shell out astronomical sums to Microsoft to use our own code with their tools, before we even get to the point of making money.  This is why people who haven't won the lottery prefer open source development tools.  When will Microsoft learn that rich people aren't the only developers around anymore?

    This feels too much like having to pay a highwayman bandit.  It would be one thing if they sold better features in the full version, but intentionally hobbling the Express version to punish people for not being rich is ridiculous.  

    I really wish developers would abandon tools like this, so we're not forced to deal with it.  I'll never understand why so many developers are enablers to Microsoft claiming profits that we don't even get the chance to make because they hobble our abilities to create.  Wouldn't it make more sense for them to let us develop, let us get to the point of having money to spend on their tools in the first place, and then sell us things to solve problems that only come at that stage?  

    This is only going to reflect worse on them with time as development skills spread.  Programming is the new literacy, and MS should learn from history and stop trying to be the clergy elite.  As was demonstrated historically with arithmetic, literacy with the written word, mathematics, and basic science literacy, this will only lead people to despise them in time.  

    But, by all means, let's learn the exact same lessons over and over.  

    • Edited by JP Harford Tuesday, February 18, 2014 3:31 PM
    Tuesday, February 18, 2014 3:26 PM