VSCode not using manifest

When i run my application through visual studio code via either “Start debugging” or “Run without debugging” it doesn’t load my app.manifest file, the application then has the wrong resolution. When I start the exe via explorer or via “dotnet run” in powershell, everything works as expected, the game is correctly set up as dpi-aware and the set resolutions match actual resolutions.
Does anyone have an idea what might be wrong?