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

Add build dependency on reference assemblies for net451 builds #826

Merged
merged 2 commits into from
May 26, 2020

Conversation

cafour
Copy link
Contributor

@cafour cafour commented Apr 18, 2020

Make building on linux as simple as dotnet build with a build dependency on the reference assemblies. Based on dotnet/sdk#826.

There's no easy way to tell the dotnet CLI to not build net451 targets on linux so those builds might as well not fail.

Btw. @exyi How were you getting around this? With --framework netcoreapp*/netstandard*?

@exyi
Copy link
Member

exyi commented Apr 18, 2020

Very cool, I did not know this is possible. Yes, I was always using --framework netcoreapp when running the samples. I'll check tomorrow that it actually works and merge it :)

@exyi exyi self-requested a review April 18, 2020 20:50
Copy link
Member

@exyi exyi left a comment

Choose a reason for hiding this comment

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

Yes, it works :)

@quigamdev quigamdev merged commit 3bf7cce into master May 26, 2020
@cafour cafour deleted the linux-build branch July 24, 2020 10:47
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