Skip to content

Unity: Reference to type 'SecureString' claims it is defined in 'mscorlib' #299

Description

@uelipeter

I built the WindwosDevicePortalWrapper and added it to my unity project (Scripting Runtime .Net 4x, Api Compatibility Level .Net 4.x). When I build my unity project I get the following error:
Reference to type 'SecureString' claims it is defined in 'mscorlib'
for the following line of code:
portal = new DevicePortal( new DefaultDevicePortalConnection( "https://127.0.0.1", "username", "password"));

Can anyone help me with this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions