I have try to add App Center in my project. My project has structure :
I have add app center in project (CheckCrashComponent). Get Started with UWP
I call init in my project (TestAppCenter) like below :
it show error :
WinRT information: System.IO.FileNotFoundException: Could not load file or assembly
'Microsoft.AppCenter.Analytics, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I have search on goolge but not find solution . If you meet the problem like me , please show me what i wrong in this case .Thank you very much !!!
Please replace class method with static
method like below.
public static void InitAppCenter()
{
AppCenter.Start("11e4a636-6fa0-43b3-b2ee-dfde1f83axxxx", typeof(Analytics), typeof(Crashes));
}
Call Steps
TestAppCenterCore::CoreRuntime::InitAppCenter;