Skip to content

MsBuild: Settings.props should allow a mixture of target frameworks for projects in a solution #4

@pvandervelde

Description

@pvandervelde

From @pvandervelde on May 20, 2015 10:20

From @knightpfhor on April 15, 2015 21:45

If you try to build a solution that has a mixture of target frameworks (3.5 and 4.5.1 in my case) there are two problems that occur.

In the settings.props you can only set one target framework. This can be worked around if you add a condition that ignore particular projects (or potentially just removed this entry in settings.props entirely)

If you're running FxCop it tries to analyse all of the resultant assemblies in one call to FxCop. FxCop errors when you try to do this as it has to resolve two different versions of the framework assemblies, which it can't. (Fixed in #85)

Copied from original issue: nbuildkit/nBuildKit.MsBuild#95

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