Cannot open projects with VS 2015
See original GitHub issueNot sure whether everybody has already upgraded to VS 2017, given that it has only been released very recently. Anyhow, the recent commit entitled “Update projects to VS 2017” (dbaddb57) changed the .csproj files so that those projects can no longer be opened with VS 2015.
Using DocumentFormat.OpenXml.csproj
as an example, here is the error message I get (with [...]
meaning I omitted that part of the path):
[...]\Open-XML-SDK\DocumentFormat.OpenXml\DocumentFormat.OpenXml.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 add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. [...]\Open-XML-SDK\DocumentFormat.OpenXml\DocumentFormat.OpenXml.csproj
I get the same error message for the other two projects contained in the solution.
Did you mean to only support VS 2017 going forward (which could be fine)? Otherwise, we need another solution referencing VS 2015 compatible .csproj files.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:19 (8 by maintainers)
Top Results From Across the Web
Projects load failed in Visual Studio 2015
Open the Output window ( View -> Output or Ctrl+Alt+O ). · Then right-click one of the failed projects and select Reload Project...
Read more >Cannot open VS 2015 Web project in VS 2017
Brand new installs of Visual Studio 2017 do not seem to be able to open some older web projects created in Visual Studio...
Read more >"Unknown error" when loading VS 2015 projects in VS 2019
In the project explorer one cannot see (Visual Studio 2015) anymore on the side of the project name and when one tries to...
Read more >Project migration and upgrade reference for Visual Studio
The user can open the project in Visual Studio 2015, Visual Studio 2017, Visual Studio 2019, or Visual Studio 2022, and the resource...
Read more >I cannot open a Visual Studio Project or Solution - YouTube
If you are having problems opening a VS project of solution try this.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To run the project in Visual Studio 2015 please revert to a commit in which Visual Studio 2015 was used.
If you are not sure then run the following command on git command line.
Navigate to git master branch
You can see history of commits by the following line
In this case are reverting to commit id 3f36da8
Now try opening the solution in Visual Studio 2015 and it should work!
Would something like https://github.com/KirillOsenkov/SourceBrowser be helpful for this (such as at http://source.dot.net)? I’ve been thinking of setting that up for this project for easy browsing and searching via symbols