[Mono-bugs] [Bug 638972] New: .mdb file from class library project is not copied to output directory
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Sep 13 12:54:10 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=638972
https://bugzilla.novell.com/show_bug.cgi?id=638972#c0
Summary: .mdb file from class library project is not copied to
output directory
Classification: Mono
Product: MonoDroid
Version: SVN
Platform: x86
OS/Version: Windows 7
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Class Libraries
AssignedTo: mkestner at novell.com
ReportedBy: saml at itrgroupinc.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9)
Gecko/20100824 Firefox/3.6.9
Building a MonoDroid application with a class library referenced yields a
'"monodroid.exe" exited with code 1.' message. The stack trace says that the
mdb file is missing from the application's output directory, which is
accurate, but it does exist in the class library's output directory. This leads
me to believe that the library's .mdb file isn't being copied with the dll.
Reproducible: Always
Steps to Reproduce:
1. Reference a MonoDroid class library from a MonoDroid Application
2. Have code in the application that uses code from the library
3. Build the application
Actual Results:
The following messages from the build:
"monodroid.exe" exited with code 1.
C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets 208
C:\Program Files\Microsoft Visual Studio
10.0\\Common7\IDE\Extensions\Novell\MonoDroid for Visual
Studio\1.0.7947\bin\monodroid.exe -v --nosign
--sdk-dir="C:\android-sdk-windows"
--builddir="C:\Projects\MonoDroidPlayground\obj\Debug\android"
--framework-dir="C:\Program Files\Reference
Assemblies\Microsoft\Framework\MonoDroid\v2.0"
-S="C:\Projects\MonoDroidPlayground\obj\Debug\res"
--package="MonoDroidPlayground.MonoDroidPlayground" --debug
--manifest-template="C:\Projects\MonoDroidPlayground\Properties\AndroidManifest.xml"
"C:\Projects\MonoDroidPlayground\bin\Debug\MonoDroidPlayground.dll"
monodroid: System.IO.FileNotFoundException: Could not find file
'C:\Projects\MonoDroidPlayground\bin\Debug\Library.MD.dll.mdb'.
File name:
'C:\Projects\iFactrNextGen\MonoDroidPlayground\bin\Debug\Library.MD.dll.mdb'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share)
at Monodroid.ApkBuilder.CreateApkFile(String target, IEnumerable`1
assemblies)
at Monodroid.Toolbox.InvokeApkbuilder(String target, List`1 assemblies)
at Monodroid.Droidinator.CreateApk()
at Monodroid.MainClass.Main(String[] argv)
C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(208,2): error
MSB6006: "monodroid.exe" exited with code 1.
Expected Results:
Successful build.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list