This custom check-in policy prevents the commit from NuGet packages to your team environment! Simply install this .vsix and add the policy under the menu Team > Team Project Settings > Source Control. Select Check-in Policy tab, click the add button and select the Nuget Package Policy. From this moment, when .nupkg files are in the pending changes you'll receive a error message and cannot check-in your changes until you exclude the .nupkg files. |