Skip to content

Commit b1b5377

Browse files
committed
post
1 parent 60f56b9 commit b1b5377

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

aspnet-core/update-asp-net-core-web-app-to-netcoreapp1-1-project-loading-failure.html

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,22 @@ <h2>Blog</h2>
3232
<h1>Update ASP.NET Core web application to .NETCoreApp1.1 causes a project loading failure</h1>
3333
<p>If you are using Visual Studio 2017 RC to develop an ASP.NET Core web application, you maybe will have this stressful problem, which will unload your web application project after updating this project to target the framework <b>.NETCoreApp1.1</b>. This loading project will appear after rebuild your project, and close the Visual Studio 2017 RC instance (you can have some other little issues before closing your VS instance).</p>
3434
<p>When you will re-open your project with Visual Studio, your asp.net core web application will be not load and you will have this error message from visual studio :</p>
35-
<div class="pic_wrapper"><img src="/wwwroot/images/dotnet-core/update-asp-net-core-web-app-to-netcoreapp1-1-project-loading-failure.png" title="" /></div>
35+
<div class="pic_wrapper"><img src="/wwwroot/images/dotnet-core/update-asp-net-core-web-app-to-netcoreapp1-1-project-loading-failure.png" title="Update ASP.NET Core web application to .NETCoreApp1.1 causes a project loading failure" alt="Update ASP.NET Core web application to .NETCoreApp1.1 causes a project loading failure" /></div>
3636
<p>In the log file, you will have something like this :</p>
3737
<pre><code class="csharp">
38-
38+
=====================
39+
12/01/2017 13:16:45
40+
Recoverable
41+
System.AggregateException: One or several errors occured. ---> System.ArgumentNullException: The value cannot be null.
42+
Name of parameter : key
43+
Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.TreeService.EnsureNotFaultedTree(IProjectVersionedValue`1 appliedValue)
44+
Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.TreeService.<PublishTreeAsync>d__66.MoveNext()
45+
--- Fin de la trace de la pile d'exception interne ---
46+
---> (Exception interne #0) System.ArgumentNullException: The value cannot be null.
47+
Name of parameter : key
48+
Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.TreeService.EnsureNotFaultedTree(IProjectVersionedValue`1 appliedValue)
49+
Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.TreeService.<PublishTreeAsync>d__66.MoveNext()<---
50+
===================
3951
</code></pre>
4052
<p>The solution is simple, and takes just a few seconds to complete. There is the steps to follow :</p>
4153
<ul>
13.9 KB
Loading

0 commit comments

Comments
 (0)