Hi Craig,
Please make sure that the Data.csproj is included in the solution.Otherwise, you have to specify property: BuildingSolutionFile to be false.
Task "AssignProjectConfiguration" is defined in Microsoft.Common.targets file.
<!-- Assign a project configuration to each project reference if we're building a solution file. -->
<AssignProjectConfiguration
ProjectReferences="@(ProjectReference)"
SolutionConfigurationContents="$(CurrentSolutionConfigurationContents)"
Condition="'$(BuildingSolutionFile)'=='true'">
<Output TaskParameter="AssignedProjects" ItemName="_ProjectReferenceWithConfiguration"/>
</AssignProjectConfiguration>
It only executes when building solution file.
Within the task, it goes through all project references and findthem in solution configurations.The erroris reported when the task can't find the project in solution configuration.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.