Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Getting error during f...
Finance forum
Answered

Getting error during full build after Microsoft version upgrade from V36 to V38

Posted on by 77
Hi Techie,
 
I upgraded the microsoft version update from V36 to V38 through command prompt. I got stuck at step 25 which was build and sync. As it was failing again and again, I skipped that step and continued from step 26. After that all the steps completed successfully. My version is showing 38. But as i skipped the step 25, i tried to do it manually through visual studio. So i selected all the models and started the build. But i got an error which is /Severity    Code    Description    Project    File    Line    Suppression State
Error        The enumeration element 'Tls13' is not defined on type 'System.Net.SecurityProtocolType'.        K://AosService//PackagesLocalDirectory//bin//XppSource//Foundation//AxClass_CatCXMLPurchRequestSend.xpp    170/
 
Severity    Code    Description    Project    File    Line    Suppression State
Error        The enumeration element 'Tls13' is not defined on type 'System.Net.SecurityProtocolType'.        K://AosService//PackagesLocalDirectory//bin//XppSource//Foundation//AxClass_CatCXMLPunchoutHandler.xpp    278    

As from the error we can see that the two classes are there:
1. CatCXMLPurchRequestSend
2. AxClass_CatCXMLPunchoutHandler
Both the classes are from standard model( Application Suit)
Can any one help me to fix this build error.
Categories:
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 228,126 Most Valuable Professional on at
    Getting error during full build after Microsoft version upgrade from V36 to V38
    It seems that this element was added in .NET Framework 4.8, therefore installing it could solve the problem.
     
    By the way, not only that you normally don't need to compile Microsoft modules, but Microsoft even recommend against it.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans