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

Not working on mono #1

Closed
nosami opened this issue Dec 12, 2014 · 2 comments
Closed

Not working on mono #1

nosami opened this issue Dec 12, 2014 · 2 comments

Comments

@nosami
Copy link
Contributor

nosami commented Dec 12, 2014

jason@Jasons-MacBook-Pro ~/src/omnisharp-roslyn/src/OmniSharp (master) $ k omnisharp -s ~/src/KRuntime -p 2000
System.TypeLoadException: Could not load type 'Microsoft.CodeAnalysis.CodeGeneration.CodeGenerationArrayTypeSymbol' from assembly 'Microsoft.CodeAnalysis.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
  at (wrapper managed-to-native) System.MonoType:GetPropertiesByName (System.MonoType,string,System.Reflection.BindingFlags,bool,System.Type)
  at System.MonoType.GetProperties (BindingFlags bindingAttr) [0x00000] in <filename unknown>:0
  at System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperties (System.Type type) [0x00000] in <filename unknown>:0
  at System.Composition.TypedParts.Discovery.TypeInspector+<DiscoverPropertyExports>d__17.MoveNext () [0x00000] in <filename unknown>:0
  at System.Composition.TypedParts.Discovery.TypeInspector+<DiscoverExports>d__0.MoveNext () [0x00000] in <filename unknown>:0
  at System.Composition.TypedParts.Discovery.TypeInspector.InspectTypeForPart (System.Reflection.TypeInfo type, System.Composition.TypedParts.Discovery.DiscoveredPart& part) [0x00000] in <filename unknown>:0
  at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor (IEnumerable`1 types, System.Composition.Convention.AttributedModelProvider attributeContext) [0x00000] in <filename unknown>:0
  at System.Composition.Hosting.ContainerConfiguration.CreateContainer () [0x00000] in <filename unknown>:0
  at Microsoft.CodeAnalysis.Host.Mef.MefHostServices.Create (IEnumerable`1 assemblies) [0x00000] in <filename unknown>:0
  at Microsoft.CodeAnalysis.Host.Mef.MefHostServices.get_DefaultHost () [0x00000] in <filename unknown>:0
  at OmniSharp.OmnisharpWorkspace..ctor () [0x00000] in <filename unknown>:0
  at OmniSharp.Startup.ConfigureServices (IServiceCollection services) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
@davidfowl
Copy link
Member

You need to use KRE 1.0.0-beta1 for now.

@nosami
Copy link
Contributor Author

nosami commented Dec 14, 2014

This is fine for now... but will leave this open.

@nosami nosami closed this as completed Feb 8, 2015
troydai added a commit that referenced this issue Mar 6, 2016
troydai added a commit that referenced this issue Jun 3, 2016
DustinCampbell pushed a commit that referenced this issue Jul 2, 2016
filipw pushed a commit that referenced this issue May 31, 2019
added flow analysis from roslyn-analyzers repo
bjorkstromm pushed a commit that referenced this issue Dec 5, 2019
Exclude Cake files from line span mapping
Samirat added a commit to github/omnisharp-roslyn that referenced this issue May 21, 2020
Add test discovery request and NoBuild option for all test requests
filipw pushed a commit that referenced this issue Sep 28, 2020
Use text edit for main insert text
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

2 participants