laughlinb

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Project with both embedded and linux targets? #33499
    laughlinb
    Participant

    Thank you for that reference. I attempted to add a Linux platform to my existing Embedded project, and upon clicking OK in the “Manage Platforms and Configurations” window (step 12 in the above link) received the an exception (pasted below). I am using VS Community Edition 2022, v17.4.0

    The new platform does show up in the drop down configuration menu, however, with Analyze|RPi, etc. When selecting that configuration, and clicking “Debug settings” it’s clear that the VGDB Project properties is still assuming I’m trying to target an embedded target, and not a linux host.

    `

    VisualGDB version: 5.6.108.4702
    —————— System.Runtime.InteropServices.COMException ——————
    System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    at Microsoft.VisualStudio.CommonIDE.Solutions.Dte.DteSolution.SaveAs(String bstrPath)
    at EnvDTE._Solution.SaveAs(String FileName)
    at up1.m(DTE e, IEnumerable1 d, IEnumerable1 f, IEnumerable1 c, IEnumerable1 b, Boolean g, Action a)
    at w5.e5.i(String[] a, String[] d, String[] b, String[] c)
    at em3.a_2()
    at h02.ManageConfigurations()
    at VisualGDB.Common_GUI.WPF.ProjectPropertiesWindow3.ManageConfigurations_Click(Object sender, RoutedEventArgs e)
    trace=[EnvDTE._Solution.SaveAs:-1, up1.m:35, w5+e5.i:0, em3.a_2:570, h02.ManageConfigurations:18, VisualGDB.Common_GUI.WPF.ProjectPropertiesWindow3.ManageConfigurations_Click:0]

    `

    edit: formatting

    • This reply was modified 2 years ago by laughlinb.
    • This reply was modified 2 years ago by laughlinb.
    Attachments:
    You must be logged in to view attached files.
Viewing 1 post (of 1 total)