stride3d / stride3d/stride

Android Resource error

Open
#553 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug platform-Android
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with PhysicsSample.Android/Resources/Resource.Designer.cs at line 29 and the Android project references in the generated Visual Studio 2019 solution. Reproduce the Debug and Release builds and inspect the conflicting Xenko.Engine and Xenko assemblies. Done means the Android project builds without CS0433.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.