Issues in hotfix from 30.12.3 to 31.0.0

Today I am trying to hotfix from 30.12.3 to 31.0.0 but I am getting error - Dancing Goat


Environment

Tags:
Kentico Kentico Community Leader Kentico Community Portal Kentico Connection

Answers

The image embedding feature of the markdown editor doesn't work consistently (it doesn't actually upload anything to the Kentico Community Portal). I recommend actually pasting the error text into your discussion. Also, that makes it possible to search.

1.00

Assets file 'D:\Project 2026\Kentico\XbyK- DG - 31.1.0\obj\project.assets.json' doesn't have a target for 'net10.0'. Ensure that restore has run and that you have included 'net10.0' in the TargetFrameworks for your project.


Severity Code Description Project File Line Suppression State Error (active) CS1061 'DancingGoatPriceCalculationResult' does not contain a definition for 'Subtotal' and no accessible extension method 'Subtotal' accepting a first argument of type 'DancingGoatPriceCalculationResult' could be found (are you missing a using directive or an assembly reference?) XbyKDG26Jan2026 D:\Project 2026\Kentico\XbyK- DG - 31.1.0\Commerce\Checkout\DancingGoatCheckoutController.cs 334

1.00

calculationResult.GrandTotal,
calculationResult.Subtotal,
calculationResult.TotalTax);

Severity Code Description Project File Line Suppression State Error (active) CS0266 Cannot implicitly convert type 'int?' to 'int'. An explicit conversion exists (are you missing a cast?) XbyKDG26Jan2026 D:\Project 2026\Kentico\XbyK- DG - 31.1.0\Commerce\Services\CalculationService.cs 72

Cannot implicitly convert type 'int?' to 'int'. An explicit conversion exists (are you missing a cast?)

ShippingMethodId = shippingMethodId,
PaymentMethodId = paymentMethodId,
BillingAddress = GetCustomerData(customerAddress),
CustomerId = customerId,
Accepted answer

Ok, this makes sense now.

  1. Dancing Goat can be updated from one version of Xperience to another, just like every other Xperience application. However, if you create 2 separate Dancing Goat projects using different versions - using your example of v30.12.3 and v31.0.0 - you will see they have different code, not just updated NuGet packages. We update Dancing Goat's implementation with each Refresh, so there might be different implementation and behavior over time.

    If you apply an update to Dancing Goat you are responsible for those code changes. Unless you have a specific requirement to keep that specific instance of Dancing Goat, I'd recommend creating a new instance with each new Xperience version that is released.
  2. You are updating from v30.12.3 to v31.0.0 - that's a major version change which means breaking API changes. They will be fairly limited, but you've already experienced some. You can see in the Changelog which deprecated APIs were removed.

To response this discussion, you have to login first.