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

faulty conditions generated when using condition attributes #1860

Description

@smoothdeveloper

Faulty conditions get generated:

strategy: max
source https://www.nuget.org/api/v2
redirects: on
framework: >= net40

nuget MBrace.Core condition: Azure
nuget MBrace.Flow condition: Azure
nuget MBrace.Runtime condition: Azure
nuget MBrace.Azure condition: Azure
nuget MBrace.Azure.Management condition: Azure
nuget Microsoft.Azure.Management.Compute prerelease condition: Azure
nuget Microsoft.Azure.Management.ResourceManager prerelease condition: Azure
nuget Microsoft.Azure.Management.Sql prerelease condition: Azure
nuget Microsoft.IdentityModel.Clients.ActiveDirectory condition: Azure
  <Choose>
    <When Condition="'$(AZURE)' == 'True' And ()">
      <ItemGroup>
        <Reference Include="System.Data">
          <Paket>True</Paket>
        </Reference>
        <Reference Include="System.Xml">
          <Paket>True</Paket>
        </Reference>
        <Reference Include="System.Xml.Linq">
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
    <When Condition="'$(AZURE)' == 'True' And ()">
      <ItemGroup>
        <Reference Include="Microsoft.WindowsAzure.Storage">
          <HintPath>..\packages\WindowsAzure.Storage\lib\net40\Microsoft.WindowsAzure.Storage.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>

I'm making a failing integration test case in a PR.

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