Can’t Render Card – Bot Framework Emulator

I was having a strange problem with rendering Adaptive Cards today, the emulator just kept complaining that it couldn’t render the card. I’m using the latest Adaptive Card package (1.1) so I couldn’t see why they’d be a problem. Turns out the emulator currently only supports 1.0. So when you create a card you have to do something like;

AdaptiveCard var = new AdaptiveCard(new AdaptiveSchemaVersion(1, 0));

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s