microsoft / vscode-tye

A Visual Studio Code extension for Tye development
Other
25 stars 9 forks source link

Attach debugging with an error for a tye application #192

Open v-xinda opened 2 years ago

v-xinda commented 2 years ago

OS: M1(Pro) Tye Extension Version: 20220629.2 Tye Version: 0.12.0-alpha.22328.1

Repro Steps:

  1. Install Tye extension.
  2. Download the application by the command "git clone https://github.com/pratiksanglikar/tye-demo.git" -> Open the application in VS Code.
  3. F1 -> Tye Run.
  4. Click "Attach" in the "Tye Application" tree view.
  5. Check whether attach debugging without any error.

Expect: Attach debugging without any error.

Actual: Attach debugging with an error. image

philliphoff commented 2 years ago

@v-xinda Can you provide more information about the .NET SDK runtimes installed on the machines, and the target frameworks of the demo projects? I don't see any issues if using .NET 6/7 as target frameworks. However, if I use the .NET 5 target, while I can build the solution, I can't start tye--it continually cycles, as the M1 doesn't support running .NET 5 applications (when an arm64 flavor of the .NET 6 SDK/runtime has been installed).

v-xinda commented 2 years ago

@philliphoff The more details as below: .NET version: 6.0.302 TargetFramework: net5.0