Skip to content

Fix powershell commands - #5037

Merged
natemcmaster merged 1 commit into
releasefrom
namc/uwp-commands
Apr 12, 2016
Merged

natemcmaster merged 1 commit into
releasefrom
namc/uwp-commands

Conversation

@natemcmaster

Copy link
Copy Markdown
Contributor

Fix #5032 and #5036

Depends on #5021

cc @bricelam @divega


protected virtual IServiceCollection ConfigureHostServices([NotNull] IServiceCollection services)
{
if (_aspnetHosting)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@natemcmaster and I talked about this and we are going to attempt an approach that should avoid leaking this flag to the public surface. Assuming it works it is still just an RC2 only workaround, but would have less impact.

@natemcmaster

Copy link
Copy Markdown
Contributor Author

@divega updated. This relies on #5021. To see changes relative only to this PR, see 5524dca.

@divega

divega commented Apr 11, 2016

Copy link
Copy Markdown
Contributor

I think the comment you had in the previous iteration as well as a TODO comments there and on the DesignTimeEnvironment when we had a more optimal implementation would be good.

Other than that :shipit:

@natemcmaster natemcmaster changed the title Fix powershell commands in UWP projects Fix powershell commands Apr 12, 2016
@natemcmaster

Copy link
Copy Markdown
Contributor Author

Updated and rebased off latest UWP cross compiling change.

⌚ will merge this after CI passes #5021

// in Package Manager Console which does not support C# 6.
//
// CAUTION / CAUTION /CAUTION

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lol, silly R#, I wrote it that way for a reason....

@bricelam

Copy link
Copy Markdown
Contributor

:shipit:

@bricelam

Copy link
Copy Markdown
Contributor

Any reason we don't want to just cross compile hosting abstractions to netcore50? At least until the .NET Standard delivers on its promise?

@natemcmaster

Copy link
Copy Markdown
Contributor Author

I'm avoiding cross compiling hosting since that has a deep dependency chain that spreads. Since we don't need aspnet hosting on UWP, I figured minimize cross-compiling.

@natemcmaster
natemcmaster merged commit 2f59672 into release Apr 12, 2016
@natemcmaster
natemcmaster deleted the namc/uwp-commands branch April 12, 2016 23:59
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.

4 participants