Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6822

Visual Studio Code - Building and background console

$
0
0

@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.

  1. Why is that and how to get rid of this background console ? (OutputType is "WinExe"
    in "*.csproj".)

  2. Are there some arguments to add to "tasks.json" in order to automate this build command ?

  3. 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 project

I 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

Read full topic


Viewing all articles
Browse latest Browse all 6822

Latest Images

Trending Articles



Latest Images