I've done a CLEAN ALL, I've reset the simulator, but I can't explain why I get the following: (see the 'Resolved pending breakpoint' line, and the 'Could not insert')
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll [External]
Loaded assembly: /Users/drisszouak/Projects/ZenVelopes/ZenVelopes/bin/iPhoneSimulator/Debug/ZenVelopes.exe
Resolved pending breakpoint at 'EnvelopeViewController.xib.cs:76' to Void ZenVelopes.EnvelopeViewController:HandleBtnNewEnvelopeClicked ():0.
Could not insert pending breakpoint at 'EnvelopeViewController.xib.cs:69'. Perhaps the source line does not contain any statements, or the source does not correspond to the current binary.
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Data.Sqlite.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Data.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Transactions.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll [External]
The code on line 69 and 76 are valid code, and are event handlers for toolbar buttons. Then when I click on one of the buttons, I get a null reference exception.
Related
I'm trying to use project.json to make managing packages easier in a Service Fabric project.
However it is failing and I think it is due to not including ServiceFabricServiceModel.dll in the services. I can see the dll in the nuget packages in C:\Users\nick.nuget\packages\Microsoft.ServiceFabric.Actors\2.0.135\lib\net45, but the nuspec file does not reference it.
There are quite a few errors when trying to deploy.
For example
Exception thrown during async task execution
System.IO.FileNotFoundException: Could not load file or assembly 'ServiceFabricServiceModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'ServiceFabricServiceModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Microsoft.ServiceFabric.Services.Common.FabricServiceConfigSection.Initialize()
at Microsoft.ServiceFabric.Services.Remoting.FabricTransport.FabricTransportServiceRemotingProviderAttribute.CreateServiceRemotingListener(ServiceContext serviceContext, IService service)
at Microsoft.ServiceFabric.Services.Runtime.StatefulServiceReplicaAdapter.<OpenCommunicationListenersAsync>d__1b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ServiceFabric.Services.Runtime.StatefulServiceReplicaAdapter.<System.Fabric.IStatefulServiceReplica.ChangeRoleAsync>d__5.MoveNext()
=== Pre-bind state information ===
LOG: DisplayName = ServiceFabricServiceModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/SfDevCluster/Data/_App/_Node_1/SceneSkopePlatformType_App0/ServiceRegistrationServicePkg.Code.1.1.13 (2016-04-05 16.10.16Z)/
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.ServiceFabric.Services, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\SfDevCluster\Data\_App\_Node_1\SceneSkopePlatformType_App0\ServiceRegistrationServicePkg.Code.1.1.13 (2016-04-05 16.10.16Z)\ServiceRegistrationService.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: ServiceFabricServiceModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
This is a breaking change how dotnet cli handles not listed assemblies in nuget packages. For "old style" projects VS2015 copies this assembly to the project output, but the dotnet cli does not.
Until it's fixed, you can either wrap the assembly or copy it to the output in a postpublish step.
The assembly is downloaded to:
%userprofile%.nuget\packages\Microsoft.ServiceFabric.Services\2.0.135\lib\net45
MSFT solved this in the latest nuget package version 2.1.150
My website is running on Azure with ImageResizer, AzureReader2 and DiskCache turned on. When I edit and deploy changes to the live website I get 400 Bad request errors on the website. If I disable AzureReader2 in Web.config the pages show up perfectly but obviously with the images missing. When I enable AzureReader2 the pages that I browsed earlier with AzureReader2 turned off work perfectly with the images being resized as expected, however the pages that weren't browsed give me a 400 Bad request. I've searched for a good day and a half for a solution but I haven't found anything that addresses this problem. Any idea on how I could resolve this for good would be awesome! Thanks.
Here's the test website: http://iwktest.azurewebsites.net/
Here's my diagnostics page:
Image resizer diagnostic sheet 6/23/2015 11:16:33 AM
0 Issues detected:
You are using plugins from the Performance Edition: DiskCache (Performance Edition), AzureReader2Plugin (Performance Edition)
Registered plugins:
ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.SizeLimiting
ImageResizer.Plugins.DiskCache.DiskCache
ImageResizer.Plugins.AzureReader2.AzureReader2Plugin
Configuration:
<resizer>
<pipeline fakeExtensions=".ashx" />
<plugins>
<add name="DiskCache" />
<add name="AzureReader2" connectionString="[redacted]" endpoint="http://iwkimages.blob.core.windows.net/" prefix="~/" />
</plugins>
</resizer>
Accepted querystring keys:
quality, format, thumbnail, maxwidth, maxheight, width, height, w, h, scale, stretch, crop, cropxunits, cropyunits, page, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, ignoreicc, frame, useresizingpipeline, cache, process, margin, anchor, dpi, mode, zoom,
Accepted file extensions:
bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi,
Environment information:
Running Microsoft-IIS/8.0 on Microsoft Windows NT 6.2.9200.0 and CLR 4.0.30319.36213
Trust level: Unrestricted
OS bitness: x86 !! Warning, running as 32-bit on a 64-bit OS(AMD64). This will limit ram usage !!
Executing assembly: D:\Windows\SysWOW64\inetsrv\w3wp.exe
IntegratedPipeline: True
Loaded assemblies:
mscorlib Assembly: 4.0.0.0 File: 4.0.30319.36213 Info: 4.0.30319.36213
System.Web Assembly: 4.0.0.0 File: 4.0.30319.36283 Info: 4.0.30319.36283
System Assembly: 4.0.0.0 File: 4.0.30319.34239 Info: 4.0.30319.34239
System.Core Assembly: 4.0.0.0 File: 4.0.30319.36213 Info: 4.0.30319.36213
System.Web.ApplicationServices Assembly: 4.0.0.0 File: 4.0.30319.34248 Info: 4.0.30319.34248
System.Configuration Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Xml Assembly: 4.0.0.0 File: 4.0.30319.36241 Info: 4.0.30319.36241
System.Runtime.Caching Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.Build.Utilities.v4.0 Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.Web.Compilation.Snapshots Assembly: 1.0.0.0 File: 1.1.0.0
Microsoft.JScript Assembly: 10.0.0.0 File: 11.0.50709.17929 Info: 11.0.50709.17929
EnvSettings Assembly: 1.0.0.0 File: 46.0.8598.1007 Info: 46.0.8598.1007 (rd_websites_stable.150620-0845)
System.Web.WebPages.Deployment Assembly: 1.0.0.0 File: 1.0.20105.407
App_Code.tneplgwm Assembly: 0.0.0.0
System.Data Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
App_global.asax.wwlyy9nh Assembly: 0.0.0.0
System.Web.Extensions Assembly: 4.0.0.0 File: 4.0.30319.34248 Info: 4.0.30319.34248
System.ServiceModel.Activation Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
Microsoft.CSharp Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.Services Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Drawing Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.EnterpriseServices Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.IdentityModel Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
System.Runtime.Serialization Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
System.ServiceModel Assembly: 4.0.0.0 File: 4.0.30319.36241 Info: 4.0.30319.36241
System.ServiceModel.Web Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Activities Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
System.ServiceModel.Activities Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.WorkflowServices Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Data.DataSetExtensions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xml.Linq Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ComponentModel.DataAnnotations Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.DynamicData Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
ASPnetPagerV2_8 Assembly: 2.8.3227.25225 File: 2.8.0.0
Hyak.Common Assembly: 1.0.0.0 File: 1.0.2.0
ImageResizer Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
ImageResizer.Plugins.AzureReader Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
ImageResizer.Plugins.AzureReader2 Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
ImageResizer.Plugins.DiskCache Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
Microsoft.Azure.Common Assembly: 2.0.0.0 File: 2.1.0.0
Microsoft.Azure.Common.NetFramework Assembly: 2.0.0.0 File: 2.1.0.0
Microsoft.Azure.KeyVault.Core Assembly: 0.9.0.0 File: 0.9.1.0
Microsoft.Azure.Management.Sql Assembly: 0.9.0.0 File: 0.29.0.0
Microsoft.Data.Edm Assembly: 5.6.2.0 File: 5.6.2.61936 Info: 5.6.2.61936
Microsoft.Data.OData Assembly: 5.6.2.0 File: 5.6.2.61936 Info: 5.6.2.61936
Microsoft.Data.Services.Client Assembly: 5.6.2.0 File: 5.6.2.61936 Info: 5.6.2.61936
Microsoft.Threading.Tasks Assembly: 1.0.12.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Threading.Tasks.Extensions.Desktop Assembly: 1.0.168.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Threading.Tasks.Extensions Assembly: 1.0.12.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.WindowsAzure.Configuration Assembly: 2.0.0.0 File: 2.0.2.0
Microsoft.WindowsAzure.Storage Assembly: 2.1.0.3 File: 2.1.0.3
Microsoft.WindowsAzure.StorageClient Assembly: 1.7.0.0 File: 6.0.6002.18488
Newtonsoft.Json Assembly: 6.0.0.0 File: 6.0.8.18111
System.IO Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Net.Http Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Net.Http.Extensions Assembly: 2.2.22.0 File: 2.2.22.0 Info: 2.2.22.0
System.Net.Http.Primitives Assembly: 2.2.22.0 File: 2.2.22.0 Info: 2.2.22.0
System.Net.Http.WebRequest Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Runtime Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Spatial Assembly: 5.6.2.0 File: 5.6.2.61936 Info: 5.6.2.61936
System.Threading.Tasks Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Net Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Transactions Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.ServiceModel.Internals Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
Microsoft.WindowsAzure.ServiceRuntime Assembly: 2.6.0.0 File: 2.6.1198.712 Info: 2.6.1198.712 (rd_art_stable.150223-1353)
msshrtmi Assembly: 2.6.0.0
Microsoft.WindowsAzure.WebSites.Diagnostics Assembly: 1.0.0.0 File: 46.0.8598.1007 Info: 46.0.8598.1007 (rd_websites_stable.150620-0845)
Microsoft.Azure.Websites.StorageSdk Assembly: 4.1.0.0 File: 4.1.0.0
System.Web.RegularExpressions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
SMDiagnostics Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
System.Xaml.Hosting Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xaml Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
App_Web_3ugoikon Assembly: 0.0.0.0
App_Web_hb2au1pk Assembly: 0.0.0.0
App_Web_g5nsnuqc Assembly: 0.0.0.0
App_Web_dzoq4fux Assembly: 0.0.0.0
App_Web_wikwjgud Assembly: 0.0.0.0
App_Web_jpawolt0 Assembly: 0.0.0.0
App_Web_i1ekkccj Assembly: 0.0.0.0
App_Web_xk1ukx11 Assembly: 0.0.0.0
App_Web_iciotjon Assembly: 0.0.0.0
App_Web_io0d5en1 Assembly: 0.0.0.0
System.Web.Mobile Assembly: 4.0.0.0 File: 4.0.30319.34248 Info: 4.0.30319.34248
App_Web_fldm00ds Assembly: 0.0.0.0
App_Web_jmu24pv1 Assembly: 0.0.0.0
System.Data.Services.Client Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
The following plugin assemblies are loaded but do not seem to be in use. You should remove them (and especially their dependencies (unless used elsewhere)) from the /bin folder to improve application load times:
ImageResizer.Plugins.AzureReader Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
Reference list of plugin dependencies - so you know what additional dlls to remove when removing a plugin. (may not be up-to-date, see plugin docs):
The FreeImage plugin has the following dependencies: FreeImage.dll and FreeImageNET.dll
The Logging plugin depends on: NLog.dll
The AdvancedFilters, RedEye, and WhitespaceTrimmer plugins depend on: AForge.dll, AForge.Math.dll, and AForge.Imaging.dll
The PsdReader and PsdComposer plugins depend on: PsdFile.dll
The S3Reader plugin depends on: LitS3.dll
The BatchZipper plugin depends on: Ionic.Zip.Reduced.dll
The PdfRenderer plugin depends on gsdll32.dll or gdsll32.dll
The RedEye plugin depends on several dozen files... see the plugin docs.
This is a glimpse of the web.config file
<plugins>
<!-- For Image resizer image caching -->
<add name="DiskCache" />
<!-- Azure Blob reader -->
<add name="AzureReader2" connectionString="DefaultEndpointsProtocol=https;AccountName=iwkimages;AccountKey=******" endpoint="http://iwkimages.blob.core.windows.net/" prefix="~/" />
</plugins>
This error means that Microsoft.WindowsAzure.StorageClient 1.7.0.0 is producing invalid requests to the Azure server. You should upgrade to a version 2.1 or higher, as older Azure libraries are no longer supported by Microsoft.
I am implementing azure service bus functionality into a clients asp.net webforms solution.
a worker role polls the bus periodically for new messages, and a web role is defined for the existing webforms app, which is responsible for adding putting messages on the bus queue.
Whenever i try to run the app locally i get an error due to the Microsoft.ServiceBus assembly being a mismatch from the expected...
System.IO.FileLoadException was unhandled
HResult=-2146234304
Message=Could not load file or assembly 'Microsoft.ServiceBus, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source=Azure.EnquiryWorker
FileName=Microsoft.ServiceBus, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
FusionLog==== Pre-bind state information ===
LOG: User = *Omitted*
LOG: DisplayName = Microsoft.ServiceBus, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/Users/*path omitted*/*project name omitted*/csx/Debug/roles/Azure.EnquiryWorker/approot
LOG: Initial PrivatePath = C:\Users\*path omitted*/*project name omitted*\csx\Debug\roles\Azure.EnquiryWorker\approot
Calling assembly : Azure.EnquiryWorker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\*path omitted*/*project name omitted*\csx\Debug\roles\Azure.EnquiryWorker\approot\Azure.EnquiryWorker.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.ServiceBus, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///C:/Users/*path omitted*/*project name omitted*/csx/Debug/roles/Azure.EnquiryWorker/approot/Microsoft.ServiceBus.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
StackTrace:
at Azure.EnquiryWorker.WorkerRole.OnStart()
at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.InitializeRoleInternal(RoleType roleTypeEnum)
at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.InitializeRole(RoleType roleType)
at Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.<InitializeRole>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
The webforms app has the serviceBus dll in the bin folder (which is added as an indirect reference, as the service bus code resides in a library project).
The GAC contains no servicebus assemblies, my projects are all referencing v2 of the servicebus dll, and are set to CopyLocal.
This problem conveniently went away when i updated the Azure ServiceBus Nuget package to version 2.1.
To help debug this can you confirm on your local machine if you have Microsoft.ServiceBus.dll in the GAC? Also check if that version is different from what you have referenced in the project.
It seems like your project does not have the DLL, or a correct version of it. Build the applicaiton and look in the /bin folder. If you find the DLL (Microsoft.ServiceBus.dll), check the version and make sure it matches (Version=2.0.0.0). If you can't find it, it might be in your Global Assembly Cache.
If this doesn't help you, try:
1. Set copylocal = true in your reference properties so that the DLL is copied into your output directory.
2. Use nuget package manager to link to the Microsoft.Servicebus dll. It usually solves a lot of similar problems.
I wrote a mvvmcross touch sample app, basically a rip of the CustomerManagement tutorial.
I have one customer in my CustomersListViewModel.
When I run the app I get the following error in the output (look at the end of this post).
If I load a bunch of unrequired plugins in my setup class, the error goes away. Could this be a timing issue?
You can find the code for the project at https://github.com/patbonecrusher/MvxTableViewSampleApp.git
Starting iOS simulator 6.1
Launching application
Application launched. PID = 95621
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.dll [External]
Thread started: #2
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvxBindingTableTest/bin/iPhoneSimulator/Debug/MvxBindingTableTest.exe
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross- Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.MvvmCross.Touch.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.MvvmCross.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.MvvmCross.Dialog.Touch.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.CrossCore.Touch.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.CrossCore.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.MvvmCross.Binding.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.MvvmCross.Binding.Touch.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvxBindingTableTest.Core/bin/Debug/MvxBindingTableTest.Core.dll
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/CrossUI.Touch.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/CrossUI.Core.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.MvvmCross.Plugins.File.dll [External]
Loaded assembly: /Volumes/dagon/Users/pat/Projects/learning-sandbox/MvxBindingTableTest/MvvmCross-Binaries/XS-iOS-Mac/bin/Release/Mvx/Touch/Cirrious.MvvmCross.Plugins.ResourceLoader.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Security.dll [External]
Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll [External]
2013-05-14 10:47:47.266 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.00 Setup: PlatformServices start
2013-05-14 10:47:47.277 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.05 Setup: Bootstrap actions
2013-05-14 10:47:47.287 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.06 Setup: StringToTypeParser start
2013-05-14 10:47:47.291 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.06 Setup: ViewModelFramework start
2013-05-14 10:47:47.293 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.06 Setup: PluginManagerFramework start
2013-05-14 10:47:47.295 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.07 Setup: App start
2013-05-14 10:47:47.296 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.07 Setup: ViewModelTypeFinder start
2013-05-14 10:47:47.297 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.07 Setup: ViewsContainer start
2013-05-14 10:47:47.299 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.07 Setup: ViewDispatcher start
2013-05-14 10:47:47.299 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.07 Setup: Views start
2013-05-14 10:47:47.311 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.08 Setup: CommandCollectionBuilder start
2013-05-14 10:47:47.312 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.08 Setup: NavigationSerializer start
2013-05-14 10:47:47.313 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.08 Setup: LastChance start
2013-05-14 10:47:47.326 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.10 Setup: Secondary end
2013-05-14 10:47:47.327 MvxBindingTableTest[95621:c07] mvx: Diagnostic: 0.10 Showing ViewModel CustomerListViewModel
2013-05-14 10:47:47.330 MvxBindingTableTest[95621:c07] TouchNavigation: Diagnostic: 0.10 Navigate requested
2013-05-14 10:47:47.405 MvxBindingTableTest[95621:c07] MvxBind: Error: 0.18 MvxBind
Thanks for the full error log and for the github repro.
The blank trace error message is confusing me...
But I'm guessing that this error is caused by the fact that our standard table view cell wrapper creates an imageloader by default - see https://github.com/slodge/MvvmCross/blob/v3/Cirrious/Cirrious.MvvmCross.Binding.Touch/Views/MvxStandardTableViewCell.cs#L57
I'm guessing that the trace is somehow coming from https://github.com/slodge/MvvmCross/blob/v3/Cirrious/Cirrious.MvvmCross.Binding/Views/MvxBaseImageViewLoader.cs#L30
This imageloader uses the DownloadCache plugin which in turn uses the File plugin. (It further needs a text serializer like the JSON plugin if you want it to persist images on disk more permanently).
If you don't want images in your app - so don't want those plugins - then it doesn't look like you can avoid this problem and continue using the standard cell without changing the source.
If you wanted to workaround this problem:
1 you could create your own Standard Table cell wrapper (based on https://github.com/slodge/MvvmCross/blob/v3/Cirrious/Cirrious.MvvmCross.Binding.Touch/Views/MvxStandardTableViewCell.cs#L57)
2 you could use create a custom cell.
3 you could register a dummy/empty service to satisfy IMvxImageHelper<UIImage> - this would work but I don't really like it as a solution.
If you think this is a serious problem we should provide a core fix for, please do log it as an issue on github/slodge/mvvmcross.
In real apps I don't tend to use the Standard cells and I also tend to always need the downloadcache and file plugin - so I don't personally come across this as a common problem in my work.
I've already seen some posts about my problem, but no solution...
My application needs to load a dll written by me, when I try to run it on Windows 7 it goes, but on XP it crashes.
So I tried to install VS2010 on XP and compiling there, it compiles correctly, but when i debug it throws System.IO.FileNotFoundException, because it "can't" load my dll (Could not load file or assembly 'Graphic.dll'), so it seems that can't find my dll, how can it be possible?
p.s: dll (managed class library) and exe are written in c++ and use .net framework 4
Fusion log 1: Assembly Binder Log Entry(09/04/2012 # 11.52.42)
The operation was successful. Bind result: hr = 0x0. The operation
completed successfully.
Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll Running under
executable C:\Documents and Settings\Administrator\My
Documents\Visual Studio 2010\Projects\MyProgram\Debug\MyProgram.exe A
detailed error log follows.
LOG: EXE explicit bind. File path:C:\Documents and
Settings\Administrator\My Documents\Visual Studio
2010\Projects\MyProgram\Debug\MyProgram.exe.
Fusion log 2:
Assembly Binder Log Entry (09/04/2012 # 11.52.42) The operation was
successful. Bind result: hr = 0x0. The operation completed
successfully.
Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll Running under
executable C:\Documents and Settings\Administrator\My
Documents\Visual Studio 2010\Projects\MyProgram\Debug\MyProgram.exe A
detailed error log follows.
Pre-bind state information LOG: User = CASH-F32CDFF50A\Administrator
LOG: DisplayName = System.Windows.Forms, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 (Fully-specified)
LOG: Appbase = file:///C:/Documents and Settings/Administrator/My
Documents/Visual Studio 2010/Projects/MyProgram/Debug/ LOG: Initial
PrivatePath = NULL LOG: Dynamic Base = NULL LOG: Cache Base = NULL
LOG: AppName = MyProgram.exe Calling assembly : MyProgram,
Version=1.0.4482.18830, Culture=neutral, PublicKeyToken=null.
LOG: This bind starts in default load context. LOG: No application
configuration file found. LOG: Using host configuration file: LOG:
Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: System.Windows.Forms, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 LOG: Reusing an
assembly instance that was previously loaded
(C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll).