Stuart Lyon's Avatar

Stuart Lyon

21 Sep, 2015 03:19 PM

We have just upgraded our solution to a Windows 10 store app targeting UWP, now on the build server we get the below output with errors??? The environment I'm using is 'Visual Studio 2015' in the appveyor project.

Build started
git clone ......

$msiPath = "$($env:USERPROFILE)\MultilingualAppToolkit.msi"
(New-Object Net.WebClient).DownloadFile('http://download.microsoft.com/download/3/2/4/324B517B-F5A3-480A-AAE0-DDB522358E96/MultilingualAppToolkit.msi?amp;clcid=0x409', $msiPath)
cmd /c start /wait msiexec /i $msiPath /q

msbuild "Snapfish.sln" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets(89,5): error : The package CommonServiceLocator with version 1.3.0 could not be found in C:\Users\appveyor\.nuget\packages. Run a NuGet package restore to download the package. [C:\projects\snapwin\Mobile5\Mobile5.csproj]
          1 file(s) copied.
C:\Program Files (x86)\MSBuild\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.PriResources.targets(17,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Multilingual App Toolkit\v4.0\Microsoft.Multilingual.PriResources.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [C:\projects\snapwin\Snapfish.SDK\Snapfish.SDK.csproj]
Command exited with code 1

  1. Support Staff 1 Posted by Feodor Fitsner on 21 Sep, 2015 04:34 PM

    Feodor Fitsner's Avatar

    Try calling nuget restore before build.

  2. 2 Posted by Stuart Lyon on 22 Sep, 2015 09:51 AM

    Stuart Lyon's Avatar

    Calling nuget restore does get you a couple of steps ahead, but it looks like the multi lingual toolkit is not being installed properly as it still can't find those targets. When you move to UWP you have to target v4.0 of the multi lingual toolkit, which is currently in beta...it does work locally on my machine. any ideas?

  3. Support Staff 3 Posted by Feodor Fitsner on 22 Sep, 2015 01:39 PM

    Feodor Fitsner's Avatar

    OK, looks like you are installing previous version of toolkit, not the latest 4.0 beta one. For 4.0 beta download URL must be: https://visualstudiogallery.msdn.microsoft.com/6dab9154-a7e1-46e4-bbfa-18b5e81df520/file/143697/9/MultilingualAppToolkit.msi

    This is the download page: https://visualstudiogallery.msdn.microsoft.com/6dab9154-a7e1-46e4-bbfa-18b5e81df520

    - Feodor

  4. 4 Posted by Stuart Lyon on 22 Sep, 2015 03:48 PM

    Stuart Lyon's Avatar

    Great thanks a lot!! (:-

    Kind Regards


  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac