I moved a project from vs 2015 to vs 2017 community edition.
This is a ASP.net core MVC project.
I encountered 2 errors. The first concerned the file Microsoft.NET.RuntimeIdentifierInference.targets and read as folows
I specified win10-x86 (the entry was blank when the error triggered. On rebuilt that error disapeared. (I also tried combinations of win7 x86 and x64)
I am encoutering a second error in program.cs when running the Kestrel host: host.run()
The error is as follows.
System.AggregateException occurred HResult=0x80131500 Message=One or more errors occurred. Source=mscorlib StackTrace: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelEngine.Start(Int32 count) at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext](IHttpApplication`1 application) at Microsoft.AspNetCore.Hosting.Internal.WebHost.Start() at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host, CancellationToken token, String shutdownMessage) at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host) at admin.iBreeder.com.Program.Main(String args) in C:\iBreeder\Dev\iBreeder-Admin\admin.iBreeder.com\Program.cs:line 26
Inner Exception 1: DllNotFoundException: Unable to load DLL 'libuv': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I have not been able to resolve this one.
I found some old pages on the web suggesting that the problem is with the target as in the first error and that the bug was resolved a year ago!
Can you help me?
Cannot build after debug session in IIS
Multiple temp files created for website
IIS Express launch profile not used