Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

528
Views
Plantillas de RazorEngine en VS 2015: la característica 'variable local implícitamente tipeada' no está disponible en C# 2

Recibo el siguiente error cuando abro el archivo de plantilla cshtml de RazorEngine en mi proyecto VS 2015.

La función 'variable local tipificada implícitamente' no está disponible en c# 2. Utilice la versión de idioma 3 o superior.

La plantilla compila correctamente, solo el intellisense está roto.

El proyecto está configurado para usar .net 4.5 durante la construcción. La aplicación tampoco es ASP.Net, sino de escritorio.

Intellisense también funcionó bien en VS 2013. El problema apareció después de la actualización a VS 2015.

¿Alguien tuvo un problema similar y podría aconsejarme cómo resolverlo?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Pude arreglar el intellisense agregando estas líneas al archivo app.config. Reinicie Visual Studio después de realizar el cambio.

 <system.web> <compilation debug="false" targetFramework="4.5.1" /> </system.web>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!