Posts

Showing posts from May, 2020

Ignore/exclude spfx solution files to check-in in TFS

There are lot of files and folders does not required to check-in into version control like git and TFS. That's why, the yeoman generator automatically creates .gitignore file to instruct git to exculde certain files.  But what about if you are using TFS. Don't worry. TFS also has a provision to instruct to exclude files that is .tfignore .  Just follow below steps to create a .tfignore file.  Create a file with name .tfignore. Copy all data from .gitignore file. Add a backslack (\) character infront of folders. That's it. Now, the azure repos extension excludes the files and folders to check-in.

Azure repos extension - TFVC support is limited to Local workspaces

Azure Repos extension issue in VS Code Most frequently you may face this error if you are using Azure repos extension in VS Code. It appears you are using a Server workspace. Currently, TFVC support is limited to Local workspaces You will see this error even though you are using local workspaces. Even Teams sign in does not resolve the issue most of the times. Not sure whether it is an issue with extension or VS Code. We can fix this by performing following activities. Unfortunately, you have to do this whenever you get above issue. Open Developer Command Prompt for VS 2017/2019. It depends on the version of tf.exe you have configured in VS Code. Navigate to workspace root folder Enter tf workspace Login with your credentials Reopen VS Code It should resolve the issue now.