简体   繁体   中英

Resource.designer.cs(32713, 4): [CS0433] The type 'Resource' exists in both. ( Maui, build error)

I have separated my Maui project to few libraries. x.Services, x.Data and x.Core. After that, I got an error - Resource.designer.cs(32713, 4): [CS0433] The type 'Resource' exists in both 'x.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'x.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

This error I am getting when I am building a project.

I have deleted obj and bin folders from project and rebuild, but nothing changed. All namespaces are unique, project versions are same.

Problem was in root namespace, There was not that library namespace. but another, I don't know why. I didn't change it.

Image with location where you can solve that problem

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM