Skip to content

Saving a CPS multi-targeting project unglobbed net45 subtypes #997

Open

Description

@clairernovotny

Look at this commit:
clairernovotny/microsoft-authentication-library-for-dotnet@f8880e6

All I did was change net45 to be first in the order but then VS expanded a bunch of crapL
clairernovotny/microsoft-authentication-library-for-dotnet@f8880e6#diff-9abb1283a16cd21deac528e4738327f7R147 by adding the <SubType>Form</SubType> elements. I don't want those in my glob.

It's worse than that too as it put those elements in a top-level item group without any conditions on it. None of the other TFM's should even see that file, that's wrong.

Activity

  1. davkean commented on Dec 19, 2016

    @davkean
    Member

    Not sure how this even happened, we haven't even implemented sub type support.

  2. added this to the milestone on Dec 20, 2016
  3. modified the milestones: , on Jan 20, 2017
  4. srivatsn commented on Apr 3, 2017

    @srivatsn
    Contributor

    I also saw this while changing this repo to dogfood - I think this is Roslyn. Roslyn has a background analyzer which goes through all files to see if they have types with the DesignerAttribute. If they do, then it adds the SubType metadata to the file to mark it for opening with the designer on a double-click instead of opening the cs file.

    That analyzer is such a drain on perf for minimal benefit. I believe @heejaechang is planning to move that analyzer out of proc but it'll be good if we can come up with some better way of representing this information. Leaving this in 15.3 to brainstorm on a path forward.

  5. modified the milestones: 15.6, 15.3 on May 10, 2017
  6. tmeschter commented on Sep 27, 2017

    @tmeschter
    Contributor

    The background analyzer for DesignerAttribute support has been disabled for CPS-based projects--the project system doesn't fully support these kinds of designers, anyway, so adding the metadata isn't really useful.

    That being said, we're going to have to support them eventually, and we'll need to deal with this.

    Moving out to 15.6.

  7. modified the milestones: 15.5, 15.6 on Sep 27, 2017
  8. added
    Feature-Project-File-Simplification
    on Dec 19, 2017
  9. modified the milestones: 15.6, on Dec 19, 2017
  10. added
    Triage-Approved
    on Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Feature-Project-File-SimplificationTriage-Approved

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions