contra icon indicating copy to clipboard operation
contra copied to clipboard

Something need to change in installContra.sh

Open Tyler-ytr opened this issue 3 years ago • 1 comments

Since "xbuild tool is deprecated and will be removed in future updates,use msbuild instead" and use "xbuild hula.sln" introduce an error and a warning, I think use "msbuild hula.sln" is better. Actully, I finally successfully compiled contra using "msbuild hula.sln".

The error when using the A command is as follows:

-----------------------
>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 6.12.0.122
Copyright (C) 2005-2013 Various Mono authors

Build started 3/16/2022 3:29:39 PM.
__________________________________________________
Project "/home/p4/contra/contra/hula.sln" (default target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "Debug|Any CPU".
        Target Build:
                Project "/home/p4/contra/contra/src/hula.fsproj" (default target(s)):
/home/p4/contra/contra/src/hula.fsproj:  warning : Target 'CoreResGen', not found in the project
                        Target PrepareForBuild:
                                Configuration: Release Platform: AnyCPU
                        Target RedirectTPReferenceToNewRedistributableLocation:
/usr/lib/mono/fsharp/Microsoft.FSharp.Targets: error : This Project references an obsolete TypeProvider: FSharp.Data.TypeProviders.dll, this was removed In Visual Studio 2019 16.7.0. Consider Switching to the NuGet package version: https://www.nuget.org/packages/FSharp.Data.TypeProviders.
                        Task "Error" execution -- FAILED
                        Done building target "RedirectTPReferenceToNewRedistributableLocation" in project "/home/p4/contra/contra/src/hula.fsproj".-- FAILED
                Done building project "/home/p4/contra/contra/src/hula.fsproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project "/home/p4/contra/contra/hula.sln".-- FAILED
Done building project "/home/p4/contra/contra/hula.sln".-- FAILED

Build FAILED.

Warnings:

/home/p4/contra/contra/hula.sln (default targets) ->
(Build target) ->
/home/p4/contra/contra/src/hula.fsproj (default targets) ->

        /home/p4/contra/contra/src/hula.fsproj:  warning : Target 'CoreResGen', not found in the project

Errors:

/home/p4/contra/contra/hula.sln (default targets) ->
(Build target) ->
/home/p4/contra/contra/src/hula.fsproj (default targets) ->
/usr/lib/mono/fsharp/Microsoft.FSharp.Targets (RedirectTPReferenceToNewRedistributableLocation target) ->

        /usr/lib/mono/fsharp/Microsoft.FSharp.Targets: error : This Project references an obsolete TypeProvider: FSharp.Data.TypeProviders.dll, this was removed In Visual Studio 2019 16.7.0. Consider Switching to the NuGet package version: https://www.nuget.org/packages/FSharp.Data.TypeProviders.

         1 Warning(s)
         1 Error(s)

Time Elapsed 00:00:00.1985720
-------------------------

Tyler-ytr avatar Mar 16 '22 07:03 Tyler-ytr

Thank you so much for identifying this issue and finding the fix! We will try to address this based on your comments.

alex1230608 avatar Mar 24 '22 15:03 alex1230608