Build failed with error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace.
I have a failed build https://ci.appveyor.com/project/FanrayMedia/fanray showing this error
```
C:\projects\fanray\test\Fan.UnitTests\Fan.UnitTests.csproj(1,1): 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 looked through all my .csproj files and don't see anything abnormal. What could be the cause of this? Thank you!
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
ray247 closed this discussion on 30 Jul, 2018 04:37 PM.
Owen McDonnell re-opened this discussion on 30 Jul, 2018 06:12 PM
Support Staff 1 Posted by Owen McDonnell on 30 Jul, 2018 06:12 PM
So your problem was resolved by switching to dotnet cli?
2 Posted by ray247 on 30 Jul, 2018 06:16 PM
Yes, my problem was resolved by switching to dotnet cli. Thanks.
Support Staff 3 Posted by Owen McDonnell on 30 Jul, 2018 06:16 PM
Ok. Thanks for letting us know.
Owen McDonnell closed this discussion on 30 Jul, 2018 06:16 PM.