LibraryManager icon indicating copy to clipboard operation
LibraryManager copied to clipboard

.tfignore files are not ignored by Visual Studio VSTS/TFS

Open paultechguy opened this issue 6 years ago • 3 comments

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

  1. Use libman to configure client side libraries (wwwroot\lib).
  2. Create .tfignore file in web app project directory.
  1. In .tfignore, specify to ignore client-side files (either):
    wwwroot\lib 
    \wwwroot\lib
  1. Check in pending source code changes.
  2. 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

paultechguy avatar Apr 02 '19 00:04 paultechguy

@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.

jodavis avatar Apr 04 '19 21:04 jodavis

Sounds fair.

paultechguy avatar Apr 04 '19 21:04 paultechguy

A .tfignore will often be placed adjacent to the solution file at the branch root. Please make sure that libman respects those as well.

StingyJack avatar Jun 06 '19 15:06 StingyJack