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

Mono *still* lacks support for stuff #201

Closed
acolomitchi opened this issue Aug 16, 2018 · 3 comments · Fixed by #217
Closed

Mono *still* lacks support for stuff #201

acolomitchi opened this issue Aug 16, 2018 · 3 comments · Fixed by #217

Comments

@acolomitchi
Copy link

acolomitchi commented Aug 16, 2018

See #157
Neither 4.1.0 nor 4.1.1 seem to include a fix for it.
Needs just the commenting out of the "offending" using, no bad effects otherwise.

/home/[snip]/development/Grapevine-4.1.1.0/src/Grapevine/Grapevine.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

	Server/RestServer.cs(12,60): error CS0426: The type name 'ExtendedProtectionSelector' does not exist in the type 'HttpListener

Extra:

# mono --version
Mono JIT compiler version 5.14.0.177 (tarball Sat Aug  4 08:32:47 UTC 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          yes(3.6.0svn-mono-/)
	GC:            sgen (concurrent by default)
@acolomitchi
Copy link
Author

In addition:

/home/[snip]/development/Grapevine-4.1.1.0/src/Grapevine/Grapevine.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

	Interfaces/Server/IHttpListener.cs(135,75): error CS1061: 'HttpListener' does not contain a definition for 'DefaultServiceNames' and no extension method 'DefaultServiceNames' accepting a first argument of type 'HttpListener' could be found (are you missing a using directive or an assembly reference?)

If you can live without, commenting out the lines gets the compilation to success.

@acolomitchi acolomitchi changed the title Mono *still* lacks support for ExtendedProtectionSelector Mono *still* lacks support for stuff Aug 16, 2018
@scottoffen
Copy link
Owner

scottoffen commented Dec 30, 2020

@acolomitchi I don't have ready access to Mono to test out issues like this. Is this still an issue in the current Grapevine 4? Also, would you be so kind as to check out Grapevine 5 (https://github.com/scottoffen/grapevine) and let me know if you see any Mono-related issues? It's still in beta, so if I can fix anything there before the release, that would be ideal.

@scottoffen
Copy link
Owner

scottoffen commented Jan 1, 2021

I see none of this in the beta for Grapevine 5, but it looks like some things are still left around in Grapevine 4. I'll clean those up and publish a new package.

scottoffen added a commit that referenced this issue Jan 1, 2021
* Fixes #201, removes unused using statements

* Fixed unit tests

* Removed obsolete items

* Reduced assemblies scanned for routes

* Removes unused using statements in test project
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

Successfully merging a pull request may close this issue.

2 participants