我在本地克隆ASP.NET Core SignalR Repo,然后尝试从以下环境中打开解决方案。项目的默认XML名称空间必须是MSBuild XML名称空间
IDE
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01055
DOT NET CLI
λ dotnet --info
.NET Command Line Tools (1.0.0-preview2-1-003177)
Product Information:
Version: 1.0.0-preview2-1-003177
Commit SHA-1 hash: a2df9c2576
Runtime Environment:
OS Name: Windows
OS Version: 6.1.7601
OS Platform: Windows
RID: win7-x64
我最终看到了很多这类错误消息的:
..\Repos\SignalR\src\Microsoft.AspNetCore.SignalR\Microsoft.AspNetCore.SignalR.csproj
: error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please addxmlns="http://schemas.microsoft.com/developer/msbuild/2003"
to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format...\Repos\SignalR\src\Microsoft.AspNetCore.SignalR\Microsoft.AspNetCore.SignalR.csproj
我想知道如何解决这个问题等方式。
我只是假设我能做到这一点,我不应该这样做?我希望这是向后兼容的。 –
嗯,我得到这个错误后允许VS2017 RTM更新项目格式:-( –