Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a config setting that enables the user to specify / override additional MSBuild toolsets #47

Open
tintoy opened this issue Dec 7, 2018 · 0 comments

Comments

@tintoy
Copy link
Owner

tintoy commented Dec 7, 2018

Example config:

{
    "msbuildProjectTools.msbuild.toolsets": {
        "15.0": {
            "baseDirectory": "C:\\MyToolsetBaseDirectory",
            "globalPropertyOverrides": {
                "MyProperty": "SomeValue"
            }
        },
        "Current": {
            "baseDirectory": "C:\\AnotherToolsetBaseDirectory"
        }
}

MSBuild appends the toolset version to the base directory (e.g. 15.0 -> C:\MyToolsetBaseDirectory\15.0 or Current -> C:\AnotherToolsetBaseDirectory\Current) to find common .propsand.targetsfiles. If15.0orCurrent` toolset is specified, then this will (depending on .NET Core SDK version) override the default toolset configuration.

Relates to #46.

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

No branches or pull requests

1 participant