While trying to run the .Net Core template the debugger crashes
~> The process failed to start with the following error: System.Exception: Timeout waiting for debugger: You must install or update .NET to run this application.
~>
~> App: C:\Program Files (x86)\RemObjects Software\Elements\Bin\Core\RemObjects.Elements.Debugger.dll
~> Architecture: x64
~>
~> Framework: ‘Microsoft.NETCore.App’, version ‘6.0.1’ (x64)
~> .NET location: C:\Program Files\dotnet
~>
~> The following frameworks were found:
~> 8.0.3 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
~>
~> Learn more:
~> Troubleshoot app launch failures - .NET | Microsoft Learn
~>
~> To install missing framework, download:
~> Download .NET 6.0 Runtime
~>
~>
~> bei RemObjects.Elements.Debugger.MI.LocalTCPProcessDebugger.SetTarget(IDebugEngineTarget aTarget)
~> bei RemObjects.Elements.Debugger.MI.DebugEngine…ctor(IDebugEngineSource aSource)
~> bei RemObjects.Elements.Debugger.MIDebugEngine.Start()
~> bei RemObjects.Fire.ProjectSystem.DebugSession.b__1()
~> bei RemObjects.Fire.BaseLibrary.SBLDispatch.<>c__DisplayClass2.b__0()
Only .Net Core 8 is installed.
Maybe the problem is referencing “Echoes” which seems to be only available in versions .Net Core 5 & 6 under
“c:\Program Files (x86)\RemObjects Software\Elements\References\Echoes”
after installation.
You’ll need to install .NET 4.8, as Elements sues that,. the installer should install that automatically if needed, but maybe for some reason that didn’t work on your system.
Sorry, I think this was in the wring thread; this was in relation to the installer failing.
Okay, that explains it; for some reason, your project wants to run as .NET 6.
No, thta is not the issue. this just means that these files support .NET Core 5 and later (ie a project et to build for .NET Core 3 would not be able to pick up that version as reference).
I see your project does not set a hardcoded .NET Core version, that is good, but that also means I have not idea why it would try to run ad v6. Can tie do a full rebuild and send me the build log? Also, if this is Water (or Fire), which versions in .NERT Coire show in the TargetFramework dropdown? What happens if you explicitly select “.NETCore8.0”?
Yes. That’s waht i get when calling Help/Troubleshooting/Generate Report for Compiler Issue
after a Rebuild.
Maybe i’m stupid, how do i get a better log ?
Thanx. the project is indeed correctly built for .NET Core 8. So that is good. Im not sure why it would try and debug it under .NET Core 6.0.
That said, re-reading the original message again, it also mentioned Architecture. You have the x64 version of .NET Core 8 installed (according to the message). Since in your other thread you mentioned about issues with building for i386 – is your project set to build for 32bit or 64bit?
No, this is normal. The DbgShim package is not meant for referencing in a project; int only delivers the .dll we need for debugging. So that error/warning message is correct; you should not reference this package directly…
Excellent. FWIW, to run EBuild (and Water) on Core, .NET 6 is required, yes; as .NET Core apps are always tied to one version. But it’s still odd that you and debug your own app on Core 8; this works fine in our testing…