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

Cannot Build Successfully #119

Closed
owengalenjones opened this issue Jan 27, 2014 · 5 comments
Closed

Cannot Build Successfully #119

owengalenjones opened this issue Jan 27, 2014 · 5 comments

Comments

@owengalenjones
Copy link

Trying to build the server I get 2 warnings and an Error I have no idea what to do with:

Mavericks 10.9.1

% mono --version                                                                                                                                     
Mono JIT compiler version 2.6.7 (tarball Tue Aug 24 16:33:27 MDT 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
    TLS:           normal
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       normal
    Notification:  Thread + polling
    Architecture:  x86
    Disabled:      none
% pwd                                                                                                                                                
/Users/owengalenjones/.vim/bundle/Omnisharp/server

% xbuild /p:Platform="Any CPU"                                                                                                                       
XBuild Engine Version 2.6.7.0
Mono, Version 2.6.7.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009.

Build started 1/27/2014 6:05:51 PM.
__________________________________________________
Project "/Users/owengalenjones/.vim/bundle/Omnisharp/server/OmniSharp.sln" (default target(s)):

    Target ValidateSolutionConfiguration:
        Building solution configuration "Debug|Any CPU".

    Target Build:
        Project "/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj" (default target(s)):

            Target _ValidateEssentialProperties:

            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU

            Target GetFrameworkPaths:
/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.0' not supported by this toolset (ToolsVersion: 4.0).

            Target SplitProjectReferencesByExistent:

            Target ResolveProjectReferences:

            Target ResolveAssemblyReferences:
/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.Common.targets:  warning : Reference 'Microsoft.CSharp' not resolved
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                For searchpath {PkgConfig}
                Considered Microsoft.CSharp, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered Microsoft.CSharp, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/Microsoft.CSharp' as a file, but the file does not exist
                For searchpath bin/Debug/
                Considered '/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/bin/Debug/Microsoft.CSharp' as a file, but the file does not exist
                Considered '/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/bin/Debug/Microsoft.CSharp.exe' as a file, but the file does not exist
                Considered '/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/bin/Debug/Microsoft.CSharp.dll' as a file, but the file does not exist

            Target CopyFilesMarkedCopyLocal:

            Target AssignTargetPaths:

            Target SplitResourcesByCulture:

            Target CreateManifestResourceNames:

            Target GenerateResources:

            Target GenerateSatelliteAssemblies:
            Skipping target "GenerateSatelliteAssemblies" because its outputs are up-to-date.

            Target CoreCompile:
                Tool /Library/Frameworks/Mono.framework/Versions/2.6.7/bin/dmcs execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/Microsoft.Build.Evaluation.dll Project.cs ProjectItem.cs Properties/AssemblyInfo.cs /target:library /define:DEBUG;TRACE /reference:/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll /reference:/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll /reference:/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll /reference:/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/gac/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll /reference:/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll /reference:/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll /warn:4
/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.CSharp.targets: error : Error executing tool '/Library/Frameworks/Mono.framework/Versions/2.6.7/bin/dmcs': ApplicationName='/Library/Frameworks/Mono.framework/Versions/2.6.7/bin/dmcs', CommandLine='/noconfig @/var/folders/sy/brpgds2j30l7b1hr3lr2rcb00000gn/T/tmp44248dd5.tmp', CurrentDirectory='/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation'
            Task "Csc" execution -- FAILED
            Done building target "CoreCompile" in project "/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj".-- FAILED

            Target _GetCompileOutputsForClean:

            Target _RecordCleanFile:

        Done building project "/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj".-- FAILED

    Task "MSBuild" execution -- FAILED
    Done building target "Build" in project "/Users/owengalenjones/.vim/bundle/Omnisharp/server/OmniSharp.sln".-- FAILED

Done building project "/Users/owengalenjones/.vim/bundle/Omnisharp/server/OmniSharp.sln".-- FAILED

Build FAILED.

Warnings:

/Users/owengalenjones/.vim/bundle/Omnisharp/server/OmniSharp.sln (default targets) ->
(Build target) ->
/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj (default targets) ->
/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.Common.targets (GetFrameworkPaths target) ->

    /Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.0' not supported by this toolset (ToolsVersion: 4.0).

/Users/owengalenjones/.vim/bundle/Omnisharp/server/OmniSharp.sln (default targets) ->
(Build target) ->
/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj (default targets) ->
/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

    /Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.Common.targets:  warning : Reference 'Microsoft.CSharp' not resolved

Errors:

/Users/owengalenjones/.vim/bundle/Omnisharp/server/OmniSharp.sln (default targets) ->
(Build target) ->
/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj (default targets) ->
/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.CSharp.targets (CoreCompile target) ->

    /Library/Frameworks/Mono.framework/Versions/2.6.7/lib/mono/3.5/Microsoft.CSharp.targets: error : Error executing tool '/Library/Frameworks/Mono.framework/Versions/2.6.7/bin/dmcs': ApplicationName='/Library/Frameworks/Mono.framework/Versions/2.6.7/bin/dmcs', CommandLine='/noconfig @/var/folders/sy/brpgds2j30l7b1hr3lr2rcb00000gn/T/tmp44248dd5.tmp', CurrentDirectory='/Users/owengalenjones/.vim/bundle/Omnisharp/server/Microsoft.Build.Evaluation'

     2 Warning(s)
     1 Error(s)

Time Elapsed 00:00:00.3984270

Thanks for any assistance!

@owengalenjones
Copy link
Author

Fixed it myself a second after, tried updating Mac's installed Mono from 2.6.7 -> 3.2.4, looks like it did the trick.

@nosami
Copy link
Contributor

nosami commented Jan 28, 2014

Great! I have no idea what the minimum required version of mono is, though
I do know it runs on 2.10.8.1 as that is the version that the tests get ran
on https://travis-ci.org/nosami/OmniSharpServer

On Mon, Jan 27, 2014 at 11:33 PM, Owen Galen Jones <notifications@github.com

wrote:

Fixed it myself a second after, tried updating Mac's installed Mono from
2.6.7 -> 3.2.4, looks like it did the trick.

Reply to this email directly or view it on GitHubhttps://github.com//issues/119#issuecomment-33436093
.

@PaulJuliusMartinez
Copy link

I just went through installing Omnisharp on Mavericks as well and ran into similar issues. I had just installed Mono, so I had version 3.4.0, but after installing Mono 3.2.8 I was able to install it successfully (albeit with a few warnings).

@nosami
Copy link
Contributor

nosami commented Jun 18, 2014

@PaulJuliusMartinez I'm using Mono 3.6.1 now successfully. Were you using homebrew by any chance? See OmniSharp/omnisharp-server#80

@PaulJuliusMartinez
Copy link

Ah, indeed I was using the homebrew version. Thanks for the tip!

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

No branches or pull requests

3 participants