Support for .NET 5 or 6?

1 Answer 422 Views
General Discussions
David
Top achievements
Rank 1
David asked on 28 Apr 2021, 11:29 AM

Hi - apologies if this was answered but I haven't been able to find it via search.

 

Will the Testing Framework support .NET 5 or .NET 6 XAML applications on Windows?

We're converting a .NET Framework application and are running into compilation problems when we target "net5.0". Targeting "net461" works fine. Is it possible to write a .NET 5 assembly that links to the Telerik Testing Framework?

If not, is there another product that can be used from .NET 5? Thanks!

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 29 Apr 2021, 03:34 PM

Hello David,

Test Studio team is working to enable support for automating desktop applications built with .Net 3.1 Core and .Net 5 - here is a public feature request item, which you can follow to get updates when this will be published live. This feature can be expected in the future releases until the end of this year. 

As to the Test Studio Testing Framework projects - these target minimum .Net 4.5.2 as listed in the system requirements. This will remain unchanged for now. 

That said, you might need to reogranize your projects and keep the unit tests in a separate one, so that it can be built and executed correctly. 

I hope that this information will be of further help for you. If you have any further questions or doubts, do not hesitate to get back to me.

Thanks for your cooperation in advance.

Regards,
Elena
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

David
Top achievements
Rank 1
commented on 04 Nov 2021, 01:42 AM

Elena, sorry to re-open this old thread!

Can I use a Testing Framework application to test a WPF Application written in .NET 5.0?

My Test Studio Testing Framework Project targets net461 but the WPF Executable it executes and is testing is written in .NET 5.0. Should that work?

Elena
Telerik team
commented on 05 Nov 2021, 10:34 AM

Hi David, 

The Test Studio R2 release from earlier this year introduced support for WPF apps written in .NET Core 3.1 and .NET 5 - check the release notes here

This means that the latest Testing Framework also supports these technologies. The only thing to keep in mind is that you need to have separate projects for the unit tests - the one which targets "net461", and another one for the WPF app. These cannot be maintained in one project because they need to target different version of the .Net Framework. 

I hope that this helps you sort out your doubts, but let me know if you have further questions.

Regards,
Elena

Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or