Bug 1448 - Error appears when user try to install the solution/project to a location.
Summary: Error appears when user try to install the solution/project to a location.
Status: RESOLVED DUPLICATE of bug 2292
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Deployment ()
Version: unspecified
Hardware: All All
: Low normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-12 08:41 UTC by Jatin
Modified: 2011-12-08 20:38 UTC (History)
3 users (show)

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


Attachments
Screenshot for the bug. (285.34 KB, image/jpeg)
2011-10-12 08:41 UTC, Jatin
Details


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 DUPLICATE of bug 2292

Description Jatin 2011-10-12 08:41:35 UTC
Created attachment 679 [details]
Screenshot for the bug.

Steps to reproduce:

1. Launch the MonoDevelop.
2. Start a New Solution or Open the Existing Solution.
3. Solution sidebar appears at the left panel.
4. Right Click on Solution/Project name.
5. Click on the option "Tools"
6. Click on the option "Install"
7. Provide the location and Name.
8. Click on Ok button.
9. Error pop-up appears.

Actual result:

When the user tries to install the solution/project to a location (Refer to the attached screenshot), error appears:

System.IO.FileNotFoundException: Could not find file 'C:\Users\win7\Desktop\abc\testing\testing\bin\Debug\testing.dll'.

File name: 'C:\Users\win7\Desktop\abc\testing\testing\bin\Debug\testing.dll'

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)

   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)

   at MonoDevelop.Core.FileSystem.DefaultFileSystemExtension.CopyFile(FilePath source, FilePath dest, Boolean overwrite)

   at MonoDevelop.Core.FileService.CopyFile(String srcFile, String dstFile)

   at MonoDevelop.Deployment.InstallResolver.CopyFile(IProgressMonitor monitor, String src, String dest, DeployFileAttributes atts)

   at MonoDevelop.Deployment.InstallResolver.InstallEntry(IProgressMonitor monitor, DeployContext ctx, SolutionItem entry, ConfigurationSelector configuration)

   at MonoDevelop.Deployment.InstallResolver.Install(IProgressMonitor monitor, SolutionItem entry, String appName, String prefix, ConfigurationSelector configuration)

   at MonoDevelop.Deployment.DeployService.Install(IProgressMonitor monitor, SolutionItem entry, String prefix, String appName, ConfigurationSelector configuration)

   at MonoDevelop.Deployment.Gui.DeployOperations.Install(SolutionItem entry, ConfigurationSelector configuration)

   at MonoDevelop.Deployment.InstallHandler.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)

Expected result:

Error should not appear, and the user could able to successfully install the solution/project to a location.

Environment:

Windows 7
Mac 10.7 (Lion)
MonoDevelop 2.8.1
MonoTouch 5.0
Mono For Android 1.9
Comment 1 Alan McGovern 2011-10-12 11:29:41 UTC
I got this error trying to use the install thingy too. What is this command supposed to do anyway?

System.ArgumentNullException: Argument cannot be null.
Parameter name: path1
  at System.IO.Path.Combine (System.String path1, System.String path2) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Deployment.InstallResolver.GetDirectory (MonoDevelop.Deployment.DeployContext ctx, System.String folderId) [0x0005b] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/InstallResolver.cs:98 
  at MonoDevelop.Deployment.DeployContext.GetDirectory (System.String folderId) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DeployContext.cs:35 
  at MonoDevelop.Deployment.DeployContext.GetResolvedPath (System.String folderId, System.String relativeTargetPath) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DeployContext.cs:44 
  at MonoDevelop.Deployment.DeployFile.get_ResolvedTargetFile () [0x00011] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DeployFile.cs:125 
  at MonoDevelop.Deployment.InstallResolver.InstallEntry (IProgressMonitor monitor, MonoDevelop.Deployment.DeployContext ctx, MonoDevelop.Projects.SolutionItem entry, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00025] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/InstallResolver.cs:55 
  at MonoDevelop.Deployment.InstallResolver.Install (IProgressMonitor monitor, MonoDevelop.Projects.SolutionItem entry, System.String appName, System.String prefix, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00015] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/InstallResolver.cs:48 
  at MonoDevelop.Deployment.DeployService.Install (IProgressMonitor monitor, MonoDevelop.Projects.SolutionItem entry, System.String prefix, System.String appName, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00006] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DeployService.cs:116 
  at MonoDevelop.Deployment.Gui.DeployOperations.Install (MonoDevelop.Projects.SolutionItem entry, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00024] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/DeployOperations.cs:17 
  at MonoDevelop.Deployment.InstallHandler.Run () [0x0000b] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Commands/Commands.cs:84 
  at MonoDevelop.Components.Commands.CommandHandler.Run (System.Object dataItem) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:61 
  at MonoDevelop.Components.Commands.CommandHandler.InternalRun (System.Object dataItem) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:42 
  at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info, System.Object dataItem, System.Object target, CommandSource source) [0x00076] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:649 
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x002d1] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:619
Comment 2 Alan McGovern 2011-12-08 20:38:30 UTC
We might be disabling this so marking as dupe of 2292

*** This bug has been marked as a duplicate of bug 2292 ***