MvcMailer FileLoadExcpetion in MVC4
When using MvcMailer in the Cloud and publishing the package the state of the publish stays in cycling. The Solution is created with MVC4. After numerous attemps intellitrace noted that it could not find / load System.Web.Mvc version 3.
After troubleshooting all included nuget packeges in the solution we commented all MvcMailer specific code (its base class and implementation). At this point the application can be hosted in the cloud with MVC4 but without the MvcMailer :-(
My question is do you reference explicitly to System.Web.Mvc version 3 in your code? If so can you change this so MvcMailer can be used with MVC4?
Steps to reproduce:
- Create new MVC 4 beta project
- Add nuget package Mvc Mailer. Optional: update the default packages or add other packages.
- Project won’t run properly because the web.config in the Views folder has double config sections so comment them:
- Add class that implements te base class for the mvc mailer: public class TestMailer : MailerBase { public TestMailer(): base() { MasterName="_Layout"; } }
- Publish to Azure with default settings. The state in Visual Studio 2010 will stay in Cycle. The intellitrace log file says: System.TypeLoadException. Could not load file or assembly MVC version 3.
I need to check this out. Is this a problem that you see on the cloud only?
Sent from my iPhone S M Sohan
On 2012-03-15, at 4:38 AM, ahordijk [email protected] wrote:
When using MvcMailer in the Cloud and publishing the package the state of the publish stays in cycling. The Solution is created with MVC4. After numerous attemps intellitrace noted that it could not find / load System.Web.Mvc version 3.
After troubleshooting all included nuget packeges in the solution we commented all MvcMailer specific code (its base class and implementation). At this point the application can be hosted in the cloud with MVC4 but without the MvcMailer :-(
My question is do you reference explicitly to System.Web.Mvc version 3 in your code? If so can you change this so MvcMailer can be used with MVC4?
Steps to reproduce:
- Create new MVC 4 beta project
- Add nuget package Mvc Mailer. Optional: update the default packages or add other packages.
- Project won’t run properly because the web.config in the Views folder has double config sections so comment them:
- Add class that implements te base class for the mvc mailer: public class TestMailer : MailerBase { public TestMailer(): base() { MasterName="_Layout"; } }
- Publish to Azure with default settings. The state in Visual Studio 2010 will stay in Cycle. The intellitrace log file says: System.TypeLoadException. Could not load file or assembly MVC version 3.
Reply to this email directly or view it on GitHub: https://github.com/smsohan/MvcMailer/issues/42
Yes local on my developing pc this problem does not occur. Hope you can solve this One. This is because MVC3 is also installed on my development pc.
----- Reply message ----- Van: "S" [email protected] Aan: "ahordijk" [email protected] Onderwerp: [MvcMailer] MvcMailer FileLoadExcpetion in MVC4 (#42) Datum: do, mrt. 15, 2012 14:51
I need to check this out. Is this a problem that you see on the cloud only?
Sent from my iPhone S M Sohan
On 2012-03-15, at 4:38 AM, ahordijk [email protected] wrote:
When using MvcMailer in the Cloud and publishing the package the state of the publish stays in cycling. The Solution is created with MVC4. After numerous attemps intellitrace noted that it could not find / load System.Web.Mvc version 3.
After troubleshooting all included nuget packeges in the solution we commented all MvcMailer specific code (its base class and implementation). At this point the application can be hosted in the cloud with MVC4 but without the MvcMailer :-(
My question is do you reference explicitly to System.Web.Mvc version 3 in your code? If so can you change this so MvcMailer can be used with MVC4?
Steps to reproduce:
- Create new MVC 4 beta project
- Add nuget package Mvc Mailer. Optional: update the default packages or add other packages.
- Project won’t run properly because the web.config in the Views folder has double config sections so comment them:
- Add class that implements te base class for the mvc mailer: public class TestMailer : MailerBase { public TestMailer(): base() { MasterName="_Layout"; } }
- Publish to Azure with default settings. The state in Visual Studio 2010 will stay in Cycle. The intellitrace log file says: System.TypeLoadException. Could not load file or assembly MVC version 3.
Reply to this email directly or view it on GitHub: https://github.com/smsohan/MvcMailer/issues/42
Reply to this email directly or view it on GitHub: https://github.com/smsohan/MvcMailer/issues/42#issuecomment-4519839
Is this bug fixed or is there an estimated time that it is fixed? Thank you.
@smsohan Is there some more information about this?
Any update available?
@smsohan Can you give me any feedback if you are going to fix this one? Or a roadmap / planning for when you will support mvc4?
Ran into this today - sent pull request -> https://github.com/smsohan/MvcMailer/pull/54 to address.
Thanks for this. I haven't been able to spend much time on MvcMailer off late due to my lack of touch with .Net project for the last couple of years. But I will try this out over the weekend and if everything looks
cool, I will push an update.
Sohan http://smsohan.com skype:smsohan | gtalk:sohan39 | cell: 403-714-2673
On Wed, Aug 22, 2012 at 10:59 PM, Josh Schramm [email protected]:
Ran into this today - sent pull request -> https://github.com/smsohan/MvcMailer/pull/54 to address.
— Reply to this email directly or view it on GitHubhttps://github.com/smsohan/MvcMailer/issues/42#issuecomment-7958738.
Cool. I also noticed the web.config in Views is writing wrong, going to look at that next. I think there's another issue.
I didn't generate a new nuget package in source control, i did locally to test but I didn't want to impose a new version or anything so you may need to do that.
I'm currently getting hosed by this. I checked the pull request and it looks pretty solid to me.
I agree any chance we can get this pull request accepted?