Look through the Project properties for appropriate options to disable. For example, under Configuration Properties->General there is an option "Use Managed Extensions" that should probably be set to "No". There might be other options as well that need to be changed, just have a look through all of them.