0
votes

I modified file via Visual Studio and now I'll want to check in changes via power-shell

\TF.exe checkin "C:\Users\xxx\Source\Workspaces\Tests\xxx\Properties\AssemblyInfo.cs" /comment:"Version 1.1.1.1" /noprompt /force

I'm using this command and everything worked fine, but when I created new project in other collection then I started receiving errors like this:

TF10139: The following check-in policies have not been satisfied: Internal error in Changeset Comments Policy. Error loading the Changeset Comments Policy policy (The policy assembly ' Microsoft.TeamFoundation.PowerTools.CheckinPolicies.ChangesetComments, Version=10.0.0.0, Culture=neutral, PublicKeyToken =b03f5f7f11d50a3a' is not registered.). Installation instructions:

No files checked in.

What may cause that? I guess it may be project/collection related, but idk.

I have TF.exe from Visual Studio 2019, one of the latest patches

I've seen this, but I don't see how this solution relates to my problem

TF10139 Error:Internal error in Changeset Comments Policy for tf checkin command

Thanks in advance

1

1 Answers

0
votes

You can have a try re-registering the Changeset Comments policy by following below steps:

Go to the Team project setting--> Source Control-->Remove the Changeset Comments policy from check-in policy--> re-add it.

enter image description here

You can also check out the answers to this thread.