Hellknight

Got this. So nothing to do then? Just open the solution?

On branch develop
Your branch is up-to-date with 'origin/develop'.
nothing to commit, working directory clean

How to setup my project to use the source version of MonoGame? Do I have to uninstall MonoGame?

If you want to use the pipeline tool for this it should be updated, so youā€™d have to install the develop version. Alternatively you can run the pipeline tool from source. Or if you didnā€™t write this as a content pipeline extension you can reference the source projects or the dllā€™s you built from them

The solution builds without problems. Trying to start the MGCB project gives me exceptions:

'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\ntdll.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\mscoree.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\KernelBase.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\advapi32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcrt.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\sechost.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\shlwapi.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\combase.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\gdi32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\user32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\imm32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\nvinitx.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\version.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel.appcore.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\clr.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcr120_clr0400.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\mscorlib\6c41685bbf8bcf463c7b9ba2fcc87755\mscorlib.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\ole32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MGCB.exe'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\oleaut32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.Content.Pipeline.dll'. 
'MGCB.exe' (Win32): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.Content.Pipeline.dll'. 
'MGCB.exe' (Win32): Unloaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.Content.Pipeline.dll'
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.Content.Pipeline.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.dll'. 
'MGCB.exe' (Win32): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.dll'. 
'MGCB.exe' (Win32): Unloaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.dll'
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System\4c6ababbac824d2ab8b4adbca5abc0e7\System.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Core\b47bf74d0531510f42de2a5d61019d2d\System.Core.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\shell32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\windows.storage.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\SHCore.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\powrprof.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\profapi.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Runteb92aa12#\8bc8a7dd488b511b7ceb307d2b51c0f5\System.Runtime.Serialization.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xml\b42f2cec2eff60aae493826666e0d4a7\System.Xml.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Configuration\8e6856c0d18dfc2a6da5e75753c76446\System.Configuration.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000FC28AFC080.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000FC28AFC080.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000FC28AFC080.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000FC28AF9BE0.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000FC28AF9BE0.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000FC28AF9BE0.
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'Microsoft.GeneratedCode'. 
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
'MGCB.exe' (Win32): Unloaded 'C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
The thread 0x1bf0 has exited with code 0 (0x0).
The thread 0x1c38 has exited with code 0 (0x0).
The thread 0x127c has exited with code 0 (0x0).
The thread 0x1a5c has exited with code 0 (0x0).
The thread 0x1184 has exited with code 0 (0x0).
The thread 0x1e70 has exited with code 0 (0x0).
The thread 0x14a8 has exited with code 0 (0x0).
The thread 0x1dd4 has exited with code 0 (0x0).
The thread 0x12e4 has exited with code 0 (0x0).
The thread 0x1ee8 has exited with code 0 (0x0).
The program '[4540] MGCB.exe' has exited with code 0 (0x0).

Visual studio should pull these pdb files automatically, maybe something got messed up in your settings. What version of visual studio are you running?

Looks like 2015. Try the following:
ā€œTo use the Microsoft symbol servers, choose Options and Settings on the Debug menu and then choose Symbols. Select Microsoft Symbol Servers.ā€
from https://msdn.microsoft.com/en-us/library/ms241613.aspx

A small window popped up where it said it is loading the symbols. It is stil not working though. I had ā€œJust my codeā€ enabled, which was output in the log. So I deactivated ā€œJust my codeā€ also. Now I get this log:

