c# - VS2015 Community ASP.NET5 Dependency injection and azure publish errors after UWP update -


until had working asp.net 5 mvc webapi project. worked locally , able push azure cloud (publish option). week ago started work on universal windows app rasberry pi 3 - installed necessary package (visual studio tools universal windows apps) couple more updates gallery (new version asp.net , web tools probably). when got working on webapi project i've noticed warnings:

dotnet1015 'compilationoptions' option deprecated. use 'buildoptions' instead.

dotnet1015 'exclude' option deprecated. use 'exclude' within 'compile' or 'embed' instead.

dotnet1015 'publishexclude' option deprecated. use 'publishoptions' instead.

in project.json file must have changed after updates. project build passes when start locally on debug , iis express get:

an unhandled exception of type 'system.invalidoperationexception' occurred in microsoft.extensions.dependencyinjection.abstractions.dll

additional information: no service type 'microsoft.extensions.platformabstractions.iapplicationenvironment' has been registered.

and when try tu push azure errors in language (polish) metabase problems , wrong format of paths eg. lm/w3svc//root/

my project.json file: http://pastebin.pl/view/f823f093

vs info: http://pastebin.pl/view/86bae236

i try clean , rebuild solution, restore packages else. can except of uninstalling vs , instaling 1 more time?

complete uninstall of vs 2015 comunity , clean install of aspnet5.enu.rc1_update1_kb3137909 did trick me. problematic update https://visualstudiogallery.msdn.microsoft.com/c94a02e9-f2e9-4bad-a952-a63a967e3935?src=vside


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -