paultechguy
paultechguy

Reputation: 2518

How to exclude wwwroot\lib in ASPNET Core using Visual Studio 2017

Using VSTS (not git) and use Visual Studio 2017 libman to manage client-side libraries. These libraries are put in wwwroot\lib. I don't want to add these to source code control.

I've tried putting a .tfignore in my project folder with:

wwwroot\lib

I also tried:

\wwwroot\lib

Regardless of what I do, all the wwwroot\lib files are put in source code control when I add a new client-side library via libman.

How can I ignore the lib files since they are managed/restored by Visual Studio libman feature?

Upvotes: 1

Views: 962

Answers (1)

tnJed
tnJed

Reputation: 917

Based on the comment above from Seabizkit, **/wwwroot/lib worked for me.

Upvotes: 2

Related Questions