'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\ntdll.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\mscoree.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel32.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\KernelBase.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\advapi32.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcrt.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\sechost.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\rpcrt4.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\shlwapi.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\combase.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\bcryptprimitives.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\gdi32.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\user32.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\imm32.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\nvinitx.dll'. Cannot find or open the PDB file.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\version.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel.appcore.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\clr.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcr120_clr0400.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\mscorlib\6c41685bbf8bcf463c7b9ba2fcc87755\mscorlib.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\ole32.dll'. Symbols loaded.
'MGCB.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MGCB.exe'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\oleaut32.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.Content.Pipeline.dll'. 
'MGCB.exe' (Win32): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.Content.Pipeline.dll'. 
'MGCB.exe' (Win32): Unloaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.Content.Pipeline.dll'
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.Content.Pipeline.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.dll'. 
'MGCB.exe' (Win32): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.dll'. 
'MGCB.exe' (Win32): Unloaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.dll'
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\Users\Vorname\Desktop\MonoGame\Tools\MGCB\bin\Windows\AnyCPU\Debug\MonoGame.Framework.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System\4c6ababbac824d2ab8b4adbca5abc0e7\System.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Core\b47bf74d0531510f42de2a5d61019d2d\System.Core.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\shell32.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\cfgmgr32.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\windows.storage.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\SHCore.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\powrprof.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\System32\profapi.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Runteb92aa12#\8bc8a7dd488b511b7ceb307d2b51c0f5\System.Runtime.Serialization.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xml\b42f2cec2eff60aae493826666e0d4a7\System.Xml.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Symbols loaded.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Configuration\8e6856c0d18dfc2a6da5e75753c76446\System.Configuration.ni.dll'. 
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Symbols loaded.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000BD928FBB50.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000BD928FBB50.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000BD928FBB50.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000BD928F96A0.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000BD928F96A0.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8819D1F28 in MGCB.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000BD928F96A0.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'Microsoft.GeneratedCode'. 
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
'MGCB.exe' (Win32): Loaded 'C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
'MGCB.exe' (Win32): Unloaded 'C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'
'MGCB.exe' (CLR v4.0.30319: MGCB.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
The thread 0x2058 has exited with code 0 (0x0).
The thread 0x1138 has exited with code 0 (0x0).
The thread 0x21b0 has exited with code 0 (0x0).
The thread 0x404 has exited with code 0 (0x0).
The thread 0x21e0 has exited with code 0 (0x0).
The thread 0x2060 has exited with code 0 (0x0).
The thread 0x217c has exited with code 0 (0x0).
The thread 0xdd4 has exited with code 0 (0x0).
The thread 0xb4 has exited with code 0 (0x0).
The thread 0x2148 has exited with code 0 (0x0).
The program '[7748] MGCB.exe' has exited with code 0 (0x0).

I will try again tomorrowā€¦ :sleeping:

Thanks for the help!

I was trying to start the wrong project. It works now, I can start the pipeline tool using the latest source of MonoGame.

@Jjagg
I have an issue now with the method

public int CreateVertexChannel<T>(string usage) where T : struct

in line 108 of MeshBuilder.cs.

With XNA it worked like this. Any ideas?

Oops, thatā€™s a change I forgot to revert. I made VertexChannels only accept structs, but realized XNA didnā€™t and reverted. Forgot this occurence apparently. I donā€™t get why you can pass reference types as vertex types thoughā€¦

EDIT: The BoneWeightCollection gets converted somehow, but I think this might be working in MonoGame. If you have the source, you can just go to the CreateVertexChannel function and remove the : struct after it. Let me know if that works. If it does Iā€™ll set up a PR to get rid of the type constraint :slight_smile:

I hope I have some time later after work to test it :slight_smile:

Hmm thought about it now. I donā€™t understand how it can convert it to a value type. It has to get the size for the VertexChannel from somewhere :confused:

I will let you know if it works. I could also try to setup the PR. Donā€™t know how to do this though :slight_smile:

BoneWeightCollection is a Collection of BoneWeight and BoneWeight is a value type, so maybe some assumptions as to the layout of the Collection are made to convert. I said this might be working in MG because we actually use a BoneWeightCollection in a vertex channel when loading models with assimp. If it does not work however we have found a huge bug in our model loading code :stuck_out_tongue: That might explain some of the trouble people are having importing models.

That would be nice! I can step you through it if you want :slight_smile:

Iā€™m home in about one and a half hours depending on traffic. Then I will have a little time window of one hour to try this out before I have to leave again. Donā€™t know when Iā€™ll be back home, I think at night. I thinking about a day off to work on MonoGame projects :smile:

1 Like

Changed the line and everything compiled just fine. Now I tried to rebuild all content, to make it compatible with the latest MonoGame source version. I was getting several ā€œBad tangent!ā€ popups but all content got compiled and nothing was marked as failed.

So far so good. I looked up the old XNA project, what the setup for importer and processor was for the hellknight model. It was set to ā€œMD5Importerā€ and ā€œMD5Processā€. Now after setting up the reference to the MD5ContentPipeline project inside the pipeline tool I can only find the ā€œMD5Processā€ entry for the model processor. I think these images explain it very good.


Also another issue is, that I opened up the MGCB file from my ā€œEngineMGā€ project and some content appears at a wrong level. By level I mean directory level. I have directories for shaders, textures and so on. Also I think it should be explained good by an image what I mean (also notive the path visible in the image).

Iā€™m already late so I cannot try to just readd all content to a new MGCB fileā€¦ Maybe then it works?!

Hmm, I donā€™t know why the importer wouldnā€™t show upā€¦ When you have time to look at this again can you double check if the same syntax is used as the built in importers?

I havenā€™t seen the treeview issue before either, but itā€™s probably not an issue when building.

What I can say now after some more tests is that if I create a new MGCB with the MonoGame pipeline tool from the latest source and add all folders (add existing folder for the five top level folders) all works as it should. So the new pipeline tool has some problems reading the old MGCB file.

Also the NullPointerException in CellBase.cs occured because I did not specify a string like so:

[ContentProcessor(DisplayName = "MD5Mesh Processor")]

Now that I added this to both the importer and processor, they show up in the pipeline tool and I can select the hellknight.md5mesh file without NullPointerException.

A KeyNotFoundException is thrown when I try to build the hellknight.md5mesh file:

Build started 28.01.2017 00:27:30

C:/MonoGame/EngineMG/EngineMG/Content/model/hellknight/hellknight.md5mesh
C:/MonoGame/EngineMG/EngineMG/Content/model/hellknight/hellknight.md5mesh: error: Importer 'MD5Importer' had unexpected failure!

System.Collections.Generic.KeyNotFoundException
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshHelper.IndexUpdateList.Update(Int32 from, Int32 to) in C:\MonoGame.Framework.Content.Pipeline\Graphics\MeshHelper.cs:Zeile 710.
   at Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshHelper.MergeDuplicatePositions(MeshContent mesh, Single tolerance) in C:\MonoGame.Framework.Content.Pipeline\Graphics\MeshHelper.cs:Zeile 414.
   at Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshBuilder.FinishMesh() in C:\MonoGame.Framework.Content.Pipeline\Graphics\MeshBuilder.cs:Zeile 162.
   at MD5Loader.MD5Importer.createMesh(NodeContent rootNode, SMeshInfo mesh) in C:\MonoGame\EngineMG\MD5LoaderPipelineExtensionLibraryMG\CMD5Importer.cs:Zeile 559.
   at MD5Loader.MD5Importer.Import(String filename, ContentImporterContext context) in C:\MonoGame\EngineMG\MD5LoaderPipelineExtensionLibraryMG\CMD5Importer.cs:Zeile 168.
   at Microsoft.Xna.Framework.Content.Pipeline.ContentImporter`1.Microsoft.Xna.Framework.Content.Pipeline.IContentImporter.Import(String filename, ContentImporterContext context) in C:\MonoGame.Framework.Content.Pipeline\ContentImporter.cs:Zeile 45.
   at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent(PipelineBuildEvent pipelineEvent) in C:\MonoGame.Framework.Content.Pipeline\Builder\PipelineManager.cs:Zeile 651.

Build 0 succeeded, 1 failed.

Time elapsed 00:00:00.57.

Crap, thatā€™s definitely a bug in the implementation :confused: Are you willing to share the project so I can debug this?

EDIT: Hold on, I think I might now what Iā€™m doing wrong. Iā€™m gonna try and write a test that catches this and get a fix in.

I now realize I made some big mistakes when implementing this :frowning: Iā€™ll see if I can get this fixed.
EDIT: Itā€™s not as bad as I initially thought :stuck_out_tongue: I think this is actually not that hard to fix!
EDITEDIT: I set up a PR with my fixed, the build bots are having some issues currently, so the only way to try it is from source if youā€™re up for that @Kwyrky. PR is at https://github.com/MonoGame/MonoGame/pull/5444

Found a few more screenshots :slight_smile:


1 Like

Damn, I really need to get this implementation right :stuck_out_tongue:

1 Like

Animation stuff is not that easy. How complicated is it?

I was just talking about the meshbuilder. Itā€™s the vertex merging code that has some issues. Itā€™s a bit complex because you have to compute hashes and use some indirection for addressing indices to get it to be reasonably fast. If you do it naively itā€™s N^2 complexity and takes way too long for a practical number of vertices. Donā€™t you have custom classes for animation?