Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

React to breaking changes in Microsoft.AspNetCore.App #836

Merged
merged 4 commits into from
Nov 16, 2018

Conversation

natemcmaster
Copy link
Contributor

@natemcmaster natemcmaster commented Nov 16, 2018

WIP until dotnet/aspnetcore#4004 merges and has a build available.

Changes:

  • Add packages references for EF Core, when necessary
  • Add packages references for SpaServices to Spa templates
  • Remove PackageReference to Microsoft.AspNetCore.App altogether

Resolves dotnet/aspnetcore#3612

cc @dsplaisted

* Add packages references for EF Core, when necessary
* Add packages references for SpaServices to Spa templates
* Remove PackageReference to Microsoft.AspNetCore.App altogether
@natemcmaster
Copy link
Contributor Author

natemcmaster commented Nov 16, 2018

cc @ajcvickers you may be interested too, since most of this was about adding PackageRefs for EFCore

@natemcmaster natemcmaster changed the title wip: React to breaking changes in Microsoft.AspNetCore.App React to breaking changes in Microsoft.AspNetCore.App Nov 16, 2018
@natemcmaster
Copy link
Contributor Author

🆙 📅 tests are passing with the latest build of aspnetcore.

Copy link
Contributor

@ryanbrandenburg ryanbrandenburg left a comment

Choose a reason for hiding this comment

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

I assume you have a good answer for my question, I'd just like to hear it.

@@ -12,7 +12,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess I'm confused about under what circumstances we need a FrameworkReference? Why do we need it in RazorClassLibrary but not here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The current plan of record is that Microsoft.NET.Sdk.Web implies a FrameworkReference to aspnetcore. RazorClassLibrary doesn't use the websdk, it uses Microsoft.NET.Sdk.Razor

@natemcmaster natemcmaster merged commit 514fcdc into master Nov 16, 2018
@natemcmaster natemcmaster deleted the namc/fx-reaction branch November 16, 2018 18:09
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants