Try to Release and I get a bunch of errors!

Hello I have made an Application and when I run with the Debug flag everything works just fine. However when I set it to Release XNA no longer seems to exist. I get the ‘XNA’ doesnt exist inside of namespace Microsoft. Does anyone have any idea why that is? Like I said it works perfectly fine while the Debug flag is on.

Must have been some weird bug with Visual Studio. I just ended up deleting every reference and redoing it all and it works just fine now.