Comments (9)
No idea, that seems weird, is there any reason in particular you're targeting 4.5.1?
from splat.
Hi Paul,
No particular reason for 4.5.1 - just using latest .NET framework for ease
of unit testing.
I'm also referencing Akavache... which has a Splat dependency too, in case
that's of any relevance
I'm just figuring out how Splat is supposed to work as the Splat 1.6
assembly in my unit test bin folder is (obviously) targeting .NET 4.5 and
does not have a System.Drawing namespace in it.
I guess this is as expected... but I'm a bit puzzled as to how my PCL code
is supposed to pick up the correct reference in this scenario... also I'm
wondering why it would be a MethodNotFound
exception as opposed to a TypeNotFound exception.... it kind of implies
that it found a System.Drawing.Color type, but just not the method.
Martin
On 15 January 2015 at 18:10, Paul Betts [email protected] wrote:
No idea, that seems weird, is there any reason in particular you're
targeting 4.5.1?—
Reply to this email directly or view it on GitHub
#89 (comment).
from splat.
@martinsmyllie What is the assembly version of the Splat in your PCL and the Splat in your unit test?
from splat.
The PCL is referencing Splat 1.6.0.0
The unit test assembly is also referencing Splat 1.6.0.0
and I've checked in my x86\Debug folder after building the unit tests and I have Splat 1.6 which when looked at with ildasm shows only types in the Splat namespace.
Also looking at the assembly manifest it contains the System Drawing redirects.
.class extern forwarder System.Drawing.Color
{
.assembly extern System.Drawing
}
from splat.
Actually having read the mainfest some more is the issue that the KnownColor enum is not forwarded.
Should the manifest have the following?
.class extern forwarder System.Drawing.KnownColor
{
.assembly extern System.Drawing
}
from splat.
Hi Paul,
I've pulled the source and tested out this theory, which is correct, and fixed it so everything is working now.
I've changed the code in my fork of the code and can Create a Pull Request if that's the right thing to do.
Thanks,
Martin
from splat.
@martinsmyllie Please do!
from splat.
Done
On 16 January 2015 at 17:57, Paul Betts [email protected] wrote:
@martinsmyllie https://github.com/martinsmyllie Please do!
—
Reply to this email directly or view it on GitHub
#89 (comment).
from splat.
Fixed by #90
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
- WPF, .net 8.0 and Splat latest version: IBitmap.ToNative, FromNative, SplatColor.ToNativeBrush and SplatColor.FromNativeColor not found by compiler. HOT 3
- Change the DI Microsoft to use KeyedServiceProvider insted of ContractDictionary HOT 1
- Dependency Dashboard
- Action Required: Fix Renovate Configuration HOT 1
- Housekeeping: Change MS MicrosoftDependencyResolver to require IKeyedServiceProvider in ctor HOT 2
- [BUG] Splat.Microsoft.Extensions.DependencyInjection never disposes the service locator HOT 1
- [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.