Bug 14313 - get "Error MT0007: The root assembly ..." when using user-defined constant in <OutputPath> of csproj
Summary: get "Error MT0007: The root assembly ..." when using user-defined constant in...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.4.x
Hardware: PC Windows
: Normal normal
Target Milestone: 1.8.x (VS2013)
Assignee: Vinicius Jarina
Depends on:
Reported: 2013-08-28 23:54 UTC by pierre
Modified: 2013-11-11 17:59 UTC (History)
9 users (show)

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

Sample for the problem (67.82 KB, application/octet-stream)
2013-09-04 03:06 UTC, pierre

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 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:

Description pierre 2013-08-28 23:54:17 UTC
Get the "Error MT0007: The root assembly ..." at runtime when using user-defined constants in the <OutputPath> field of csproj of project to launch.
Comment 1 Dominique Louis 2013-09-03 04:58:58 UTC
Hi Pierre,
  Could you please attached a test project to this bugzilla, so we can repro this issue.


Comment 2 pierre 2013-09-03 21:46:38 UTC
 Hi Dominique,

I had this bug one month ago, and it looks like I am not able to reproduce it anymore. The last alpha version of the iOS VS plugin library may have fix the bug. If I face it again in the future I will post a sample.

Comment 3 pierre 2013-09-04 03:03:51 UTC
Sorry, looks like there is no error message anymore but the problem is still there. When I use the variable $(SolutionDir) in <OutputPath> the application is not updated after a build on the iPhone. 
Surprisingly even if I delete the application on the phone, the build files on the Mac and I perform a clean solution from Visual Studio when I rebuild the application it is still not updated for the very first build.
Comment 4 pierre 2013-09-04 03:06:47 UTC
Created attachment 4776 [details]
Sample for the problem

I modified the value of the string below:

"button.SetTitle("Click me 5", UIControlState.Normal);"

in file 'MyViewController.cs'

But the message on the button is not updated anymore after the first build.