Skip to content

Configurations are broken in AppDesigner for .NET Core #413

Closed

Description

@davkean

These pages should be configuration dependent:

image

Maybe CPS isn't able to detect configurations due to the implicit configurations?

Activity

  1. added this to the milestone on Sep 2, 2016
  2. modified the milestones: , , , on Nov 3, 2016
  3. modified the milestones: , on Dec 7, 2016
  4. 3 remaining items

  5. RaulPerez1 commented on Dec 20, 2016

    @RaulPerez1
    Contributor

    Some more data - Debugging through this I'm finding a bunch more issues:

    • The asserts on the config specific properties are not specific to the config. A bunch of things are not doing anything at all but not asserting because there is no check on that code path.
    • The properties object returned by CPS does not implement VSLangProj.ProjectProperties so _projectPropertiesObject is set to null and then it eventually circles back to returning the raw object anyway (potential perf improvement here).
    • For config pages we're getting a ProjectConfig as opposed to a DynamicTypeBrowseObject. The former only has general project info rather than actual properties so even after bypassing the asserts everything is disabled because there aren't descriptors for the properties that drive the controls.
  6. Ziflin commented on Jan 6, 2017

    @Ziflin

    I posted an issue about some of this on developercommunity.visualstudio.com for VS2017 RC. I'll paste the issues that I've run into here as well since I was directed here.

    It seems that it currently impossible to set a Debug or Release-only #define variable/symbol for .Net Core projects in VS 2017 RC. Attempting to set one from the "Project's Properties / Build / Conditional compilation symbols:" entry results in it adding a node in the .csproj that is not conditional on the build's configuration. This node now also includes "TRACE;DEBUG;NEWDEFINE" which is very bad as now a Release build will also have TRACE and DEBUG set.

    In addition to this, the VS Project Properties dialog does not properly refresh when the Current Build Configuration (from the toolbar drop-down) is changed. This is very confusing as it shows incorrect settings. Closing the dialog and re-opening it will show the proper settings for the newly selected build configuration.

  7. modified the milestones: , on Jan 14, 2017
  8. added
    Blocking-Release
    on Jan 20, 2017
  9. srivatsn commented on Jan 27, 2017

    @srivatsn
    Contributor

    Fixed by #1338

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Blocking-Release

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions