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

xbuild on Ubuntu fails #16

Open
staspika opened this issue Jun 18, 2023 · 2 comments
Open

xbuild on Ubuntu fails #16

staspika opened this issue Jun 18, 2023 · 2 comments

Comments

@staspika
Copy link

Attempting to build using xbuild on Ubuntu results in the following error:

OBKDeviceAPI.cs(125,61): error CS0012: The type System.Configuration.ConfigurationSection' is defined in an assembly that is not referenced. Consider adding a reference to assembly System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Any ideas how to make it build successfully?

@LazyGatto
Copy link

Try msbuild instead.

sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-roslyn mono-complete mono-dbg msbuild

@jacobefaust
Copy link

@LazyGatto ! Your solution worked for me! Thank you for posting this!

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

3 participants