In the recent weeks, I have encountered two different instances of the same stumbling block: Losing coding intellisense in Visual Studio 2012 in Silverlight 5 Business Application Project while using WCF RIA services. Both projects had all the needed references and the corresponding using(C#)/import(VB) statements. Interesting enough, projects were compiling and building without any error, just having coding time nuances as the intellisense was not working. We did good amount of research and rather than letting those investment go to waste, we thought of summarizing the issue and the resolution here so that others can get benefited. Good news is that you have three different resolution options to choose from.
Environment : Visual studio 2012, Silverlight Business Application Project template, target Silverlight version is 5.
There are three options:
#1: Go to your Visual Studio Tools menu, Select “Import and Export Settings” and click on “Reset all settings”, then click on “Next”. This will reset all environment settings to one of the default collections of settings:
#2: Go to your project folder and delete the “.suo” file. The solution user options (.suo) file is a structured storage, or compound, file stored in a binary format. You save user information into streams with the name of the stream being the key that will be used to identify the information in the .suo file. The solution user options file is used to store user preference settings, and is created automatically when Visual Studio saves a solution.
#3: Verify that all your dlls referenced in the Silverlight project has been built with the same Silverlight Version as your Silverlight App is. Do not mix a Silverlight 5 App that uses a class library that is built for Silverlight 4, and vice versa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.