YAFLogo

Posted by: vikrammalhotra - Wednesday, 3 February 2010 06:31:37
[color=red][b] The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)[/b][/color] Server Error in '/YAF-v1.9.4-RC1-BIN' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?) Source Error: Line 81: { Line 82: // compute page title.. Line 83: var title = new StringBuilder(); Line 84: Line 85: string pageStr = string.Empty; Source File: e:\YAF-v1.9.4-RC1-BIN\App_Code\YAF\Modules\PageTitleModule.cs Line: 83

Posted by: vikrammalhotra - Wednesday, 3 February 2010 07:05:33
please helop me out in this matter what should i do .... what should i do further............. its is a matter of my job................

Posted by: Hydra - Wednesday, 3 February 2010 16:41:29
vikrammalhotra, from Visual Studio bring up the property pages for the web site and go to the "Build" section. From there, ensure that the target framework is set to 3.5.

Posted by: JP - Saturday, 6 February 2010 16:44:47
Make sure you have good web.config file in the Application root folder. The simplest setup is to copy the recommended_web-config and rename it, should work.

Posted by: leit - Wednesday, 31 March 2010 07:54:39
[quote=JP]Make sure you have good web.config file in the Application root folder. The simplest setup is to copy the recommended_web-config and rename it, should work. [/quote] :) thank you.