smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
584 stars 178 forks source link

Config Problems with MVC 4 #48

Open stevozilik opened 12 years ago

stevozilik commented 12 years ago

Hi,

The MvcMailer NuGet package messes up the Web.config for Views in a MVC 4 beta Internet Application.

Steps to reproduce:

Resolution: remove the redundant references to 3.0 libraries

Eonasdan commented 12 years ago

this line needs to be removed

<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

and this

 </pages>
<pages validateRequest="false" pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
stevozilik commented 12 years ago

that's correct. However the issue still remains, this should not happen in first place.