madskristensen / AddAnyFile

A Visual Studio extension
Apache License 2.0
262 stars 119 forks source link

Cannot add a new file in a solution with multiple projects, unless using the default visual studio menu first. #53

Open GabrielJadderson opened 6 years ago

GabrielJadderson commented 6 years ago

Installed product versions

Description

The extension cannot create a new file, when inside a solution with mutliple projects.. visual studio supports creating multiple projects within one solution and can distinguish easily between them.

Steps to recreate

  1. create a c++ empty project.
  2. you should now have 1 project in your solution.
  3. add a new file with "AddAnyFile" call it "main.c" without qoutes
  4. add new project, using the default visual studio add option call it "project 2"
  5. right click the new project, click on "set as startup project"
  6. add a new file again with "AddAnyFile".
  7. nothing happens..
  8. if you use the default visual studio add menu you will be able to create the file.
  9. after you've created a new file using the default visual studio menu, you'll then be able to use this extension. and add files normally, but not until you've used vs' default menu

Current behavior

does not support multi project setup.

Expected behavior

create the file regardless