title: RotaTiva not working in asp.net mvc 5
body: <p>My application is in asp.net mvc 5 on .net framework version 4.5.2 </p>
  
  <p>I am using Rotavita to convert view in pdf </p>
  
  <p>I tried adding Rotavita package by Giorgio Bozio from nugget</p>
  
  <p><a href="https://i.stack.imgur.com/glUvh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/glUvh.jpg" alt="enter image description here"></a></p>
  
  <p>It get install and added new folder by the name RotaVita in my project with exe file </p>
  
  <p><a href="https://i.stack.imgur.com/S1UhH.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S1UhH.jpg" alt="enter image description here"></a></p>
  
  <p>But I am not able to use it in controller as it is not available there </p>
  
  <p><a href="https://i.stack.imgur.com/OiSQ7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OiSQ7.jpg" alt="enter image description here"></a></p>
  
  <p>After some googling I found a post suggesting to use Rotavita.MVC by Dmitry Pronin . It get install without any problem and now I am able to use it in controller by including </p>
  
  <pre><code>using Rotativa.MVC;
  </code></pre>
  
  <p>and in action method</p>
  
  <pre><code>return new ViewAsPdf("Index", Model) { FileName="rpt.pdf"};
  </code></pre>
  
  <p>It does return a PDF File but it does not contain anything , a blank pdf file </p>
  
  <p><a href="https://i.stack.imgur.com/RTui8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RTui8.png" alt="enter image description here"></a></p>
  
  <p>I am using RotaVita in asp.net core 2.0 and its work perfectly , but not in asp.net mvc 5 </p>
  
  <p>How can I make it work here?</p>