Update NI script to mitigate coreclr(3.0) crash 09/205609/1 accepted/tizen/unified/20190508.115033 submit/tizen/20190508.111224
authorHyungju Lee <leee.lee@samsung.com>
Tue, 7 May 2019 23:44:37 +0000 (08:44 +0900)
committerHyungju Lee <leee.lee@samsung.com>
Tue, 7 May 2019 23:51:23 +0000 (08:51 +0900)
- Main cause is suopposedly runtime failure of Interop so file.
- Full NI finds so at AOTC time.
- Partial analysis: https://github.sec.samsung.net/dotnet/home/issues/300

Change-Id: I96db42389f303bdd7725cbc9433b1c7faef2e1c0

scripts/tv-dotnet-generate-ni.post [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 4d340ee..ccb2938
@@ -1,25 +1,36 @@
 #!/bin/sh
 echo "############### tv-dotnet-generate-ni.post ################"
+# Generate NI for dlls and exes under platform directories
+nitool --system
 
+
+
+
+
+##################################################################
+#                                                                #
+#                            Obsolute                            #
+#                                                                #
+##################################################################
 # Generate NI for System
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Collections.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.IO.FileSystem.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Linq.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Linq.Expressions.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.ObjectModel.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Private.DataContractSerialization.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Private.Uri.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Private.Xml.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Reflection.Metadata.dll
-nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Text.RegularExpressions.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Collections.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.IO.FileSystem.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Linq.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Linq.Expressions.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.ObjectModel.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Private.DataContractSerialization.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Private.Uri.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Private.Xml.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Reflection.Metadata.dll
+#nitool --dll /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/System.Text.RegularExpressions.dll
 # Generate NI for Xamarin and Device API
-nitool --dll /usr/share/dotnet.tizen/framework/ElmSharp.dll
-nitool --dll /usr/share/dotnet.tizen/framework/Tizen.dll
-nitool --dll /usr/share/dotnet.tizen/framework/Tizen.Applications.Common.dll
-nitool --dll /usr/share/dotnet.tizen/framework/Tizen.Applications.UI.dll
-nitool --dll /usr/share/dotnet.tizen/framework/Xamarin.Forms.Core.dll
-nitool --dll /usr/share/dotnet.tizen/framework/Xamarin.Forms.Platform.dll
-nitool --dll /usr/share/dotnet.tizen/framework/Xamarin.Forms.Platform.Tizen.dll
-nitool --dll /usr/share/dotnet.tizen/framework/Xamarin.Forms.Xaml.dll
+#nitool --dll /usr/share/dotnet.tizen/framework/ElmSharp.dll
+#nitool --dll /usr/share/dotnet.tizen/framework/Tizen.dll
+#nitool --dll /usr/share/dotnet.tizen/framework/Tizen.Applications.Common.dll
+#nitool --dll /usr/share/dotnet.tizen/framework/Tizen.Applications.UI.dll
+#nitool --dll /usr/share/dotnet.tizen/framework/Xamarin.Forms.Core.dll
+#nitool --dll /usr/share/dotnet.tizen/framework/Xamarin.Forms.Platform.dll
+#nitool --dll /usr/share/dotnet.tizen/framework/Xamarin.Forms.Platform.Tizen.dll
+#nitool --dll /usr/share/dotnet.tizen/framework/Xamarin.Forms.Xaml.dll
 # Generate Launcher
-nitool --dll /usr/bin/Tizen.Runtime.Coreclr.dll
+#nitool --dll /usr/bin/Tizen.Runtime.Coreclr.dll