M
M
MyGodIsHe2016-08-31 06:02:48
visual studio
MyGodIsHe, 2016-08-31 06:02:48

How to set up file handling in Visual Studio 2015?

In Solution Explorer, when creating new files (add->create item), a window pops up with a choice of file type and its location. The location is always static and does not depend on which folder in the project tree I click on. You have to manually specify the correct path all the time. If this is not done, the studio will create a link. How to get rid of links and make the tree a real reflection of the file structure? And I would like it to automatically add new files to the project when I create them on disk or rename them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2016-08-31
@dmitryKovalskiy

stackoverflow.com/questions/12989981/how-to-create... This roughly describes the problem with creating files in different folders and why the studio behaves this way. Regarding "create the file with your hands, and the studio itself will pick it up and rename it if necessary" - this will not work. Changes must be made to the project file. It stores links to real files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question