Building netstandard2.0 project created with Rider

Aleksander 's Avatar


04 Jan, 2018 11:07 AM


I am currently converting a project to netstandard2.0, and so far I have just moved all code files to a newly created library project which is compiling, and have made all the tests run green. The project is, the netstandard2.0 version is on the branch `project-rider-test-netstandard`.

The error I now get is:
error MSB4041: 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="" 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.

I am now unsure if the problem is the .sln file where the version is set to `VisualStudioVersion =`, the .csproj files where I should specify a Xml namespace as the error implies or my appveyor.yml. What is the ideal configuration for Appveyor on this?

Hope to hear from you.

  1. Support Staff 1 Posted by Ilya Finkelshte... on 04 Jan, 2018 09:24 PM

    Ilya Finkelshteyn's Avatar

    Hi Aleksander,

    Sent you a PR.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac