Hi, if you ever encounter this error
<blockquote class="FQ"><div class="FQA">Quote:</div>It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS</blockquote>
I had the same issue with VS 2012.
I resolved this by
- Unload your current project
- edit your .csproj
- Find this
- Instead of false change the value to true
- Load again your project and you should not have any more this error
If you do have then one solution is to delete the content of the obj folder in the project generated by compiler.