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

Build fails with "Error: Field 'System.Net.ExceptionHelper.WebPermissionUnrestricted' not found" #1494

Closed
oreodave opened this issue May 13, 2019 · 3 comments
Labels

Comments

@oreodave
Copy link

I was building using 'build.sh' and I encountered this error after downloading nuget and a few packages. A log file is attached to this, excerpt below.

Downloading NuGet...
Feeds used:
  /home/oreodave/.nuget/packages/
  https://api.nuget.org/v3/index.json
  https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
  https://dotnet.myget.org/F/dotnet-cli/api/v3/index.json
  https://www.myget.org/F/omnisharp/api/v3/index.json
  https://dotnet.myget.org/F/roslyn/api/v3/index.json

....
Adding package 'SQLitePCLRaw.provider.e_sqlite3.net45.1.1.2' to folder '/home/oreodave/bin/omnisharp-roslyn/tools'
Added package 'SQLitePCLRaw.provider.e_sqlite3.net45.1.1.2' to folder '/home/oreodave/bin/omnisharp-roslyn/tools'
Restoring NuGet package xunit.runner.console.2.4.0.
Adding package 'xunit.runner.console.2.4.0' to folder '/home/oreodave/bin/omnisharp-roslyn/tools'
Added package 'xunit.runner.console.2.4.0' to folder '/home/oreodave/bin/omnisharp-roslyn/tools'
Error: Field 'System.Net.ExceptionHelper.WebPermissionUnrestricted' not found.

File
System details:
Ubuntu 18.04.2 LTS 64 bit
ZSH Shell
Dotnet 2.2.203

@unlimitedcoder2
Copy link

I am also having the same issue

@filipw filipw added the build label Jun 4, 2019
@filipw
Copy link
Member

filipw commented Jun 4, 2019

which version of Mono do you have on your machine? Please try updating to the latest Mono https://www.mono-project.com/download/stable/

@filipw
Copy link
Member

filipw commented Sep 26, 2019

This error happens if you are on old version of Mono Error: Field 'System.Net.ExceptionHelper.WebPermissionUnrestricted' not found.

That said, building on Ubuntu 18.04 is currently not supported (see #1202 )

@filipw filipw closed this as completed Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants