I was used flurry analytics for windows phone 8. They support it for windows phone 8.1. But when i try to build wp8.1 solution it fails. I have FlurryWP8SDK.dll in “Assets/Plugins/Metro/WindowsPhone81” folder and fake FlurryWP8SDK.dll and pdb files in “Assets/Plugins folder”. I’m using Unity 4.5.3f3. Building xaml C# solution without unity C# projects. SDK Phone 8.1. Please help
Visual Studio Output:
1>------ Rebuild All started: Project: Dots Out, Configuration: Master ARM ------
1> Скопировано файлов: 1.
1> UnityInstallationDir ‘E:\Development\Unity\Editor’
1> UnityProjectDir ‘E:\GIT\DotsOut\Unity’
1> Copying assemblies…
1> E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed\Assembly-CSharp.dll
1> E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed\Assembly-CSharp.pdb
1> E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed\UnityEngine.dll
1> E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed\UnityEngine.pdb
1> E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed\WinPlugin.dll
1> E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed\WinPlugin.pdb
1> E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed\WinRTLegacy.dll
1> Скопировано файлов: 7.
1> Running AssemblyConverter…
1> System.IO.FileNotFoundException: Assembly “Microsoft.Phone, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e” file not found.
1> в Unity.PlatformAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
1> в Unity.PlatformAssemblyResolver.Resolve(AssemblyNameReference name)
1> в Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
1> в Mono.Cecil.TypeReference.Resolve()
1> в Unity.AssemblyWrapper.AddType(TypeReference type)
1> в Unity.MetadataContainer.AddType(TypeReference type)
1> в Unity.AssemblyWrapper.GetCallableMethods(TypeWrapper typeWrapper, TypeDefinition type, Boolean publicOnly)
1> в Unity.AssemblyWrapper.AddType(TypeReference type)
1> в Unity.MetadataContainer.AddType(TypeReference type)
1> в Unity.GetTypesStep.Visit(TypeDefinition type)
1> в Unity.TypeDefinitionDispatcher.DispatchType(TypeDefinition type)
1> в Unity.TypeDefinitionDispatcher…ctor(ModuleDefinition module, ITypeDefinitionVisitor visitor)
1> в Unity.GetTypesStep.ProcessModule()
1> в Unity.ModuleStep.Execute()
1> в Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
1> в Unity.Operation.Execute()
1> в Unity.Program.Main(String[ ] args)
1> AssemblyConverter done.
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: The command "copy /Y “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Plugins\Metro\WindowsPhone81\FlurryWP8SDK.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.dll”
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: if exist “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.pdb” del “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.pdb”
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: if exist “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.dll.mdb” del “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.dll.mdb”
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: if exist “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Plugins\Metro\WindowsPhone81\FlurryWP8SDK.pdb” copy /Y “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Plugins\Metro\WindowsPhone81\FlurryWP8SDK.pdb” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.pdb”
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: echo UnityInstallationDir ‘E:\Development\Unity\Editor’
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: echo UnityProjectDir ‘E:\GIT\DotsOut\Unity’
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: echo Copying assemblies…
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: copy /Y “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed*” "E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out"
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: echo Running AssemblyConverter…
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: “E:\Development\Unity\Editor\Data\PlaybackEngines\MetroSupport\Tools\AssemblyConverter.exe” -platform=wp81 “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Assembly-CSharp.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\UnityEngine.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\WinPlugin.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\WinRTLegacy.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.dll”
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: echo AssemblyConverter done.
1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1130,5): error MSB3073: " exited with code 1.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Error 1 The command "copy /Y “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Plugins\Metro\WindowsPhone81\FlurryWP8SDK.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.dll”
if exist “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.pdb” del “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.pdb”
if exist “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.dll.mdb” del “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.dll.mdb”
if exist “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Plugins\Metro\WindowsPhone81\FlurryWP8SDK.pdb” copy /Y “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Plugins\Metro\WindowsPhone81\FlurryWP8SDK.pdb” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.pdb”
echo UnityInstallationDir ‘E:\Development\Unity\Editor’
echo UnityProjectDir ‘E:\GIT\DotsOut\Unity’
echo Copying assemblies…
copy /Y “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Unprocessed*” "E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out"
echo Running AssemblyConverter…
“E:\Development\Unity\Editor\Data\PlaybackEngines\MetroSupport\Tools\AssemblyConverter.exe” -platform=wp81 “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\Assembly-CSharp.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\UnityEngine.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\WinPlugin.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\WinRTLegacy.dll” “E:\GIT\BUILDS\DotsOut\WP8.1\Dots Out\FlurryWP8SDK.dll”
echo AssemblyConverter done.
" exited with code 1. Dots Out