I'm building a build slave for Jenkins with Ant and Ivy to build our Windows application. Parts of the application use MVC3 and MVC4. The same solution builds fine on my development PC. I cannot change the build, sln or csproj files to make this work.
I don't want to install Visual Studio at all.
What should I install to get this working?
Here's what I have already installed which does not work:
- Microsoft ASP.NET MVC 2 - VWD Express 2010 Tools
- Microsoft ASP.NET MVC 2
- Microsoft ASP.NET MVC 3
- Microsoft ASP.NET MVC 4 Runtime
- Microsoft ASP.NET MVC 4
- Microsoft Build Tools 2013
- Microsoft ASP.NET and Web Tools 2013.4 - Visual Studio Express 2013 for Web
- Microsoft ASP.NET and Web Tools 2013.1 - Visual Studio Express 2012 for Web
Here are the errors I'm seeing from the MSBuild steps:
[exec] Controllers\Controller1.cs(547,10): error CS0246: The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?) [xxx.csproj]
[exec] Controllers\Controller1.cs(547,10): error CS0246: The type or namespace name 'HttpPostAttribute' could not be found (are you missing a using directive or an assembly reference?) [xxx.csproj]
[exec] Controllers\Controller2.cs(21,10): error CS0246: The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?) [xxx.csproj]
[exec] Controllers\Controller2.cs(21,10): error CS0246: The type or namespace name 'HttpPostAttribute' could not be found (are you missing a using directive or an assembly reference?) [xxx.csproj]