Giter VIP home page Giter VIP logo

Comments (2)

drewnoakes avatar drewnoakes commented on May 27, 2024

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 ItemDefinitionGroups to be picked up? I don't think I've seen an example of a XAML DataSource having an ItemType before.

from vsprojectsystem.

tmeschter avatar tmeschter commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.