I've been converting one of my personal projects to use MVVM Light (VS2017 and Windows Template Studio) and when I use the await-able version of the above call, the app "locks up
This works with the MVVM template:
double _lat = 55.680495;
double _lon = 12.259956;
var _WeatherforeCast = _weatherClient.GetForecast(QueryType.GPS, new QueryOptions() { Language = "DK", Latitude = _lat.ToString(), Longitude = _lon.ToString() });
This doesn't work with the MVVM template (but works with my "normal" code-behind project)
double _lat = 55.680495;
double _lon = 12.259956;
var _WeatherforeCast = await _weatherClient.GetForecastAsync(QueryType.GPS, new QueryOptions() { Language = "DK", Latitude = _lat.ToString(), Longitude = _lon.ToString() });
Any ideas as to what I need to look for?
Thanks,
Bjarne
Hi there,
I've been converting one of my personal projects to use MVVM Light (VS2017 and Windows Template Studio) and when I use the await-able version of the above call, the app "locks up
This works with the MVVM template:
This doesn't work with the MVVM template (but works with my "normal" code-behind project)
Any ideas as to what I need to look for? Thanks, Bjarne