Move WASM project from 2020 to 2024

Hi
I’ve
C:\MSFS 2024 SDK
and
C:\MSFS SDK
installed. How to compile my wasm module for 2024?
Thanks

Open project in 2024
Click build all in project

Both 2020 and 2024 has fspackagetool.exe that can compile your projects,too

In the project properties, go to “General” and set the right “Platform Toolset”:

Don’t worry about the “internal” versions shown on my screenshot - you should only have “Microsoft Flight Simulator” and “Microsoft Flight Simulator 2024”.

Best regards,

Eric / Asobo

1 Like

But I would love the internal version

#include <MSFS\MSFS.h>
#include “MSFS\MSFS_Render.h”
#include “MSFS\Render\nanovg.h”
#include <MSFS\Legacy\gauges.h>

#include <stdio.h>
#include <string.h>
#include
#include <math.h>
#include
#include <SimConnect.h>

Thanks and those includes? Why is the dll release?

also the panel does not work anymore. Why?
[VCockpit01]
size_mm=1024,768
pixel_size=1024,768
texture=$SCREEN_1
background_color=42,42,40
htmlgauge00=NavSystems/WTG1000/MFD/WTG1000_MFD.html, 0,0,1024,768

[VCockpit02]
size_mm=1024,768
pixel_size=1024,768
texture=$SCREEN_2
background_color=42,42,40
htmlgauge00=NavSystems/WTG1000/PFD/WTG1000_PFD.html, 0,0,1024,768

You need this checked in the sim (Options section) and reload the module for both to match.

image

Thanks, recompiled fine but still all panels are black. Debug screen says that’s a MSFS2020 gauge.

You would need the development version of the sim too. :wink:

Best regards,

Eric / Asobo

1 Like