Sitelet https://github.com/fsprojects/Paket/issues/1487
Skip to content

When adding framework specification to paket.dependencies .props include is moved to the bottom of csproj file #1487

Description

@theggelund

I have a nuget package that includes both a .props and a .targets. Then I wantet to specify which frameworks should be included when installting packages.

Added framework specification

framework: net40, net45, net46

source nuget_repo

nuget MultiTarget
nuget Dapper
nuget NUnit

After this the .props include statement was moved to the bottom just before .targets import

image

image

Reproduced in repo paket_bug with latest commit

Just run reproduce.bat

Reproduced on
image

Activity

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

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