-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property page default values are not correctly display #347
Comments
Hi @pepone, apologies for the delay in responding here. We generally track issues related to this UI in the dotnet/project-system repo. @tmeschter, do you have a sense of what's going on here? Would you expect values in |
The short answer is that we're in unexplored territory here. We didn't design the system with The longer answer is that reading or writing property values in CPS is always done in some context (defined by the
The |
Hi,
I have created a custom property page as documented in https://github.com/dotnet/project-system/blob/main/docs/repo/property-pages/how-to-add-a-new-project-property-page.md#option-1-xaml-file-on-diskg
See: https://github.com/zeroc-ice/ice-builder-msbuild/blob/fcaa91b6c2a0ddff40b1d7931baddd914568728b/msbuild/SliceCompile.CSharp.xaml
The default value for
OutputDir
is defined in https://github.com/zeroc-ice/ice-builder-msbuild/blob/fcaa91b6c2a0ddff40b1d7931baddd914568728b/msbuild/zeroc.icebuilder.msbuild.csharp.props#L4-L9When the property page is render the Output Directory field is empty and is expanded value is rendered below
I would expect that the default value
$(MSBuildProjectDirectory)\generated
would be rendered in the field.Then if I add a value to any of the other properties, and reload the property page, the default value is now rendered in the field
The only modification I see on the project file when editing the
IncludeDirectories
isAny ideas why the rendering of the default values is behaving differently here?
The text was updated successfully, but these errors were encountered: