Skip to content
24/07/2008 / dimarzionist

Strange VS 2008/Resharper behaviour (BuildAction property)

I’ve noticed one problem while added new classes to my MVC project. Whenever I add new class from VS templates -> Class, both Visual Studio and Resharper Intellisense is not working for such file. After some investigation I found that problem exists because of BuildAction property that wasn’t set correctly for this CS file.

So what you need to do, if you have the same problem, is to change BuildAction property of class file from “Content” to “Compile”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: