Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

dotnet new mvc => publish -f netcoreapp2.0 => run fails with MvcPrecompilation error. #142

Closed
NTaylorMullen opened this issue Jun 13, 2017 · 3 comments
Assignees

Comments

@NTaylorMullen
Copy link
Contributor

This looks to be due to how the default templates utilize the ViewCompilation package. This does work for desktop framework however.

@NTaylorMullen
Copy link
Contributor Author

NTaylorMullen commented Jun 13, 2017

/cc @muratg @Eilon @mikeharder

@NTaylorMullen
Copy link
Contributor Author

Issue here is how the precompilation package is structured and the relation to the cli package store. Working on a fix and assuming this is preview2 (will send emails).

NTaylorMullen added a commit that referenced this issue Jun 13, 2017
- By default the netcoreapp2.0 runtime targets wil not be chosen. This is intended to ensure runtime targets do not fallback to net461 when targeting netcoreapp2.0.

#142
NTaylorMullen added a commit that referenced this issue Jun 14, 2017
- By default the netcoreapp2.0 runtime targets wil not be chosen. This is intended to ensure runtime targets do not fallback to net461 when targeting netcoreapp2.0.

#142
@NTaylorMullen
Copy link
Contributor Author

4b1f5f2

@NTaylorMullen NTaylorMullen added this to the 2.0.0-preview2 milestone Jun 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant