I am working on a project with multiple solutions. I recently added a reference to a Nuget package, X in one of my solutions. This caused some version conflicts so i updated the versions of x in all my solutions. Now in solutions which had a conflict, i can see the below lines have been added
<Import Project="..\packages\X.3.3.2.0\build\X.props" Condition="Exists('..\packages\X.3.3.2.0\build\X.props')" />
<Error Condition="!Exists('..\packages\X.3.3.2.0\build\X.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\X.3.3.2.0\build\X.props'))" />
Does anyone know why this gets added and what is the significance of these lines?