Add new files / remove old files automatically from solution
3 posts
• Page 1 of 1
Add new files / remove old files automatically from solution
Hello,
i have another question.
It might be not something specific for PHP-Tools, but maybe since i have not found a working solution for this usecase there is something existing in PHP-Tools or maybe an idea for an update.
Sometimes i work together with other people that might not use Visual Studio to develop. (yep that happens. ) But when they add new files or delete old files, the sln project does not update automatically. New files are not visible in the Project, and deleted files are still in the list.
Is there any way to update it automatically? Currently my only idea to update it, is always dragging the whole project folder into the project again, and telling it not to overwrite anything. But old deleted files are still included in the project then.
I found something on google where i should edit the *.phpproj file in an editor and adding something like
or
But when i did that, files also showed up as folder and i could not open them.
i have another question.
It might be not something specific for PHP-Tools, but maybe since i have not found a working solution for this usecase there is something existing in PHP-Tools or maybe an idea for an update.
Sometimes i work together with other people that might not use Visual Studio to develop. (yep that happens. ) But when they add new files or delete old files, the sln project does not update automatically. New files are not visible in the Project, and deleted files are still in the list.
Is there any way to update it automatically? Currently my only idea to update it, is always dragging the whole project folder into the project again, and telling it not to overwrite anything. But old deleted files are still included in the project then.
I found something on google where i should edit the *.phpproj file in an editor and adding something like
- Code: Select all
<Folder Include="Volumes\typo3\**\*" />
or
- Code: Select all
<Compile Include="Volumes\typo3\**\*" />
But when i did that, files also showed up as folder and i could not open them.
- beo6
- Posts: 8
- Joined: February 11th, 2018, 6:33 pm
Re: Add new files / remove old files automatically from solu
If you enable 'Show All Files' in your solution explorer then all files will be shown even if they are not included in your solution.
You do not have the required permissions to view the files attached to this post.
- DanTalash
- Posts: 23
- Joined: November 25th, 2015, 6:19 pm
Re: Add new files / remove old files automatically from solu
ahh. thx.
But i guess it will still display deleted files.
Just found that i can change the .phpproj
parts with
to
seem to work.
But thanks. Like this its a lot better to work with it.
But i guess it will still display deleted files.
Just found that i can change the .phpproj
parts with
- Code: Select all
<ItemGroup>...</ItemGroup>
to
- Code: Select all
<ItemGroup>
<Compile Include="**" />
</ItemGroup>
<ItemGroup>
<Content Include="**" />
</ItemGroup>
seem to work.
But thanks. Like this its a lot better to work with it.
- beo6
- Posts: 8
- Joined: February 11th, 2018, 6:33 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 44 guests