I've got a strange error on deploying a newly-constructed solution and initial test application.
The solution builds OK, and gets a long way down deployment, before I get a dialog box saying: /There was an error building and deploying your application, see exception for more details./ Clicking the 'details' link gives a futher dialog box with a full stack trace (which I'll list below) but the top line is: /System.IO.FileNotFoundException: Could not find file 'C:\p4\AutoForms\Universal\Mobile\Droid\Universal.Mobile.Droid\DAO\Ultralite\bin\Debug\'./ The strange thing is the above directory exists, and has the files I'd expect in it. I've checked the permissions on the directory, and they look fine. I've successfully built and deployed applications with all the components of this solution before. Anyone seen this or got some ideas? Thanks, James Full error message: /System.IO.FileNotFoundException: Could not find file 'C:\p4\AutoForms\Universal\Mobile\Droid\Universal.Mobile.Droid\DAO\Ultralite\bin\Debug\'. File name: 'C:\p4\AutoForms\Universal\Mobile\Droid\Universal.Mobile.Droid\DAO\Ultralite\bin\Debug\' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.get_Length() at Mono.AndroidTools.Adb.AdbSyncFile..ctor(FileInfo sourceFile, String remoteName, AdbSyncAction action) at Mono.AndroidTools.Adb.AdbSyncFile..ctor(String sourceFile, String remoteName, AdbSyncAction action) at Xamarin.AndroidTools.AndroidDeploySession.<InstallAssemblies>b__0(String a) at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at Mono.AndroidTools.Adb.AdbSyncDirectory.AddRange(IEnumerable`1 entries) at Xamarin.AndroidTools.AndroidDeploySession.InstallAssemblies(List`1 assemblies, String destinationPath, CancellationToken token) at Xamarin.AndroidTools.AndroidDeploySession.FastDev() at Xamarin.AndroidTools.AndroidDeploySession.Start(CancellationToken token) at Mono.Android.VisualStudio.MonoAndroidDeploySession.DeployApplication(AndroidDevice device, CancellationToken token) at Mono.Android.VisualStudio.MonoAndroidDeploySession.OnDeploy()/ Final lines of output on build: /Waiting for device.. Removing any previous version.. Copying application to device... Getting installation path... ========== Build: 6 succeeded or up-to-date, 0 failed, 0 skipped ========== ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========/ Note that the error occurs at the /Getting installation path.../ stage. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-1-Could-not-find-file-bin-debug-on-deploy-tp5709844.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
