State tax filing

I have the opposite problem. I am a VA resident who has recently sold inherited property. I have a 1099-S from NC. Do I need to file a NC tax return? VA will tax me on the capital gain.