Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building the 8.0 project using MSBuild fails #85

Open
libreliodev opened this issue Sep 3, 2014 · 1 comment
Open

Building the 8.0 project using MSBuild fails #85

libreliodev opened this issue Sep 3, 2014 · 1 comment
Labels

Comments

@libreliodev
Copy link
Owner

@dd1804 We are trying to build the 8.0 project using MSBuild.

The command we are using is

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /t:Build /p:Configuration=Release /p:Platform=x86 /p:VisualStudioVersion=12.0 /p:VCTargetsPath="C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120" /m

However, when doing so, we get the following error

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Pla
   tform.targets(64,5): error MSB8020: The build tools for Windows 8 (Platf
   orm Toolset = 'v110') cannot be found. To build using the v110 build too
   ls, please install Windows 8 build tools.  Alternatively, you may upgrad
   e to the current Visual Studio tools by selecting the Project menu or ri
   ght-click the solution, and then selecting "Upgrade Solution...".

Can you please let us know:

  • should we install the Windows 8 build Tools or upgrade the Solution?
  • and by the way, do we still really need the 8.0 version of the project, or is the 8.1 version enough?
@libreliodev
Copy link
Owner Author

@dd1804

Thank you for suggesting to use

C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe /t:Build /p:Configuration=Release /p:Platform=x86 /p:VisualStudioVersion=12.0 /p:VCTargetsPath="C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120" /m

It works. However, we now have the following error message when trying to build the 8.0 version:

       "C:\Users\[]\Downloads\windows8\LibrelioApplication\Windows8.0\LibrelioMagazine\LibrelioMagazine.csproj"
(Build target) (1) ->
       (XamlPreCompile target) ->
         c:\Users\[]\Downloads\windows8\LibrelioApplication\Windows8.0\src\DownloadManager.cs(80,41): error CS15
02: The best overloaded method match for 'System.Net.Http.HttpClient.GetAsync(string)' has some invalid arguments [C:\U
sers\[]\Downloads\windows8\LibrelioApplication\Windows8.0\LibrelioMagazine\LibrelioMagazine.csproj]
         c:\Users\[]\Downloads\windows8\LibrelioApplication\Windows8.0\src\DownloadManager.cs(80,57): error CS15
03: Argument 1: cannot convert from 'LibrelioApplication.LibrelioUrl' to 'string' [C:\Users\[]\Downloads\windows
8\LibrelioApplication\Windows8.0\LibrelioMagazine\LibrelioMagazine.csproj]
         c:\Users\[]\Downloads\windows8\LibrelioApplication\Windows8.0\src\MagazineManager.cs(334,6): error CS01
03: The name 'httpClient' does not exist in the current context [C:\Users\[]\Downloads\windows8\LibrelioApplicat
ion\Windows8.0\LibrelioMagazine\LibrelioMagazine.csproj]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant