I'm using MSBuild to package and publish an my Asp.Net MVC 3, .Net 4 Application. I've already successfully done this for an MVC 1.0, .Net 3.5 application.
Whenever I include the IIS Settings (IncludeIisSettings=true
) in my .proj file I get the following build error:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(2046, 5): error MSB4044: The "EscapeTextForRegularExpressions" task was not given a value for the required parameter "Text".
BaseIntermediateOutputPath
is empty, which in turn pass an empty value to the "Text" parameter as referenced in the error. A rebuild may help. – KMoraz