SamplePlugin
SamplePlugin copied to clipboard
Fix first time setup issues
When I tried setting this up as an intro into using dalamud, I got the following error trying to build UIDev:
'UIDev.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'D:\FilesD\FFXIV plugin\SamplePlugin\UIDev\bin\x64\Debug\net5.0-windows\UIDev.dll'. Symbols loaded.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'D:\FilesD\FFXIV plugin\SamplePlugin\UIDev\bin\x64\Debug\net5.0-windows\ImGui.NET.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\netstandard.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'D:\FilesD\FFXIV plugin\SamplePlugin\UIDev\bin\x64\Debug\net5.0-windows\ImGuiScene.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.IO.FileSystem.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Security.Cryptography.Csp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Security.Cryptography.Algorithms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Security.Cryptography.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'D:\FilesD\FFXIV plugin\SamplePlugin\UIDev\bin\x64\Debug\net5.0-windows\SDL2-CS.dll'. Module was built without symbols.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'D:\FilesD\FFXIV plugin\SamplePlugin\UIDev\bin\x64\Debug\net5.0-windows\SharpDX.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'D:\FilesD\FFXIV plugin\SamplePlugin\UIDev\bin\x64\Debug\net5.0-windows\SharpDX.Direct3D11.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'D:\FilesD\FFXIV plugin\SamplePlugin\UIDev\bin\x64\Debug\net5.0-windows\SharpDX.DXGI.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Reflection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.DllNotFoundException' in ImGui.NET.dll
An unhandled exception of type 'System.DllNotFoundException' occurred in ImGui.NET.dll
Unable to load DLL 'cimgui' or one of its dependencies: The specified module could not be found. (0x8007007E)
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Remote Debugger\x64\Runtime\Microsoft.VisualStudio.Debugger.Runtime.NetCoreApp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Diagnostics.StackTrace.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Reflection.Metadata.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Collections.Immutable.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'UIDev.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.12\System.Text.Encoding.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[9460] UIDev.exe' has exited with code 0 (0x0).
Quick google search of the error and found the fix was installing the NuGet 'ImGui.NET' into the project.
Also made some changes to the readme to hopefully clarify the parts I got confused by.
The UIDev project has been removed with #8.
Your branch is out of date and couldn't even be merged if maintainers wanted to bring UIDev back. I tried the current project it compiles fine if you have a default Dalamud install.
oh damn i didn't look at the year... my bad