Skip to content

NativeInterop is throwing error during msbuild. Please help. #5446

@swetapandey14

Description

@swetapandey14

With the latest package of MSAL 4.68, Native interop also needs to be installed. Locally things work for me but during MS build (classis Pipeline) we receive below error.

Src\packages\Microsoft.Identity.Client.NativeInterop.0.16.2\build\net461\Microsoft.Identity.Client.NativeInterop.props(4,98): Error MSB4066: The attribute "TargetPath" in element is unrecognized.
Process 'msbuild.exe' exited with code '1'.

why is it that the attribute TargetPath is unrecognized when we are providing proper runtimes folder path to it.

Is it something with this version of nativeInterop which does not work.
Could you please help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions