UWP Build issue
Hi, whenever I build for UWP I get the below-listed errors. They are most probably from the unity purchasing plugin because when I remove it, the errors disappear.
Is that plugin working on UWP ? How should it be set up?
1(it's truncated):
Reference Rewriter found some errors while running with command --target="Temp\StagingArea\Stores.dll"
2:
Reference rewriter: Error: type
System.Console
doesn't exist in target framework. It is referenced from Stores.dll at System.Void UnityEngine.Purchasing.AppleStoreImpl::OnProductsRetrieved(System.String). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:989) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:211) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
3:
Reference rewriter: Error: method System.Void System.Console::WriteLine(System.String,System.Object)
doesn't exist in target framework. It is referenced from Stores.dll at System.Void UnityEngine.Purchasing.AppleStoreImpl::OnProductsRetrieved(System.String). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:989) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:211) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Is there any other solution than removing the purchasing module?
Your answer
Follow this Question
Related Questions
Exporting VS project with `resw` resource files 0 Answers
Null Reference Error only in build game 0 Answers
Xcode build error .. 0 Answers
Audio mixer effects doesn't work on HTML build 0 Answers
Unity Windows Store build problems 1 Answer