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

Start building solution without VS #4661

Closed
wants to merge 1 commit into from
Closed

Start building solution without VS #4661

wants to merge 1 commit into from

Conversation

rstm-sf
Copy link
Contributor

@rstm-sf rstm-sf commented Sep 12, 2020

What does the pull request do?

Start building solution without VS

What is the current behavior?

In order to build a solution using Nuke, we need a pre-installed msbuild from VS

What is the updated/expected behavior with this PR?

Use msbuild from dotnet sdk

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Fixed issues

@rstm-sf rstm-sf marked this pull request as draft September 12, 2020 07:07

return null;
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
? RootDirectory / ".tmp" / "dotnet-win" / "sdk" / "3.1.401" / "MSBuild.dll"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to think about not hard-coding the version

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should be able to read global.json file here to find dotnet sdk version.

@kekekeks
Copy link
Member

MSBuild from .NET Core can't build Xamarin projects

@rstm-sf
Copy link
Contributor Author

rstm-sf commented Sep 12, 2020

@rstm-sf
Copy link
Contributor Author

rstm-sf commented Sep 12, 2020

Then it seems to me that it should be postponed

@rstm-sf rstm-sf closed this Sep 12, 2020
@rstm-sf rstm-sf mentioned this pull request Nov 24, 2021
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

Successfully merging this pull request may close these issues.

3 participants