"System.STAThreadAttribute" i "System.MTAThreadAttribute" nie mogą być stosowane do elementu "|1"

Atrybuty System.STAThreadAttribute i System.MTAThreadAttribute wzajemnie się wykluczają.

Identyfikator błędu: BC31513

Aby poprawić ten błąd

  1. Zastosuj wartość System.MTAThreadAttribute lub System.STAThreadAttribute, ale nie obie.

Zobacz też