• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

SimConnect SxS troubles?

Messages
139
Country
netherlands
My add-on, developped using C# and the managed SimConnect library, works fine for me and also all users... but one.

Someone gets this message when starting the add-on:

"Could not load file or assembly 'microsoft.FlightSimulator.SimConnect, version =10.0.61242.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies"

He does have version 10.0.61242.0 installed, but on closer examination the PublicKeyToken does not match the one in the WinSxS folder name, which is:

x86_Microsoft.FlightSimulator.SimConnect_67c7c14424d61b5b_10.0.61242.0_x-ww_35e8ee9a

My installer checks for this folder (and the vista variant) before starting the install. It is also the one I have, so the user and I seem to have identical SimConnects.

So I gave the user a manifest file, specifying the PublicKeyToken=67c7c..... (as in the folder name and in the example manifests) but no luck.

Now if only the managed examples in the SDK would have had compiled versions, I could send one to the user to see if the problem is in my compilation/distribution (already tried another SimConnect program which gave the same errors) or in his SimConnect setup.

One final clue... the user has the French version of FSX/Sp1.

Anybody who knows what's going on?

Yours,

Daniel
 
The problem has been fixed. Probably a SimConnect install issue as I'm not sure which of my suggestions ultimately did help the user.

Daniel
 
I encountered this problem myself this weekend while reinstalling FSX/FSXA. While there were no install errors, it seems that during the initial removal not all of the SimConnect Global Assembly Cache entries are removed.

Then upon re-installation, not everything is restored.

Daniel
 
Back
Top