plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

SFSimsDev avatar image
SFSimsDev asked SFSimsDev edited

SDK 0.20 not compatible with current live sim

The documentation states "IMPORTANT! The SDK is completely independent from the Microsoft Flight Simulator executable" but it seems that the current SDK v0.20.2.0 is not compatible with the current live version of the sim. The newer SDK added extra attributes:

PublishingGroups

PublishingGroupFolderName

PublishingGroupMetadataFoldername

PublishingGroupTemporaryOutputDirectory


These throw errors when trying to build a project that has been saved with v0.20.2.0 and running the current live sim version.

XMLValidation | error (2:65): Attribute PublishingGroupFolderName is invalid for node Project (PTProject)
XMLValidation | error (2:155): Attribute PublishingGroupMetadataFolderName is invalid for node Project (PTProject)
XMLValidation | error (5:2): Node PublishingGroupTemporaryOutputDirectory is invalid for node Project (PTProject)
XMLValidation | error (9:2): Node PublishingGroups is invalid for node Project (PTProject)
Failed to validate the XML doc against the XML validation data
Failed to open project XML file
Press any key to continue . . .

Is this a known issue? I don't think I'd be the only one experiencing it. The project will only build with the beta version of the sim installed.

Trying to open the project from within the sim just generated the error 'Could not load project'

I do have spaces in my project path but I thought that was an issue that was fixed several Sim Updates ago.


Thanks

SFSimsDev

bugpackagetool
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Boris_ avatar image
Boris_ answered SFSimsDev edited

Hello @SFSimsDev ,


It's not the sdk but the devmode that is important here and it's embedded into the game.

In SU11 we added PublishingGroups and it looks to me like you created or built (maybe both?) a project in SU11 beta and then tried to build it with an SU10 version.

You will encounter this behavior because your SU11 package version now contains some features that did not exist in SU10.


Regards,
Boris

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

SFSimsDev avatar image SFSimsDev commented ·

Thanks @Boris_


It was an SU10 project that got saved in SU11 and therefore couldn't be read by SU10. Editing the Project.xml file did the trick.

1 Like 1 ·
SFSimsDev avatar image
SFSimsDev answered

I had to manually edit the project.xml back to the old format, removing the new fields. Will leave this post here for anyone else who has the issue.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.