I just publish with visual studio 2015 to my server . And When I go to the site I get this error but if I debug it local it works
Server Error in '/' 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: CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c2b0a193\1061ca32\assembly\dl3\baf77ec8\caa835fd_c4abd001\Microsoft.Threading.Tasks.Extensions.dll"
/R:"C:\Windows\Microsoft.Net\ass ...
Go to the complete details ...