Showing posts with label Visual Studio 2013. Show all posts
Showing posts with label Visual Studio 2013. Show all posts


Error: CS1617: Invalid option 6 for langversion


I was upgrading my MVC app from MVC 4 to MVC 5 in visual studio 2013 then eventually got message CS1617: Invalid option '6' for /langversion. I looked into issue very closely and then finally come up with the right solution. I am sharing the resolution with you all as given below. In my earlier article, I discussed also How to implement custom error pages using MVC application using Visual Studio.
Error CS1617 Invalid option 6 for langversion

Error Description

Error: CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default


I have just added langversion:5 in my application web.config, it was earlier langversion:6 and it resolved my issue. You just need to lookup into system.codedom and modify compilerOptions attribute from langversion:6 to langversion:5 and modify it accordingly. I have provided web.config code part needed to change as below:



While we are working on real time world application then we need to upgrade/change our existing application code to meet up real time challenge, sometimes changes can direct into new challenges. In the same way, today here, I have provided a resolution of error CS1617: Invalid option 6 for langversion.

Relevant Reading


3 Tier Architecture in


I am publishing next version 3 tier architecture article of 4.5, In c# 4.5 have some new up gradations to know when  working on 3 tier architecture,  I have provided key steps to know on 3 tier architecture 4.5 given below:

Visual Studio 2013


I have highlighted on Visual Studio 2013 features & what have new comings with the new release of Visual Studio 2013, Microsoft have released this version keeping in mind today more major diversification of technology & to get more compatibility on different devices, screens, resolutions etc. Visual Studio 2013 is published after Visual Studio 2012. Visual Studio 2013 has leveraged to work into teams & next wave windows applications (Windows 8.1). I have listed major features of Visual Studio 2013 as given below:

Visual Studio 2013

1.  Visual Studio 2013 has developed keep in mind on different screens, devices.
2.  It have new feature to support next wave windows applications (Windows 8.1).
3.  It has enhanced development advances, debugging and optimization improvements for native managed code.
4.  Visual Studio 2013 has equipped with great richer user interactive experience with new start up page on the basis of user regular.
5.  It has the new facility to complete automatic bracket facility & ability to moving code with code shortcuts & ability to undo ck changes.
6.  It has provider great facility to split window to view developer friendly. When you are working on large codes then you can view the separate window & mouse over preview.
7.  Now “Go To Definition” option have great flexibility to view the code in edit mode in the same window, you’ll need to lost your previous mode.

Go To Definition

8.  Visual Studio 2013 has been introduced a new feature when you are opening first time Visual Studio 2013 then you’ll asked to register with Visual Studio 2013/MSDN & connected directly to Team foundation server .
9.  Visual Studio 2013 has delivered great experience to develop Windows Store application responsiveness analyzer, HTML helper, Energy consumption profile for XAML & HTML apps.
10. Visual Studio 2013 enrolled new feature of modern business apps for apps 365, it have enabled feature of Windows Azure, cloud based & apps 365.
11. Visual Studio 2013 have delivered the facility typescript in Visual studio, we can create large scale of java script application, we can incorporate java script libraries node.js, angular.js etc.
12. Visual Studio 2013  have enriched feature of debugging and optimization Improvement with special effects CPU sampling, HTML UI Responsiveness, Java script Profiler, Energy Consumption, Java script Memory.
13. Application Life cycle Management (ALM) features have been empowered in great way to help your team for more productivity, collaborate and improved support for agile development methodology.

You may download Visual Studio 2013 

Suggested Reading