Bug 17409 - Web deployment does not work
Summary: Web deployment does not work
Status: CONFIRMED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: Trunk
Hardware: PC Linux
: --- enhancement
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-01-24 01:07 UTC by Sergey Zhukov
Modified: 2015-09-18 04:57 UTC (History)
2 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 for Bug 17409 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Sergey Zhukov 2014-01-24 01:07:07 UTC
Web deployment does not work. 

Steps to reproduce:
Create empty ASP.NET project mddeployTest. 
Add to project new file called "index.html"
Click "Tools/Deploy to Web". Add new deployment target (local system or ssh - does not matter).
Click "Deploy" button.

Expected result
--------------
File index.html will be copied to deployment path.

Result:
--------------
You'll get the error:  


System.IO.FileNotFoundException: Could not find file "/home/sergey/Projects/mddeployTest/mddeployTest/bin/mddeployTest.dll".
File name: '/home/sergey/Projects/mddeployTest/mddeployTest/bin/mddeployTest.dll'
  at System.IO.FileInfo.get_Length () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileInfo:get_Length ()
  at MonoDevelop.Deployment.Targets.LocalFileCopyHandler.FileSize (System.String file) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Deployment.Targets.LocalFileCopyHandler.InternalCopyFiles (IProgressMonitor monitor, IFileReplacePolicy replacePolicy, MonoDevelop.Deployment.FileCopyConfiguration copyConfig, MonoDevelop.Deployment.DeployFileCollection deployFiles, MonoDevelop.Deployment.DeployContext context, System.String realPrefix) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Deployment.Targets.LocalFileCopyHandler.CopyFiles (IProgressMonitor monitor, IFileReplacePolicy replacePolicy, MonoDevelop.Deployment.FileCopyConfiguration copyConfig, MonoDevelop.Deployment.DeployFileCollection deployFiles, MonoDevelop.Deployment.DeployContext context) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Deployment.FileCopyHandler.CopyFiles (IProgressMonitor monitor, IFileReplacePolicy replacePolicy, MonoDevelop.Deployment.FileCopyConfiguration copyConfig, MonoDevelop.Deployment.DeployFileCollection files, MonoDevelop.Deployment.DeployContext context) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Deployment.FileCopyConfiguration.CopyFiles (IProgressMonitor monitor, IFileReplacePolicy replacePolicy, MonoDevelop.Deployment.DeployFileCollection files, MonoDevelop.Deployment.DeployContext context) [0x00000] in <filename unknown>:0 
  at MonoDevelop.AspNet.Deployment.WebDeployService.DoDeploy (System.Object o) [0x00000] in <filename unknown>:0 


--------------------------------
=== MonoDevelop ===

Version 4.2
Installation UUID: 941343e7-3193-4d86-b495-599972b9f70c
Runtime:
	Mono 3.2.7 (webperf1/51c69bf Mon Dec 30 00:57:45 NOVT 2013)
	GTK+ 2.24.10 theme: Ambiance
	GTK# (2.12.0.0)

=== Build Information ===

Git revision: 41edf4fb7f050eb62ffdbf99bef8caec1852f98c
Build date: 2013-12-26 07:19:58+0000

=== Operating System ===

Linux
Linux sergey 3.2.0-58-generic-pae #88-Ubuntu SMP Tue Dec 3 18:00:02 UTC 2013 i686 i686 i386 GNU/Linux
Comment 1 Matt Ward 2015-09-18 04:57:39 UTC
Web deployment has been removed from the latest version of Xamarin Studio 5.9. I believe it is still available in version 5.1.4.

The web deployment feature needs to be re-implemented. There is some discussion about this on the forum:

http://forums.xamarin.com/discussion/22048/deploy-to-web-is-gone