Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do csproj files in Git need xml tags SccProjectName, SccLocalPath, SccAuxPath, SccProvider with SAK values

I recently moved a solution from TFS to Git.

The CSPROJ used to have these lines:

<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>

Sometimes Visual Studio now removes them.

I believe that they tell the csproj file to go to the sln file to find out the source control bindings (SAK - Should Already Know). Git doesn't have any bindings in the sln file that I am aware of, so I should be able to remove them.

<SccProjectName>
</SccProjectName>
<SccLocalPath>
</SccLocalPath>
<SccAuxPath>
</SccAuxPath>
<SccProvider>
</SccProvider>

Can someone confirm that I can I safely remove them?

like image 250
Hoppe Avatar asked Jul 02 '19 19:07

Hoppe


1 Answers

You can remove it, that's of no use in git.

That's information added when you're using TFVC version control. When you're using Git, these information are no more used.

like image 140
Philippe Avatar answered Oct 06 '22 02:10

Philippe