Bug 6571 - [Release Mode]Application deploy successfully on device/emulator. However, experiencing non-blocking issue "Deployment failed. The assembly directory could not be created" in MD console output window.
Summary: [Release Mode]Application deploy successfully on device/emulator. However, ex...
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Deployment ()
Version: 3.0.x
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-08-17 04:20 UTC by Nischal
Modified: 2013-03-14 08:09 UTC (History)
5 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:
VERIFIED FIXED

Description Nischal 2012-08-17 04:20:41 UTC
Steps to reproduce:
1. Create a MFA application
2. Select the active configuration as Release
3. Run(Release) the application

Actual result: Experiencing non-blocking issue "Deployment failed. The assembly directory could not be created" in MD console output window. However application launches successfully on device/emulator.

Expected result:
Application should successfully deploy to the device/emulator without any non-blocking issue in console output and the assembly directory should be created.

Supplement info:
Logcat: https://gist.github.com/3376624
Android Tools Log: https://gist.github.com/3376630

Environment:
All Mac and all Windows
MonoDevelop-3.0.4.4 (22c5f7d7e622569de506bbdb89a1858418fdafc4)
MFA 4.2.5.195540401 Alpha

Regression status:
Regression: As this working fine with MD 3.0.3.5 Stable + MFA 4.2.5.195540401 Alpha.
Comment 1 Jonathan Pryor 2012-08-17 15:49:05 UTC
@Nischal: Did Fast Deployment get enabled, or is the Shared Runtime enabled?

Both should be disabled for Release builds...
Comment 2 PJ 2012-08-22 13:36:31 UTC
I can reproduce this with the standard Release configuration.
Comment 3 Jonathan Pryor 2012-08-22 16:10:38 UTC
Looks like a dup of #6637 (or vice-versa).

Sanity test: does `xbuild /t:Install /p:Configuration=Release Project.csproj` install the package as expected? (Use MSBuild instead of xbuild on Windows.)
Comment 4 Nischal 2012-08-23 10:35:25 UTC
Today on release mode this issue is not appearing.

We have tested this with the following build:

MonoDevelop-3.0.4.4 - 5eac10aa9d8a0ee2329b8ffe98f568b74dfd2f40
MFA 4.2.5.187356494 - b2ad54e976e39bf9b0af4f652e21bec435303543
Comment 5 PJ 2012-08-23 12:06:13 UTC
Looks like this is resolved as per comment 4, likely by the fix for bug 6637 (as written in comment 3. Marking as resolved.
Comment 6 Jatin 2013-03-14 08:09:53 UTC
Today, with the latest builds:

MFA 4.6.01058 (Mac)
MFA 4.6.01055 (Windows)
Mono 2.10.12
XS 4.0.2.18

We have observed that this issue does not exists, as we are successfully able to run the application on emulator/device on the release mode.

Hence, closing this issue.