Я получаю следующую ошибку, когда пытаюсь сделать простое приложение, используя ASP.NET 5 RC1. Пожалуйста, помогите мне в этом вопросе. Не уверен, где я делаю ошибку :(Пожалуйста, сделайте необходимое. Большое спасибо за вашу помощь заранее.Проблема с зависимостью от Microsoft.AspNet.IISPlatformHandler с Asp.Net5
{
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"
},
"dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final"
},
"exclude": [
"wwwroot",
"node_modules"
],
"frameworks": {
"dnx451": {
"dependencies": {
"Microsoft.AspNet.Mvc.Core": "6.0.0-rc1-final",
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final"
}
},
"dnxcore50": {
"dependencies": { }
}
},
"publishExclude": [
"**.user",
"**.vspscc"
],
"version": "1.0.0-*",
"webroot": "wwwroot"
}
Startup.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Framework.DependencyInjection;
namespace MVA5
{
public class Startup
{
// For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?LinkID=398940
public void ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection services)
{
services.AddMvc();
}
public void Configure(IApplicationBuilder app)
{
// Add the platform handler to the request pipeline.
app.UseIISPlatformHandler();
app.UseMvcWithDefaultRoute();
//app.Run(async (context) =>
//{
// await context.Response.WriteAsync("Hello World!");
//});
}
}
}
DNVM Список
Благодарим вас после перехода всех зависимостей в качестве общей зависимости, с которой она начала работать нормально. – user5555457