Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unable to create build in Visual Studio 2013

Discussion in 'Windows' started by irfanSamuel, Jul 13, 2014.

  1. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    Hi,

    I've been working on my game and has successfully run it in Visual Studio 2013. But now when I import and try to run, its giving me this error.

    Error 1 The command "echo UnityInstallationDir 'C:\Program Files (x86)\Unity 4.5.0\Editor'
    echo UnityProjectDir 'E:\Unity\Retro Ball\Unity - Windows'
    echo Copying assemblies...
    copy /Y "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\Unprocessed\*" "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\"
    echo Running AssemblyConverter...
    "C:\Program Files (x86)\Unity 4.5.0\Editor\Data\PlaybackEngines\MetroSupport\Tools\AssemblyConverter.exe" -platform=wsa81 "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\\Assembly-CSharp-firstpass.dll" "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\\Assembly-CSharp.dll" "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\\IFacebook.dll" "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\\P31MetroEssentials.dll" "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\\P31MetroHelpers.dll" "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\\P31RestKit.dll" "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\\UnityEngine.dll" "E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\\WinRTLegacy.dll"
    echo AssemblyConverter done.
    " exited with code 1. RetroBall

    There is no log file created. Please help me.

    Thanks.
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
  3. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    I've downloaded Unity 4.5.2 and now I'm getting this error

    'Template.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\Template.exe'. Symbols loaded.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\system32\WinMetadata\Windows.UI.Xaml.winmd'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.InteropServices.WindowsRuntime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.InteropServices.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\system32\WinMetadata\Windows.ApplicationModel.winmd'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\UnityPlayer.winmd'. Module was built without symbols.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\P31MetroHelpers.DLL'. Symbols loaded.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.WindowsRuntime\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\WinRTBridge.winmd'. Cannot find or open the PDB file.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\BridgeInterface.winmd'. Module was built without symbols.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\system32\WinMetadata\Windows.UI.winmd'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Collections\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Threading.Tasks\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Threading.Tasks.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\system32\WinMetadata\Windows.Storage.winmd'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\system32\WinMetadata\Windows.Foundation.winmd'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Extensions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.InteropServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Threading\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Reflection\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Reflection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\UnityEngine.DLL'. Symbols loaded.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\UnityEngineProxy.DLL'. Cannot find or open the PDB file.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\Assembly-CSharp-firstpass.DLL'. Symbols loaded.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\Assembly-CSharp.DLL'. Symbols loaded.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\IFacebook.DLL'. Module was built without symbols.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\P31MetroEssentials.DLL'. Module was built without symbols.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'E:\Unity\Retro Ball\Unity Builds\Windows 8.1\RetroBall\bin\x86\Master\AppX\P31RestKit.DLL'. Symbols loaded.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Linq\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IO\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.IO.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    An unhandled exception of type 'System.IO.FileLoadException' occurred in UnityEngine.DLL
    Additional information: Could not load file or assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.DLL'. User canceled automatic symbol loading.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. User canceled automatic symbol loading.
    'Template.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. User canceled automatic symbol loading.
    The program '[3548] Template.exe' has exited with code -1 (0xffffffff).

    I'm using Prime Metro and Facebook SDK. I've tried building with no FB SDK and it's still the same :\
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
    What about empty project, does that work?

    The error -

    An unhandled exception of type 'System.IO.FileLoadException' occurred in UnityEngine.DLL
    Additional information: Could not load file or assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

    is a strange one, because UnityEngine.dll is not strongly named, it was made strongly-named at one point, but it was quickly reverted.
     
  5. Ullukai

    Ullukai

    Joined:
    Aug 24, 2010
    Posts:
    746
    i had that error too about the echo stuff but i was using windows 8 not 8.1...what i did was keep trying different settings when making the MSV project build...changed it from C++ to C# and then one of them worked after i ran the debug(F5) and it got a rid of the yellow reference warning signs one of which was the echo stuff... maybe that might help?
     
  6. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    well the problem was with the prime[31] metro .dll file. downloaded it from their website and it all worked fine. also had to remove facebook sdk from the project to make it work in visual studio. i hope these issues will be resolved by their respective plugin/sdk providers.