dotnet / dotnet/project-system
CPS errors when updating a configuration dependant property if there are no conditions on the element
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
*(title was: Visual Studio error when changing proto properties in gRPC template)*
1. Create a new gRPC service using VS template
2. View the `greet.proto` properties in Visual Studio

3. Change `gRPC Stub Classes` from `Server only` to `Client only`.
4. Visual Studio errors

Details in the error popup:
> An error has occurred while saving the edited properties listed below:
> gRPC Stub Classes
> One or more values are invalid. MSBuild returned the following error: The element beneath element is invalid because a child element with that name already exists C:\Users\James\source\repos\GrpcService11\GrpcService11\GrpcService11.csproj
Visual Studio 16.3.3 & 16.4 Preview 1
Contributor guide
Assessment
This issue has not been assessed yet.