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

Lack of MSBuild inside the Mono6 package #95911

Open
DamienCassou opened this issue Aug 21, 2020 · 10 comments
Open

Lack of MSBuild inside the Mono6 package #95911

DamienCassou opened this issue Aug 21, 2020 · 10 comments

Comments

@DamienCassou
Copy link
Contributor

From what I understand (which is not much), the Mono 6 package is supposed to include MSBuild 16.0. Nevertheless, this doesn't seem to be the case in nixos-unstable. Is there a reason? Is there something we can do about that?

Notify maintainers

@jdanekrh

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.59, NixOS, 20.09.git.da7092f2755M (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.7`
 - channels(root): `""`
 - nixpkgs: `/home/cassou/Documents/projects/nix-system/nixpkgs`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@ericdallo
Copy link
Member

I have the same doubt, when using omnisharp, it says that can not find MSBuild from mono.

@ericdallo
Copy link
Member

Maybe @thoughtpolice , @obadz or @vrthra, the mono maintainers could help

@ericdallo
Copy link
Member

@DamienCassou I opened this PR that fixes it for Unity, I don't know if your problem is related, but you could try do the same I did there: #95911

@DamienCassou
Copy link
Contributor Author

@ericdallo From what I understand (which is not much) the msbuild package is only meant to build msbuilt itself: https://github.com/mono/msbuild/releases. I tried to use that to develop .Net applications with Rider, but this didn't work.

@ericdallo
Copy link
Member

Yes, the msbuild should only build msbuild with mono dependency, I opened a PR for omnisharp-rosly which depends on both msbuild and mono6.
Maybe your issue should be fixed if you build msbuild and mono6 on your nix

@stale
Copy link

stale bot commented Mar 21, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Mar 21, 2021
@ericdallo
Copy link
Member

I think this was fixed here, right?

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Mar 21, 2021
@DamienCassou
Copy link
Contributor Author

For me things still don't work. I tried building an environment with:

nix-shell -I nixpkgs=. -p msbuild mono6 dotnet-sdk_5

and then feeding the paths to msbuild, mono and dotnet to Jetbrains Rider but the latter sends me weird error messages. I don't have any problem when installing mono with Snap in a Fedora workstation.

@stale
Copy link

stale bot commented Sep 21, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Sep 21, 2021
@DamienCassou
Copy link
Contributor Author

I'm still interested in this issue. It is the only blocker to replace Fedora with NixOS.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants