Skip to content

[Question] Settings and DependentExtensionJson? #556

@GFlisch

Description

@GFlisch

I am building an extension based on the same principal as the Sample: CompositExtension.
But in the OutOfProcComponent project I add a Settings capability like the sample: SettingsSample.

When doing this, I start to see an error when building the solution: Depedent extension.json property settings is not an array.

From my understanding, during the build 2 files are generated:

  • extension.json
  • settingsRegistration.json.

The extension is containing a settings section:
"settings": {
"registrationFilePath": ".vsextension\settingsRegistration.json",
"cacheTag": 639105850693486185
},

And the extension file is copied from the OutOfProcComponent to the CompositeExtension project thanks to the:

I imagine that the issue is that the settingsRegistration.json file is not merged in a CompositeExtension settingsRegistration.json file (that is not there)?
Is there a DependencySettingsRegistrationJson custom build task?

Can you guide me how to fix this issue?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions