@ismcagdas : thank you, deactivating sourcemap helps and solves the problem partially. I can't debug TS files but builds are very fast. Hope this will be fixed for next releases (must be an angular cli bugg...)
It is the same time with or without HMR.
All my modules are rebuilt very fast, but when I changed something in the shared module (app/shared/common), it takes for every change arround 6 minutes to rebuild !
I have to find a solution, we can't work like that...
@alper, my current version is 6.0.4
As you can see here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1142">https://github.com/aspnetzero/aspnet-ze ... ssues/1142</a> I need to wait 6/7 min to build the entire project. Long time waiting at this step : 92% after chunk asset optimization SourceMapDevToolPlugin main.js generate SourceMap
I can't explain why but I resolve this issue by updating my project from v5.1 to latest zero version v5.5.2.
@Alper : thank you for your explanation. I tried removing all OnPlatform tags but still same issue. I lost 3 days digging on this issue. I've tried a lot of things : coming back to previous commits, deleting all solution folders, cloning the solution on different folder, on different computers, cleaning everything BIN & OBJ... and still same issue.
Right now, I'm trying to look at nuget packages and versions...
But, honestly Xamarin is really confusing. I'm wondering if I can use it for a large project ! I can't imagine loosing days of work searching on stackoverflow and xamarin forums.
I know you advice everybody about silly things thrown by Xamarin, but when you experiment it, it hurts ! :cry:
@ismcagdas : hi tried with a new fresh database using migrations. I still have same issue.
If server side is not running, then I have a popup saying that No Internet connection to server is existing. Normal behavior. But when starting server side, App is stopped with following System.InvalidCastException
07-01 08:42:42.962 D/Mono ( 6880): Found as 'java_interop_jnienv_throw'. An unhandled exception occured.
[0:] * Unhandled Exception *: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.
at (wrapper castclass) System.Object.__castclass_with_cache(object,intptr,intptr)
at Xamarin.Forms.OnPlatform1[T].op_Implicit (Xamarin.Forms.OnPlatform
1[T] onPlatform) [0x00036] in D:\agent_work\2\s\Xamarin.Forms.Core\OnPlatform.cs:71
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <f32579baafc1404fa37ba3ec1abdc0bd>:0
--- End of inner exception stack trace ---
at (wrapper dynamic-method) System.Object.79f518ee-155a-49e7-9fa1-0901474d0e7a(intptr,intptr,intptr)
07-01 08:42:45.390 E/mono-rt ( 6880): [ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.
07-01 08:42:45.390 E/mono-rt ( 6880): at (wrapper castclass) System.Object.__castclass_with_cache(object,intptr,intptr)
07-01 08:42:45.390 E/mono-rt ( 6880): at Xamarin.Forms.OnPlatform1[T].op_Implicit (Xamarin.Forms.OnPlatform
1[T] onPlatform) [0x00036] in D:\agent_work\2\s\Xamarin.Forms.Core\OnPlatform.cs:71
07-01 08:42:45.390 E/mono-rt ( 6880): at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
07-01 08:42:45.390 E/mono-rt ( 6880): at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <f32579baafc1404fa37ba3ec1abdc0bd>:0
07-01 08:42:45.390 E/mono-rt ( 6880): --- End of inner exception stack trace ---
07-01 08:42:45.390 E/mono-rt ( 6880): at (wrapper dynamic-method) System.Object.79f518ee-155a-49e7-9fa1-0901474d0e7a(intptr,intptr,intptr)
07-01 08:42:45.391 D/ ( 6880): HostConnection::get() New Host Connection established 0x8c6a2b00, tid 6880
Thank you Alper .
I've been trying to fix this issue from a while now. I have removed all bin and obj folders, cleaned up the solution and tested several times. I have upgraded my VS tooling I also tried from an other computer and I have same issue.
The problem cames from my current project only ! because I tried from a fresh aspnetzero template and everything works.
I'm getting some issues with my Xamarin app. I will test again and give you a feedback when I will have more information to provide.
I've got it to work ! By searching deeper in the forum I found this post : #4285@2d3b4b70-f5ba-479a-a513-f646cb0e780d
Accept-Encoding as gzip,deflate should be removed from AbpApiClient.
This could be added to the XAMARIN documentation.
Cheers
Yes, it worked for me and I'm using merged project