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

Porting Microsoft.Build to .NET Core #156

Merged
merged 6 commits into from
Aug 19, 2015

Conversation

dsplaisted
Copy link
Member

Progress towards getting Microsoft.Build to compile for .NET Core

@dnfclas
Copy link

dnfclas commented Aug 19, 2015

Hi @dsplaisted, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.

TTYL, DNFBOT;

// NOTE: This is safe to do because we have specified long-running so we get our own new thread.
string threadName = "RequestBuilder thread";

#if FEATURE_APARTMENT_STATE
if (Thread.CurrentThread.GetApartmentState() == ApartmentState.STA)
{
// NOTE: This is safe to do because the STA scheduler always gives us our own new thread.
Thread.CurrentThread.Name = "RequestBuilder STA thread";

Choose a reason for hiding this comment

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

Shouldn't this be threadName = "RequestBuilder STA thread";?

Copy link
Member Author

Choose a reason for hiding this comment

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

Shouldn't this be threadName = "RequestBuilder STA thread";?

Yes, good catch!

if (aCulture.LCID != bCulture.LCID)
{
return false;
}

return true;
#else
return CultureInfo?.Name == that.CultureInfo?.Name;
Copy link
Contributor

Choose a reason for hiding this comment

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

Guess we're going C# 6 now :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Unless anyone has any objections... :-)

@AndyGerlicher
Copy link
Contributor

LGTM

dsplaisted added a commit that referenced this pull request Aug 19, 2015
Porting Microsoft.Build to .NET Core
@dsplaisted dsplaisted merged commit d71468b into dotnet:xplat Aug 19, 2015
@ghost ghost mentioned this pull request Aug 21, 2015
radical added a commit to radical/msbuild that referenced this pull request Dec 4, 2019
[mono/master] Update from upstream master and update SDKs
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.

None yet

4 participants