0

All of a sudden today my project started giving me this error:

Default parameter specifiers are not permitted

The project is supposed to be compiled with .Net 4.0.The WEb.config file has 4.0 specified:

<compilation debug="true" targetFramework="4.0">

What could possibly be going on here? Any help or places to look would be appreciated.

UPDATED:

I tried changing the .Net Framework Target to 3.0 and even 2.0, saving the solution and then back to 4.0 and 4.5 but it didn't work. I think I've read the same "fixes" that everyone else has with no luck unfortunately.

Camille Sévigny
  • 5,104
  • 4
  • 38
  • 61
  • 1
    Per this [answer](http://stackoverflow.com/a/9042847/1346943), have you tried toggling to 3.5 and then back to 4.0? – Sven Grosen Oct 15 '14 at 15:20

1 Answers1

0

i too have the same problem.my project is also targeting 4.0 and not 3.5 or below.

I toggled it to 3.5 and then back to 4.0 and then the error went away.

May this will work for u.

MMM
  • 3,132
  • 3
  • 20
  • 32