Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. I'm kinda confused about how to create a empty project in Visual Studio 2013

I'm kinda confused about how to create a empty project in Visual Studio 2013

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiotutorialquestionannouncement
3 Posts 3 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 12941702
    wrote on last edited by
    #1

    In previous versions a guy could choose the template Empty Project, but Microsoft has removed that in the 2013 version which is what I'm using. Now I know I can choose Console Application and use that, but I was wondering if there is another way to get an empty project started. I found out that I can scroll down to Visual Studio Solutions or something like that and make an empty solution that contains no projects, but what do I do after that? Can or do I have to then add a project to that empty solution, or can I just add a .cs source file? Can you simply have a solution and then add a new item (like a source code file) or do you then have to add a project to the solution first, and then add a .cs source file? Kind of confused here.

    D L 2 Replies Last reply
    0
    • U User 12941702

      In previous versions a guy could choose the template Empty Project, but Microsoft has removed that in the 2013 version which is what I'm using. Now I know I can choose Console Application and use that, but I was wondering if there is another way to get an empty project started. I found out that I can scroll down to Visual Studio Solutions or something like that and make an empty solution that contains no projects, but what do I do after that? Can or do I have to then add a project to that empty solution, or can I just add a .cs source file? Can you simply have a solution and then add a new item (like a source code file) or do you then have to add a project to the solution first, and then add a .cs source file? Kind of confused here.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Solutions can only contain solution level items, not code. That means the majority of the content of a Solution is going to be Projects. An "empty" project is a bit dependent on the language of choice. Each language has it's own requirements for a project. You never really get to a project with absolutely nothing in it. What you do get is language dependent.

      A guide to posting questions on CodeProject

      Click this: Asking questions is a skill. Seriously, do it.
      Dave Kreskowiak

      1 Reply Last reply
      0
      • U User 12941702

        In previous versions a guy could choose the template Empty Project, but Microsoft has removed that in the 2013 version which is what I'm using. Now I know I can choose Console Application and use that, but I was wondering if there is another way to get an empty project started. I found out that I can scroll down to Visual Studio Solutions or something like that and make an empty solution that contains no projects, but what do I do after that? Can or do I have to then add a project to that empty solution, or can I just add a .cs source file? Can you simply have a solution and then add a new item (like a source code file) or do you then have to add a project to the solution first, and then add a .cs source file? Kind of confused here.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Visual Studio will only build applications from projects. A Solution is a set of one or more Projects. So adding a single source file to a Solution makes no sense.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups