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

Exception on Mono on Mac System.Net.Http #1

Open
dominickm opened this issue Mar 8, 2018 · 1 comment
Open

Exception on Mono on Mac System.Net.Http #1

dominickm opened this issue Mar 8, 2018 · 1 comment

Comments

@dominickm
Copy link

I tried to run the solution provided in Visual Studio for Mac. I don't think that it works anymore. My steps to reproduce are to run the application and send a "test" message in the bot-emulator.

I appreciate the detailed lab and just wanted to know if there's now an additional step required to get this working on macOS. Details below and Thanks!

Details{
"message": "An error has occurred.",
"exceptionMessage": "Value does not fall within the expected range.",
"exceptionType": "System.ArgumentException",
"stackTrace": " at System.Net.Http.Headers.Parser+Token.Check (System.String s) [0x00019] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System.Net.Http/System.Net.Http.Headers/Parser.cs:57 \n at System.Net.Http.Headers.ProductHeaderValue..ctor (System.String name, System.String version) [0x0000a] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System.Net.Http/System.Net.Http.Headers/ProductHeaderValue.cs:45

@liliankasem
Copy link
Owner

Hey, sucks that this workaround for bots on VS Mac stopped working.

It looks like this is still an open issue (https://github.com/dotnet/corefx/issues/19914). I'm not sure there is anything I can do to fix that within this project, but something in the dotnet issue might work for you.

Also, as the bot framework documentation pointed out "The Bot Builder SDK for .NET currently supports C#. Visual Studio for Mac is not supported." So this was a bit of a long shot anyway.

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