@Elaws wrote:
Hello,
When building a simple Monogame DesktopGL project on VS code (.NET Core 2.2, C# and C# extensions) with :
dotnet build -r win-x64
I get an ".exe" that runs fine (blue monogame window) but I also got a
console running in the background.
Why is that and how to get rid of this background console ? (OutputType is "WinExe"
in "*.csproj".)Are there some arguments to add to "tasks.json" in order to automate this build command ?
When I build :
In VS Code (.NET CORE 2.2) : a Monogame Desktop GL project
In VS 2017 (.NET Framework 4.5) : a Monogame CrossPlatform Desktop projectI don't understand the differences in the produced output folders. Both contains the game ".exe" and a ".pdb", but apart from that, content is pretty different (see image). Why VS Code output does not contain the Monogame.Framework.dll ? Why VS 2017 output contains SDL2.dll and not VS Code one ? If proper runtimes are installed on the machine, could both these ".exe" be run ?
Thanks for your help !
Posts: 4
Participants: 3