Bug: SitefinityWebApp.csproj contains multiple "Import Project" lines.
When building a project in Visual Studio 2015 I get the following warning message :
Warning
"C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.props"
cannot be imported again. It was already imported at
"E:\!Sitefinity\Projects\SubZero\SitefinityWebApp.csproj (3,3)"
. This
is
most likely a build authoring error. This subsequent import will be ignored.
<
Import
Project
=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition
=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>"
Is this a known bug?
I've not determined the exact cause yet, but it happens even if the file has never been opened in Visual Studio.
The solution:
Thanks David, good catch.