Skip to content

Instantly share code, notes, and snippets.

@FGtatsuro
Created July 6, 2013 15:44
Show Gist options
  • Save FGtatsuro/5940275 to your computer and use it in GitHub Desktop.
Save FGtatsuro/5940275 to your computer and use it in GitHub Desktop.
OmniSharp(on Mountain Lion)導入メモ ref: http://qiita.com/FGtatsuro/items/ff29b43fcc9cafaf1e4c
NeoBundleLazy 'nosami/Omnisharp', {
\ 'autoload': {'filetypes': ['cs']},
\ 'build': {
\ 'mac': 'xbuild server/OmniSharp.sln',
\ 'unix': 'xbuild server/OmniSharp.sln',
\ }
\ }
Not installed bundles: ['Omnisharp']
Install bundles now?
(y)es, [N]o: y
[neobundle/install] (1/1): |Omnisharp| git clone --depth 1 git://github.com/nosami/Omnisharp.git "/Users/tatsuro/.vim/bundle/Omnisharp"
[neobundle/install] (1/1): |Omnisharp| Updated
[neobundle/install] -> 6637145b31985a30fc746c62a854d28c3b77562c
[neobundle/install] Building...
XBuild Engine Version 2.6.5.0^@Mono, Version 2.6.5.0^@Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009.^@MSBUILD: error MSBUILD0000: Project file 'server/OmniSharp.sln' not found.
[neobundle/install] Installed/Updated bundles:
Omnisharp
Not installed bundles: ['Omnisharp']
Install bundles now?
(y)es, [N]o: y
[neobundle/install] (1/1): |Omnisharp| git clone --recursive git://github.com/nosami/Omnisharp.git "/Users/tatsuro/.vim/bundle/Omnisharp"
[neobundle/install] (1/1): |Omnisharp| Updated
[neobundle/install] |Omnisharp| -> 6637145b31985a30fc746c62a854d28c3b77562c
[neobundle/install] Building...
[neobundle/install] XBuild Engine Version 2.10.11.0
Mono, Version 2.10.11.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
$ vi ~/repos/Omnisharp/server/OmniSharp/OmniSharp.csproj
<PropertyGroup>
...
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
...
</PropertyGroup>
$ /Users/tatsuro/.vim/bundle/neobundle.vim% /Applications/Unity/Unity.app/Contents/Frameworks/Mono/bin/mono --version
Mono JIT compiler version 2.6.5 (tarball Mon May 27 21:28:32 CEST 2013)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: normal
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notification: Thread + polling
Architecture: x86
Disabled: none
$ vi /Applications/Unity/Unity.app/Contents/Frameworks/Mono/lib/mono/2.0/Microsoft.Common.targets
...
<GetFrameworkPath>
<Output Condition="'$(TargetFrameworkVersion)' == 'v3.5'"
TaskParameter="FrameworkVersion35Path"
ItemName="TargetFrameworkDirectories"/>
<Output Condition="'$(TargetFrameworkVersion)' == 'v3.0' or '$(TargetFrameworkVersion)' == 'v3.5'"
TaskParameter="FrameworkVersion30Path"
ItemName="TargetFrameworkDirectories"/>
<Output Condition="'$(TargetFrameworkVersion)' == 'v2.0' or '$(TargetFrameworkVersion)' == 'v3.0' or '$(TargetFrameworkVersion)' == 'v3.5'"
TaskParameter="FrameworkVersion20Path"
ItemName="TargetFrameworkDirectories"/>
</GetFrameworkPath>
...
$ /usr/bin/mono --version
Mono JIT compiler version 2.10.11 (mono-2-10/2baeee2 Wed Jan 16 16:40:16 EST 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: normal
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(2.9svn-mono)
GC: Included Boehm (with typed GC)
Error while reading monodoc file.System.ArgumentNullException: Argument cannot be null.
Parameter name: s
at System.IO.StringReader..ctor (System.String s) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StringReader:.ctor (string)
at Mono.Xml2.XmlTextReader..ctor (System.String xmlFragment, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader..ctor (System.String xmlFragment, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00000] in <filename unknown>:0
at Monodoc.RootTree.GetHelpXml (System.String id) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.TypeSystem.MonoDocDocumentationProvider.GetDocumentation (IEntity entity) [0x00000] in <filename unknown>:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment