Skip to content

Adding a new project configuration leads to build error #527

@natidea

Description

@natidea

Repro:

  • Create a New .NETCore Console Application
  • Ensure it restores and builds successfully for both Debug and Release configurations
  • Use Debug|Release selector to Open Configuration Manager
  • Under Active Solution configuration, choose <New...>
  • Enter new configuration name (e.g. Wallaby) and Copy Settings From Debug
  • Rebuild solution

Expected:

  • Successful build

Actual

  • Build Error:
Error       The OutputPath property is not set for project 'ConsoleApplication3.csproj'.  
Please check to make sure that you have specified a valid combination of Configuration 
and Platform for this project.  Configuration='Wallaby'  Platform='AnyCPU'.  
This error may also appear if some other project is trying to follow a project-to-project 
reference to this project, this project has been unloaded or is not included in the solution, 
and the referencing project does not build using the same or an equivalent Configuration or Platform.
    ConsoleApplication3 
C:\Program Files (x86)\Microsoft Visual Studio\VS15Preview\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 731 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions