microsoft / microsoft/AdaptiveCards

Nuget AdaptiveCards 3.1.0 release has reverted to 1.2.0 in assembly version, causing build errors

Open
#8,712 5 comments 1 reaction 1 assignee View on GitHub

@almedina-ms is already working on this.

Since Oct 18, 2023.

Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Platform

What platform is your issue or question related to? (Delete other platforms).

  • .NET HTML

Author or host

Library development

If you're an author, who are you sending cards to?
Not relevant.

Version of SDK

AdaptiveCards NuGet 3.1.0

<PackageReference Include="AdaptiveCards" Version="3.1.0" />
<PackageReference Include="AdaptiveCards.Rendering.Html" Version="2.7.3" />

Issue

In the latest release 3.1.0 of AdaptiveCards the assembly version has reverted to 1.2.0, instead of 3.0.0 in 3.0.0.

This becomes a problem when e.g. AdaptiveCards.Rendering.Html does not offer a new release and here nuget is seeing that 2.7.0 is being used, which is higher than 1.2.0, causing a build error.

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1705	Assembly 'AdaptiveCards.Rendering.Html' with identity 'AdaptiveCards.Rendering.Html, Version=2.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'AdaptiveCards, Version=2.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'AdaptiveCards' with identity 'AdaptiveCards, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'	Fusion.Integration.Tests (net7.0)	

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.