Arduino due sketch on Atmel studio 7

I am trying to import arduino due sketch on atmel studio 7 but it seems that it import samd core because of this i am getting compiler errors.I tried to import sam core manually without any success

Any help would be appreciated.