[mono-android] VS not recognizing manifest for my application after code restructuring
Wally McClure
theevilprogrammer at hotmail.com
Tue Jan 17 03:15:44 UTC 2012
Chris,
Thanks. This is really good information. it just reinforces to me the finicky-ness of adb.
Wally
From: chris.tossing at usa.g4s.com
To: chris.tossing at usa.g4s.com; monodroid at lists.ximian.com
Date: Tue, 17 Jan 2012 02:57:01 +0000
CC: mahesh.menghani at usa.g4s.com; simon.goldshmid at usa.g4s.com; mohammad.shahalam at usa.g4s.com
Subject: Re: [mono-android] VS not recognizing manifest for my application after code restructuring
I’m not sure what was going on, but I believe that what fixed the problem was killing adb.exe.
I found that I was able deploy if I opened the project file for the android application directly instead of opening the solution file, which made me think it might be something wrong with the solution file, but
I didn’t see anything there that would cause this. I ended up noticing that I had file locks by some process and found that it was adb. Killing it and reopening the solution made it deployable again. It appears that this was some kind of caching issue?
Oh, well. It’s working now.
Thank you,
Chris Tossing
Software Engineer
G4S Technology Software Solutions LLC
Direct Dial: +1 (781) 457-0779
Cell: +1 (847) 942-0359
chris.tossing at usa.g4s.com
www.1f.com
21 North Avenue, Burlington, Massachusetts 01803 USA
P
Please consider the environment before printing this email
From: Tossing, Chris
Sent: Monday, January 16, 2012 9:32 PM
To: Discussions related to Mono for Android
Cc: Tossing, Chris
Subject: VS not recognizing manifest for my application after code restructuring
I just did a significant restructuring of our codebase, and Visual Studio is now not recognizing our android application project as a deployable project. It is also not recognizing the AndroidManifest.xml file when I go to the project
property pages, and when I click the “Click to add one” link, it crashes Visual Studio.
I checked the project file, and it is still marked as
<AndroidApplication>true</AndroidApplication>.
I did a compare with the previous version, and the only thing I changed in the project file that I’m seeing might be related is that I modified the RootNamespace and AssemblyName. I tried modifying the AndroidManifest.xml file to set the
PackageName to the same value as the AssemblyName (they were in sync prior to my restructuring) just in case that was the problem, but it didn’t appear to have any effect.
How does Visual Studio determine if a project is deployable? (I know it has to have the AndroidApplication set to true, but there is obviously something else preventing deploy at present)
Thank you for your help.
Chris Tossing
Software Engineer
G4S Technology Software Solutions LLC
Direct Dial: +1 (781) 457-0779
Cell: +1 (847) 942-0359
chris.tossing at usa.g4s.com
www.1f.com
21 North Avenue, Burlington, Massachusetts 01803 USA
P
Please consider the environment before printing this email
The details of this company are as follows:
G4S Technology Limited, Registered Office: Challenge House, International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338.
This communication may contain information which is confidential, personal and/or privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited.
Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them.
Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity.
This e-mail has been scanned for all viruses by MessageLabs.
_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120116/8288b03f/attachment-0001.html>
More information about the Monodroid
mailing list