Reputation: 988
I am working on a angular 4 project and using VS code as an editor. Unfortunately I am using TFVC as source control for this project and I am facing TFVC binding issue. I have following questions,
1) Currently, I have created a WEBSITE project (not web application) in visual studio 2015 and checking-in/checking-out using TFVC. Do I have to add an solution file in TFVC ??
2) If I add an new folder (folder is not empty, has sub folders and files) than it does not reflect in TFVC PENDING CHANGES list. What am I missing ? Currently I have to go to solution explorer and add each folder and file explicitly into the TFS.
Earlier I was using Git for my angular app so it was straight forward but have not used TFVC to maintain UI app.
Upvotes: 0
Views: 285
Reputation: 33708
First, you need to add the solution file to source control (TFVC) in order to build it through TFS/VSTS build system or open it in Visual Studio directly.
By default, the solution file will be in user folder (e.g. C:\Users\XXX \Documents\Visual Studio 2015\Projects\WebSite2
) and uses absolute path of web site, I recommend that you can copy it to the same or parent folder of web site, you can change the path to the relative path in solution file manually or refer to these steps below to create web site:
Secondly, I think you created/added the files in file system instead of through Visual Studio, refer to these steps to add files to pending changes:
Upvotes: 1