Skip to content
This repository was archived by the owner on Nov 7, 2018. It is now read-only.
This repository was archived by the owner on Nov 7, 2018. It is now read-only.

Add support for binding property to IConfiguration #60

@davidfowl

Description

@davidfowl

In omnisharp I want to have a configuration like this:

{
   "msbuild": {
      "toolsVersion": "14.0",
       "properties": {
           "RandomProperty": "1",
           "VisualStudioVersion": "14.0"
        }
   }
}

I would like to express my options like so:

public class MSBuildOptions
{
     public string ToolsVersion { get; set; }
     public IConfiguration Properties { get; set; }
}

That way I would be able to express both the latebound and strongly typed properties on the same model object.

/cc @glennc @muratg @Eilon @lodejard

Metadata

Metadata

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