[MonoDevelop] Error when adding View to ASP.NET MVC Project

Jacob Rohde rohdester at gmail.com
Sun May 9 09:18:35 EDT 2010


When I try to add a new View to a new ASP.NET MVC project - I get an error:

System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.IO.FileNotFoundException: Could not
load file or assembly 'Mono.TextTemplating, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system
cannot find the file specified.
File name: 'Mono.TextTemplating, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null'
  at (wrapper xdomain-invoke) System.AppDomain:add_AssemblyResolve
(System.ResolveEventHandler)
  at (wrapper remoting-invoke-with-check)
System.AppDomain:add_AssemblyResolve (System.ResolveEventHandler)
  at MonoDevelop.AspNet.Mvc.Gui.FolderCommandHandler.AddView
(MonoDevelop.AspNet.Mvc.AspMvcProject project, System.String path,
System.String name) [0x000f3] in
/Users/michael/mono/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.Mvc/Gui/FolderNodeBuilderExtension.cs:124 
  at MonoDevelop.AspNet.Mvc.Gui.FolderCommandHandler.AddView () [0x00068] in
/Users/michael/mono/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.Mvc/Gui/FolderNodeBuilderExtension.cs:86 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Components.Commands.DefaultCommandHandler.Run
(System.Object target, MonoDevelop.Components.Commands.Command cmd)
[0x00012] in
/Users/michael/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1315 
  at MonoDevelop.Components.Commands.CustomCommandTargetAttribute.Run
(System.Object target, MonoDevelop.Components.Commands.Command cmd)
[0x00000] in
/Users/michael/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/CustomCommandTargetAttribute.cs:54 
  at
MonoDevelop.Ide.Gui.Components.NodeCommandHandler+TransactedNodeHandlerAttribute.Run
(System.Object target, MonoDevelop.Components.Commands.Command cmd)
[0x00026] in
/Users/michael/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/NodeCommandHandler.cs:270 
  at
MonoDevelop.Components.Commands.CustomCommandTargetAttribute.MonoDevelop.Components.Commands.ICommandTargetHandler.Run
(System.Object target, MonoDevelop.Components.Commands.Command cmd)
[0x00000] in
/Users/michael/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/CustomCommandTargetAttribute.cs:44 
  at MonoDevelop.Components.Commands.CommandHandlerInfo.Run (System.Object
cmdTarget, MonoDevelop.Components.Commands.Command cmd) [0x00017] in
/Users/michael/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1203 
  at
MonoDevelop.Components.Commands.CommandManager+<DispatchCommand>c__AnonStorey30.<>m__3A
() [0x00032] in
/Users/michael/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:563 
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand
(System.Object commandId, System.Object dataItem, System.Object
initialTarget, CommandSource source) [0x002ce] in
/Users/michael/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:580
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Error-when-adding-View-to-ASP-NET-MVC-Project-tp2164415p2164415.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list