Open jmprado opened 12 years ago
I'm experiencing this same problem when trying to install MvcMailer using NuGet package manager in Visual Studio 2012 RTM on Windows 8 RTM. It tries to install T4Scaffolding 0.9.9 when there's already version 1.0.6 out there: http://nuget.org/packages/T4Scaffolding.
https://github.com/smsohan/MvcMailer/blob/master/Mvc.Mailer/NuGet/MvcMailer.nuspec
I looked the file's code and T4Scaffolding is 0.9.7. I really don't know why NuGet tries to install version 0.9.9... The way it is it should grab the most recent version of T4Scaffolding.
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>MvcMailer</id>
<version>1.2</version>
<authors>S. M. SOHAN</authors>
<description>
MvcMailer sends emails using the MVC views as Email Body with no effort. Here's a quick list of features: a) Use Razor/WebForms views b) Use Master pages c) Write Testable Code d) Pass values to your view using ViewBag or ViewModel and e) Generate Absolute URL using Url.Abs method and f) create multi-part emails by just adding a view file, g) scaffold your mailers.
MvcMailer has a MailerBase class that extends ControllerBase class. So, Mailers are just like your Controllers. As a result, you can use all the controller goodies without any learning curve, period. The end result is a professional looking HTML email body ready for your to send to your website users.
Visit the Project site for a comprehensive tutorial on MvcMailer.
</description>
<dependencies>
<dependency id="T4Scaffolding" version="0.9.7"/>
</dependencies>
<language>en-US</language>
<projectUrl>https://github.com/smsohan/MvcMailer</projectUrl>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
</metadata>
</package>
I installed the package as instructed but at the end of it there's an error and no Mvc.Mailer reference is added to project but I was able to scaffold my mailers.
++++++++ install-package MvcMailer Tentando resolver dependência 'T4Scaffolding (≥ 0.9.7)'. Tentando resolver dependência 'EntityFramework (≥ 4.1.10311.0)'. Você está baixando EntityFramework de Microsoft, para o qual o contrato de licença está disponível em http://go.microsoft.com/fwlink/?LinkId=224682. Verifique o pacote quanto a dependências adicionais, as quais podem vir com seu(s) próprio(s) contrato(s) de licença. Ao usar o pacote e suas dependências você concorda com os termos dos contratos de licença. Se você não concorda com os termos do(s) contrato(s) de licença, exclua os componentes relevantes do seu dispositivo. 'EntityFramework 4.1.10715.0' instalado com êxito. Êxito ao remover 'EntityFramework 4.1.10331.0' de SiteArteCultura. Êxito ao adicionar 'EntityFramework 4.1.10715.0' a SiteArteCultura. 'T4Scaffolding 0.9.9' instalado com êxito. A different version of T4Scaffolding is already running in this instance of Visual Studio Please restart Visual Studio to avoid unexpected behavior
Êxito ao adicionar 'T4Scaffolding 0.9.9' a SiteArteCultura.
Warning: A different version of T4Scaffolding is already running in this instance of Visual Studio, so installation cannot be completed at this time.
You must restart Visual Studio and then install the desired package again. Now rolling back package installation.
Êxito ao remover 'T4Scaffolding 0.9.9' de SiteArteCultura. 'T4Scaffolding 0.9.9' instalado com êxito.
'T4Scaffolding 0.9.9' instalado com êxito. 'EntityFramework 4.1.10715.0' instalado com êxito. Falha na instalação. Revertendo... Install-Package : Installation cannot proceed until you have restarted Visual Studio. Em linha:1 caractere:16
++++++++