Skip to content

Unable to deploy if using enum or thread #569

Closed
nanoframework/nf-Visual-Studio-extension
#429
@TheTrigger

Description

@TheTrigger

Details about Problem

nanoFramework area: Deploy and debugging

VS version: vs17 & vs19

VS extension version: 1.4.0.6

Target: ESP32

Nuget CoreLibrary: 1.6.0-preview.1

Firmware image version: 1.4.0-preview.110

Device capabilities output:

Attaching to nanoDevice...
Waiting for nanoDevice to initialize...
Updating nanoDevice debugger engine.
The nanoDevice runtime is loading the application assemblies and starting execution.
The program '[1] nanoFramework application: Managed' has exited with code 0 (0x0).

Description

Debug ends if use Enum as parameter. The code is not even executed (or deployed? idk)

Detailed repro steps so we can see the same problem

  • create app
  • link library
    • add a class that has a method with enum as signature
    • create a new Thread
  • deploy
  • see attached project

Other suggested things

Expected behavior

Able to deploy and debug, or see any error

Sample Project

NFApp3.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions