---
title: "Discussion on \"Compiler error CS1617 Invalid option 6 for langversion comes up in Visual Studio 2015 for .Net Framework 4.6\" | Hashnode"
description: "Discussion on \"Compiler error CS1617 Invalid option 6 for langversion comes up in Visual Studio 2015 for .Net Framework 4.6\". I created an empty ASP.Net MVC 5 project in Visual Studio 2015 recently.This project targeted .Net Framework version 4.5.2 by default. The project compiled successfully and ran as expected without any issues.\nLater on, I changed this from the project..."
url: "https://hashnode.com/posts/compiler-error-cs1617-invalid-option-6-for-langversion-comes-up-in-visual-studio-2015-for-net-framework-46/63f0632dca466dadb76e730a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Compiler error CS1617 Invalid option 6 for langversion comes up in Visual Studio 2015 for .Net Framework 4.6](https://sundeepkamath.in/compiler-error-cs1617-invalid-option-6-for-langversion-comes-up-in-visual-studio-2015-for-net-framework-46?utm_source=hashnode&utm_medium=feed)

I created an empty ASP.Net MVC 5 project in Visual Studio 2015 recently.This project targeted .Net Framework version 4.5.2 by default. The project compiled successfully and ran as expected without any issues. Later on, I changed this from the project...

Aug 23, 2015 · 2 min read · sundeepkamath.in  
Read the article

-   [#net-framework-v452](https://hashnode.com/tag/net-framework-v452)
-   [#net-framework-v46](https://hashnode.com/tag/net-framework-v46)
-   [#aspnet-mvc-5](https://hashnode.com/tag/aspnet-mvc-5)
-   [#visual-studio-2015](https://hashnode.com/tag/visual-studio-2015)

## Written by

[Sundeep Kamath](https://hashnode.com/@skamath)

@skamath · Hyderabad, India

  
[View profile](https://hashnode.com/@skamath)

My name is Sundeep Kamath. I’m a programmer based in Hyderabad, India. I work at Microsoft, but this blog, its content and opinions are my own. I blog about technology, code and the web.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
