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

Cross Plaform #113

Open
matthewblott opened this issue Nov 16, 2018 · 7 comments
Open

Cross Plaform #113

matthewblott opened this issue Nov 16, 2018 · 7 comments

Comments

@matthewblott
Copy link

matthewblott commented Nov 16, 2018

I'm not sure if this is an issue or a feature request. I installed R4Mvc.Tools on macOS and get the following error when I run the r4mvc command.

Sorry, this tol is only available on Windows based platforms at this time.

I noticed this comment in issue #1 it says there's a dependency on MSBuild which wasn't cross platform at the time (but it is now). I work on macOS and deploy to Linux. So should R4Mvc.Tools work on non Windows platforms or is this something that still requires work?

Thanks :-)

@artiomchi
Copy link
Member

Hi Matthew,

Unfortunately this is still the case.
While the dotnet compiler is cross platform, they don't have a simple way to programatically load a project in your own code and compile/analyse it.

Currently this is done using the Microsoft.CodeAnalysis.Workspaces.MSBuild package, which is compiled against .NET 4.6, instead of .NET standard. There's a discussion about this on the roslyn project here: dotnet/roslyn#17974

I've tried using Buildayzer earlier this year, and have had some issues with it, but I might try it again this month, and see if I get any success with it.

@matthewblott
Copy link
Author

Thanks for the response @artiomchi :-)

@matthewblott
Copy link
Author

@artiomchi did you get any further success trying Buildayzer again?

@vborioni-onit
Copy link

Hi,
what do we need to make it run other than on windows ?
I see that Microsoft.CodeAnalysis.Workspaces.MSBuild is compiled for netframework and netcore app since version 3, is it enough ?

@valeriob
Copy link
Contributor

Hi @artiomchi do you think you can give some updated feedback on the subject ?

@valeriob
Copy link
Contributor

Hi @artiomchi i just tested it in linux and it works, it just needs to remove the constraint :D can you pls help me with that ?
I tested with a custom build of r4mvc.tool targeting netcoreapp3.1

image

@valeriob
Copy link
Contributor

hi @artiomchi i hope you are all right, would you mind to give me an hand on this topic ? i think it will just work, but i do not know how the boilerplate to run the tool works :(

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

4 participants