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

Microsoft.AspNetCore.Mvc.Dnx is required to allow Mvc in RC2 to work with Dnx #154

Open
pranavkm opened this issue Feb 28, 2016 · 1 comment

Comments

@pranavkm
Copy link
Contributor

As part of our recent migration, we broke compatibility with DNX in Mvc. This prevents controller and view component discovery from working correctly and view compilation to fail in our latest sources and packages on the aspnetcidev \ aspnetvnext feeds. To address this issue, we've published Microsoft.AspNetCore.Mvc.Dnx to https://www.myget.org/F/aspnetcidev feed that would allow Mvc to continue working with DNX until we've tooling support for dotnet-cli tools.

To use this package:

  1. Add the https://www.myget.org/F/aspnetcidev feed to your sources.
  2. Add Microsoft.AspNetCore.Mvc.Dnx to your project.json.
  3. In your startup under ConfigureServices add a call to AddMvcDnx:
public void ConfigureServices(IServiceCollection services)
{
            ...
            services.AddMvc();
            services.AddMvcDnx();
            ....
}
@pranavkm
Copy link
Contributor Author

Use aspnet/Mvc#4187 for further discussions.

@aspnet aspnet locked and limited conversation to collaborators Feb 28, 2016
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