Auto include new files created outside Visual Stud

2019-05-21 02:33发布

Problem:

Images that I create outside of Visual Studio doesnt automaticlly get included into my project if I save the image somewhere in the projects folder structure.

Question:

Is there a way to automatically include new files thats been added to any folder in the project?

Im also using Source Control (Team foundation server), it would be nice if new files gets added to it aswell.

2条回答
女痞
2楼-- · 2019-05-21 03:08

There is no automatic inclusion into the project available based on folder path. In VS2012 there is a detected changes feature in Team Explorer where you will see any files added/deleted outside of VS in the Detected link under Excluded Changes.

For the source control addition problem you should consider using the TFS power tools which have a windows explorer extension. Using this you can directly add your new files to tfs with a right click option.

查看更多
虎瘦雄心在
3楼-- · 2019-05-21 03:19

Use wildcards in your project file. For example:

<Content Include="images\*" />
查看更多
登录 后发表回答