-
-
Notifications
You must be signed in to change notification settings - Fork 930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Resource error #553
Comments
I have this error on any Android project. Even empty. |
Any workaround to this error? Same problem here. |
This Error is caused by auto generate Resource.Designer.cs. Xenko.Engine.csproj's RootNamespace is Xenko, so it's namespace is Xenko in generated Resource.Designer.cs. this namespace is the same as Xenko.csproj's Resource.Designer.cs I change the RootNamespace property to Xenko.Engine in project Xenko.Engine, it generate the Resource class to Xenko.Engine. This fix the namesapce conflict error. but cause another error But I don't understand why emit this error |
For anyone on version 3.1.0.1 (ie. official release), try this workaround:
Note this will (hopefully) not be needed in the next official release, as yangguosdxl has pushed a proper fix for this issue. |
With the current 4.0.0 version it still gives this error, when will it be fixed? |
Xenko Version 3.1.0.1
Using Physics Sample and opening in Visual Studio 2019 Xamarin. When I compile (either Debug or Release) for Android I am receiving this error:
Severity Code Description Project File Line Suppression State Suppression State
Error CS0433 The type 'Resource' exists in both 'Xenko.Engine, Version=3.1.0.1, Culture=neutral, PublicKeyToken=null' and 'Xenko, Version=3.1.0.1, Culture=neutral, PublicKeyToken=null' PhysicsSample.Android C:\Users\xxxx\Documents\Xenko Projects\PhysicsSample\PhysicsSample.Android\Resources\Resource.Designer.cs 29 Active
I am using Visual Studio 2019 Version 16.3.8. I have read that VS 2019 has some issue with resources but I could not load the solution produced in VS 2017 as I get a waring that "the solution is higher than the solution version supported"
Any help would be appreciated. I have done the standard clean, rebuild, restart VS2019, reboot computer, screamed loudly :) etc.
Thanks
The text was updated successfully, but these errors were encountered: