We’re seeing the above warning on a View’s form post…
<form action="../ControllerName/ActionMethodName" method="post">
Technically this warning is correct – there is no such file, but as we’re using ASP.NET MVC this check isn’t really sufficient.
This warning isn’t stopping our application from working but we have a general “no compiler warnings” policy so would like to suppress it.
Is this possible?
Don’t write the form-tag out, use
Html.BeginForm()instead.