added adding Folders to project, replaces BrowseForFoldersDialog by CommonOpenFileDialog#13
added adding Folders to project, replaces BrowseForFoldersDialog by CommonOpenFileDialog#13tobias-loew wants to merge 6 commits intoceciliasharp:masterfrom
Conversation
replaces BrowseForFoldersDialog by CommonOpenFileDialog
added status messages fixed adding to solution-folder
|
Hi, |
|
I will have look at this as soon as possible, have patience. |
|
Ok, thanks!
Am 2021-03-13 11:11, schrieb Cecilia Wirén:
… I will have look at this as soon as possible, have patience.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
Links:
------
[1]
#13 (comment)
[2]
https://github.com/notifications/unsubscribe-auth/ACCX7W5TBBNILR5SS5DGQVTTDM247ANCNFSM4ZARQYBA
|
no bakup files need
no backup files needed
|
@tobias-loew I have tried your changes out now and they will be a good addition to the extension. But would like to have an other name for the folder add just to clarify that it will add the files as liked file not actually add them. Can 'add folder as linked files' work or will that be too confusing you think? the more correct description would be something like "add folder content as folder and link foldes files into them" but that is tooooooo long :-D |
|
There is also to consider, that .net-projects and non-.net-projects (like C/C++) behave differently:
The code currently handles both transparently: it first tries to add virtual-folders. If that doesn't work it tries real-folders. |
|
I just tried it out on a console application .net 3.5 and the folders were created on disk but the files were not created just linked. (so not copied that you describe). nices way of handling this would be to catch what type of project it is and show the different menu options depending on that. |
|
Of course, you're right: I didn't use the extension for testing file-insertion on .net-projects, but simply dragged one in from the explorer, which resulted in file-copying. |
|
IMHO only the combinations (real-folder + So, how to figure out if virtual or real folders should be added to a project: the list of different project-types is quite-long (as of 2016 https://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs) and rather incomplete (at least Intel-Fortran-projects are missing, but I guess many more, plus there will be new ones), so it could be a two stage test: first looking for a registered project type, otherwise use the |
Hi,
I've implemented adding folders to projects/project-filters (only for virtual folder).
Please have a look at it.