Fixed DebugSolution not building when using Android Targets
Added Sharpmake.CommonPlatforms to the list of References for the DebugSolution and Project.
When using Android targets, specifically anything under Sharpmake.Android, the debug solution and project fail to run due to Sharpmake.Android not being recognized.
It produces the following error when you try to build/run the debug project.
1>S:\code\projects\temp\Sharpmake\samples\HelloAndroidAgde\HelloAndroidAgde.CommonTarget.sharpmake.cs(11,43,11,50):
error CS0234: The type or namespace name 'Android' does not exist in the namespace 'Sharpmake' (are you missing an assembly reference?)
Can try to replicate the error under the HelloAndroidAgde sample.
This change simply adds the Sharpmake.CommonPlatforms DLL as a reference which fixes the issue.
Hi, Your fix might be correct but do you have this in your sharpmake scripts?
[module: Reference("Sharpmake.CommonPlatforms.dll")]
If you don't and add it, does the debug solution works then? Your fix seems ok but I see that in our sharpmake scripts for our internal game engine we are including that reference.
Thanks
Hi, Your fix might be correct but do you have this in your sharpmake scripts?
[module: Reference("Sharpmake.CommonPlatforms.dll")]
If you don't and add it, does the debug solution works then? Your fix seems ok but I see that in our sharpmake scripts for our internal game engine we are including that reference.
Thanks
This fix worked. Feel free to close the PR. :)
Hi, Your fix might be correct but do you have this in your sharpmake scripts? [module: Reference("Sharpmake.CommonPlatforms.dll")] If you don't and add it, does the debug solution works then? Your fix seems ok but I see that in our sharpmake scripts for our internal game engine we are including that reference. Thanks
This fix worked. Feel free to close the PR. :)
I will try to do some tests to see if I am able to reproduce this.