Skip to content

Can't deploy a project referencing a library that does not have native code #575

Closed
nanoframework/nf-Visual-Studio-extension
#443
@MateuszKlatecki

Description

@MateuszKlatecki

Details about Problem

nanoFramework area: Visual Studio extension

VS version: 2017

VS extension version: tested with 1.7.0.9

Target:

Firmware image version:

Device capabilities output:

Description

If I create library that contains public class and inside this class I create public enum and then in my app add reference to this lib and try to use that enum everything is compile ok but program didn't run. With extension 1.2.5.38 program works.

Trying to debug the problem, it turns out that the program does not see the Enum type (CLR_RT_Assembly::Resolve_TypeRef() function)

Expected behaviour

Program should work when compiled with new extension

Additional context

Attached solution causing problem
NFFail.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions