Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Why am I can't? [assembly:Dependency(typeof( ??)]

$
0
0

I see several people use this code, but in my code I can not make it work

[assembly: Dependency(typeof(Droid.Path.Config))]

namespace Droid.Path
{
public class Config : IConfig
{

Error

Severity Code Description Project File Line
Error CS7036 There is no argument given that corresponds to the required formal parameter 'loadHintArgument' of 'DependencyAttribute.DependencyAttribute(string, LoadHint)' Droid.Path D:_DESENV\Droid\Path\Config.cs 10

Screenshoot with details and assemblies

http://i.imgur.com/LQKlspi.png

You can help me solve this problem.
I'm using on Visual Studio 2015

THANKS


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>