LibraryManager
LibraryManager copied to clipboard
.tfignore files are not ignored by Visual Studio VSTS/TFS
Functional impact
Using ASPNET 2.2 web app, unable to exclude libman managed client-side libraries from VSTS/TFS source code control using .tfignore file.
Minimal repro steps
- Use libman to configure client side libraries (wwwroot\lib).
- Create .tfignore file in web app project directory.
- In .tfignore, specify to ignore client-side files (either):
wwwroot\lib
\wwwroot\lib
- Check in pending source code changes.
- All client-side files are added to source code control (should be ignored).
Expected result
No libman client-side "lib" files should be added to source code control.
Actual result
Client-side "lib" files are added to source code control.
Further technical details
n/a
@alexgav This is probably a bug in the source control features, but let's make sure LibMan isn't doing something wrong and then route it to the right team.
Sounds fair.
A .tfignore will often be placed adjacent to the solution file at the branch root. Please make sure that libman respects those as well.