Bug 1275 - Add new file doesn't work (Win 7 & Moonlight)
Summary: Add new file doesn't work (Win 7 & Moonlight)
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Moonlight ()
Version: unspecified
Hardware: PC Windows
: Lowest normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-05 16:46 UTC by LiborBes
Modified: 2013-08-21 00:33 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description LiborBes 2011-10-05 16:46:23 UTC
I cannot add new file to Moonlight solution's project. This error appears:

"Error while executing command: File..."

------
Stack:
------

System.NullReferenceException: Object reference not set to an instance of an object.
   at MonoDevelop.Core.Assemblies.AssemblyContext.NormalizeAsmName(String name)
   at MonoDevelop.Core.Assemblies.AssemblyContext.GetAssemblyForVersion(String fullName, String packageName, TargetFramework fx)
   at MonoDevelop.Core.Assemblies.AssemblyContext.GetAssemblyNameForVersion(String fullName, String packageName, TargetFramework fx)
   at MonoDevelop.Core.Assemblies.ComposedAssemblyContext.GetAssemblyNameForVersion(String fullName, String packageName, TargetFramework fx)
   at MonoDevelop.Core.Assemblies.ComposedAssemblyContext.GetAssemblyNameForVersion(String fullName, TargetFramework fx)
   at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.SupportsProject(Project project, String projectPath)
   at MonoDevelop.Ide.Templates.FileTemplate.IsValidForProject(Project project, String projectPath)
   at MonoDevelop.Ide.Templates.FileTemplate.GetFileTemplates(Project project, String projectPath)
   at MonoDevelop.Ide.Projects.NewFileDialog.InitializeTemplates()
   at MonoDevelop.Ide.Projects.NewFileDialog.InitializeDialog(Boolean update)
   at MonoDevelop.Ide.Projects.NewFileDialog.InitializeComponents()
   at MonoDevelop.Ide.Projects.NewFileDialog..ctor(Project parentProject, String basePath)
   at MonoDevelop.Ide.Commands.NewFileHandler.Run()
   at MonoDevelop.Components.Commands.CommandHandler.Run(Object dataItem)
   at MonoDevelop.Components.Commands.CommandHandler.InternalRun(Object dataItem)
   at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand(ActionCommand cmd, CommandInfo info, Object dataItem, Object target, CommandSource source)
   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)

----------------
Version details:
----------------

MonoDevelop 2.8

Operating System:
	Windows 6.1.7601.65536

Runtime:
	Microsoft .NET 4.0.30319.237
	GTK 2.16.6 (GTK# 2.12.0.0)
Comment 1 Miguel de Icaza [MSFT] 2013-08-21 00:33:26 UTC
Moonlight is no longer supported