I want to compile views in my ASP.Net MVC3(razor) Project.
I have used this technique
Compile Views in ASP.NET MVC
Its working fine but problem is that when i do this, an error starts showing:
"The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located."
When i dig more i found that this error occur when some java files included into project.
I have a printers plugin which is made on java(some .jar
and other java related file). When i remove these files, everything starts working fine.
But problem is that, I cant remove these java files from my project because these have an important role in my application.
Is there any way that i can compile my Views with including java file into my project?
Any suggestion would be highly appreciated.