Open paskaler opened 3 years ago
same issue
This seems to have been fixed for Android but I'm able to replicate this issue for iOS in Stride 4.1.0.1898 on two different dev environments.
Does anyone know which PR this was fixed in?
could have been azeno? https://github.com/stride3d/stride/compare/releases/4.1.0.1805...releases/4.1.0.1822 I was conveniently looking at release comparisons due to another issue and I saw this lol.
Fixed, the iOS csproj template wasn't updated for .NET projects. I'll create a PR shortly, these projects currently don't build within Stride for other reasons that I'm looking into.
This issue can probably be closed as well since the Android platform no longer has this issue.
Release Type: Official Release Version: 4.1.0.1459-beta
Platform(s): Windows 10 20H2, Microsoft .NET Core Runtime 5.0.203
Describe the bug An Android project cannot be created due to the following error:
Error: The imported project "C:\Program Files\dotnet\sdk\5.0.203\Xamarin\Android\Xamarin.Android.CSharp.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\sdk\5.0.203\\Xamarin\Android\Xamarin.Android.CSharp.targets" is correct, and that the file exists on disk.
Steps to reproduce the behavior:
Expected behavior Xamarin.Android.CSharp.targets file is not part of the .NET Core installation folder. MSBuild is installed in a folder under each version of the Visual Studio.
Installation folder for VS 2019 Community Edition
c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.CSharp.targets
Screenshots
Additional context I have not tried to create a project on other platforms and this must be also included in the further investigation.