The localization parameter is not always passed into ResolveLink even when it is available. Our project utilises the DD4T REST provider, which requires that the publication/localization is available. I have created a pull request (https://github.com/sdl/dxa-web-application-dotnet/pull/11) with a fix