Comments (7)
Check your references, it's super important that your app reference the platform specific version. Crack open your csproj file and make sure you're not grabbing the PCL by mistake
from splat.
Just rebuilt everything, cleared out my package cache, etc... Still crashes with the above error. My Core .csproj contains:
<Reference Include="Splat">
<HintPath>..\packages\Splat.1.3.3\lib\Portable-net45+win+wpa81+wp80\Splat.dll</HintPath>
</Reference>
(...)
<Reference Include="Akavache">
<HintPath>..\packages\akavache.core.4.0.1\lib\Portable-Net45+Win8+WP8+Wpa81\Akavache.dll</HintPath>
</Reference>
<Reference Include="Akavache.Sqlite3">
<HintPath>..\packages\akavache.sqlite3.4.0.1\lib\Portable-Net45+Win8+WP8+Wpa81\Akavache.Sqlite3.dll</HintPath>
</Reference>
And my iOS project contains
<Reference Include="Splat, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Splat.1.3.3\lib\monotouch\Splat.dll</HintPath>
</Reference>
(...)
<Reference Include="Akavache, Version=4.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\akavache.core.4.0.1\lib\MonoTouch\Akavache.dll</HintPath>
</Reference>
<Reference Include="Akavache.Sqlite3, Version=4.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\akavache.sqlite3.4.0.1\lib\Portable-Net45+Win8+WP8+Wpa81\Akavache.Sqlite3.dll</HintPath>
</Reference>
They initially mis-matched but I fixed that (Core had 1.4.1, I changed it to match 1.3.3) and it still crashes (also tried setting both to 1.4.1)
from splat.
I think I know what's happening, I'll put up a new release today
from splat.
Thank you for the help
from splat.
Can you try updating to 1.4.2.1 and see if it works for you?
from splat.
The assembly load problem is now gone! Thanks for the update. I'll test a bit more and post a new issue if I find anything. The latest Xamarin beta just broke some other stuff I need to fix up before I can test more carefully 😀
from splat.
@RocketPop Great! Turns out the bait and switch trick doesn't actually work when you screw up the assembly version :)
from splat.
Related Issues (20)
- [BUG] Splat.Microsoft.Extensions.DependencyInjection causes System.InvalidOperationException: Call from invalid thread HOT 16
- [Bug]: Router randomly stops showing views on navigation HOT 9
- [BUG] When i upgrade Splat from 11.1.1 to 13.1.10 there has an exception HOT 2
- [BUG] Potential problem with branch information in Contributing document HOT 2
- Strong names for dlls HOT 3
- [BUG] In Splat/Splat.csproj, TFM in Itemgroup's Condition seems to be unreachable compared to TFM in TargetFrameworks HOT 10
- [BUG] BitmapLoader throws InvalidOperationException when loading from network stream HOT 2
- housekeeping: vs2022 go live CI changes HOT 2
- [BUG] Project targeting net5.0 won't build with Splat.Drawing installed HOT 3
- PlatformModeDetector.InDesignMode() not working in WPF designer for nested UserControls
- Drop net 5 support HOT 2
- How to Use Splat.DI.SourceGenerator HOT 7
- Update Splat.Autofac README HOT 2
- [BUG] DryIoc resolves Views upon registration HOT 8
- [BUG] Getting dependency from DryIoC container creates dependency object twice HOT 8
- [BUG] RegisterPlatformBitmapLoader doesnt register with framework net6.0-windows HOT 1
- [BUG] Registered Func cant be resolved
- [BUG] System.MissingFieldException HOT 3
- Default Test and Run mode HOT 8
- Optimise DefaultPlatformModeDetector on csproj sdk platforms
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splat.