问题描述:

We hava a solution with multiple projects. Some of them are new dotnet core applications.

We created these applications while the new dotnet core framework was still in RC stage. Now I am trying to update to the final version.

I am able to build the application in Visual Studio, but when I try to do so with the command line, I get the following error:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets(262,5): Unable to cast object of type 'Microsoft.DotNet.ProjectModel.MSBuildProjectDescription' to type 'Microsoft.DotNet.ProjectModel.ProjectDescription'.

It specifies the .xproj file as the source of the error, though there is no difference to a newly created dotnet webapplication.

Any clue on how to fix this?

相关阅读:
Top