windows universal 10 app build error -Reference Rewriter found some errors while running with command --target="Temp\StagingArea\Assembly-CSharp-firstpass.dll" --additionalreferences="Temp\StagingArea"
I got 3 errors when i tried to build windows Universal 10.i am using Unity 5.3.2. Google analytics plugin is included in this project.second error is related to this plugin.Please help me to find the problem.I already spent oneday for this . I downloaded assembly - csharp - first pass.dll and put it in system32 and wow64 folder in side the windows.But it didnt work .Pls give me solution...
1: Reference Rewriter found some errors while running with command --target="Temp\StagingArea\Assembly-CSharp-firstpass.dll" --additionalreferences="Temp\StagingArea","C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Facade","C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.FoundationContract\1.0.0.0","C:\Program Files (x86)\Windows
2:Reference rewriter: Error: type System.Globalization.CultureTypes
doesn't exist in target framework. It is referenced from Assembly-CSharp-firstpass.dll at System.Void GoogleAnalyticsMPV3::InitializeTracker(). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:581) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:123) UnityEditor.HostView:OnGUI()
3:
Reference rewriter: Error: method System.Globalization.CultureInfo[] System.Globalization.CultureInfo::GetCultures(System.Globalization.CultureTypes)
doesn't exist in target framework. It is referenced from Assembly-CSharp-firstpass.dll at System.Void GoogleAnalyticsMPV3::InitializeTracker(). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:581) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:123) UnityEditor.HostView:OnGUI()
Reference rewriter: Error: type WinRTLegacy.Text.Encoding
doesn't exist in target framework. It is referenced from App42-Unity3D-SD$$anonymous$$-WinRT-4.0.1.dll at System.String com.shephertz.app42.paas.sdk.csharp.util.Base64::EncodeTo64(System.String). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:581) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:126) UnityEditor.HostView:OnGUI()
Reference rewriter: Error: type System.Collections.Specialized.IOrderedDictionary
doesn't exist in target framework. It is referenced from App42-Unity3D-SD$$anonymous$$-WinRT-4.0.1.dll at App42Json.IJsonWrapper. UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:581) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:126) UnityEditor.HostView:OnGUI()
Reference rewriter: Error: type System.IO.File$$anonymous$$ode
doesn't exist in target framework. It is referenced from App42-Unity3D-SD$$anonymous$$-WinRT-4.0.1.dll at System.Void com.shephertz.app42.paas.sdk.csharp.connection.RESTConnectorWWW::Execute$$anonymous$$ultipart(System.String,System.String,System.Collections.Generic.Dictionary`2 ,System.Collections.Generic.Dictionary`2,System.Collections.Generic.Dictionary`2 ,System.Collections.Generic.Dictionary`2,System.String,System.String,com.shephertz.app42.paas.sdk.csharp.App42CallBack). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:581) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:126) UnityEditor.HostView:OnGUI()
"unity version 5.4.2"
Your answer
Follow this Question
Related Questions
Random hard crash on start, both in Editor and in Windows standalone build. 1 Answer
PlayerPrefs.SetString creates a REG_BINARY instead of REG_SZ inside the registry 0 Answers
#if UNITY_EDITOR in .dll 1 Answer
Why does Unity 5 looks like Mac when it is installed on Windows? 0 Answers
windows Build Smartscreen Error 0 Answers