Building netstandard2.0 project created with Rider

Aleksander 's Avatar

Aleksander

04 Jan, 2018 11:07 AM

Greetings!

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 https://github.com/digipost/api-client-shared-dotnet, 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="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.

I am now unsure if the problem is the .sln file where the version is set to `VisualStudioVersion = 12.0.0.0`, 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.

    Ilya.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:26 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? 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