Conversation
…nvert DefineConstants input to semicolon-separated list before saving
drewnoakes
left a comment
There was a problem hiding this comment.
IIRC VB handles these properties differently to C#, so we should make sure to test both languages. @melytc do you recall the details? I think VB allows you to have values (i.e. A=1) for define constants, rather than just names (i.e. A).
… in the property value directly
|
@drewnoakes I've updated this now and paired with CPS changes to bring this control to a state I feel happy with. Specifically, the additional change I made here, other than adding more tests, is to in |
that's right! VB uses this syntax: In the project properties UI, we have a different control for VB: @adamint are these changes that you are proposing only for the C# control? |
yes the vb property has a different control and property interceptor! this is only for c# |
# Conflicts: # tests/Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests/Mocks/ConfiguredProjectFactory.cs
this is a blast from the past! |



As can be seen in this bug, you can add arbitrary semicolons in the DefineConstants control and these will be saved. This PR
Microsoft Reviewers: Open in CodeFlow