Linker Tools Error LNK2039
importing ref class '<type>' that is defined in another.obj; it should be either imported or defined, but not both
The ref class '<type
>' is imported in the specified .obj file but is also defined in another .obj file. This condition can cause runtime failure or other unexpected behavior.
To correct this error
Check whether '
type
' must be defined in the other .obj file and check whether it must be imported from the .winmd file.Remove either the definition or the import.
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir