Comments (2)
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 ItemDefinitionGroup
s to be picked up? I don't think I've seen an example of a XAML DataSource
having an ItemType
before.
from vsprojectsystem.
The short answer is that we're in unexplored territory here. We didn't design the system with ItemDefinitionGroups
in mind and we haven't tested this scenario.
The longer answer is that reading or writing property values in CPS is always done in some context (defined by the IProjectPropertiesContext
type) that tells us where to look for those properties. The context can represent things like:
- Project-level properties in the .csproj file.
- Project-level properties in some other imported .props/.targets file
- ItemDefinitionGroup properties for some particular item type, as defined in some specific file
- Item properties for a specific item in a specific file
- Etc.
The Rule
file makes it clear that you want to read and write properties to the "SliceCompile" ItemDefinitionGroup
in the main project file. The problem is that the project properties UI always works in a context representing project-level properties in the main project file. So there's a mismatch here, and I'm not sure what the correct behavior should be.
from vsprojectsystem.
Related Issues (20)
- Extending the Reference Manager needs additional documentation and support.
- How to add custom columns to a custom tab in the Reference Manager.
- The ReferenceManagerXXX project capabilities do not seem to have any effect on the Reference Manager.
- .dcproj won't accept azure functions project
- Custom Debugger extension for C++ HOT 2
- VS Item Template Parameter rootnamespace returns incorrect value
- Creating Custom Project Type with Custom Project Format
- IDynamicDebugTargetsGenerator not registered in VS 2022 HOT 2
- Project System Extensibility extension for VS2022 HOT 7
- Providing build properties soon after VS startup
- IProjectGlobalPropertiesProvider for non-SDK-style projects
- improve extensibility docs
- Solution Explorer icons not working HOT 2
- Custom Debugger of CpsExtension sample doesn't show up HOT 2
- Why is there so little documentation for ProjectSchemaDefinitions?
- This repo is missing important files HOT 1
- Customized Build and Debugging supporting Target frameworks style projects
- Project capability proposal: [MSBuild.Sdk.SqlProj.BuildTSqlScript] HOT 7
- Complete docs on project data subscriptions, and include info about slice data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsprojectsystem.