Replies: 1 comment
-
The source template is the same, but the processing applied to it may be a little different for VS2022 vs dotnet? The biggest one I was aware of was that VS2022 will add a solution file! But it does look here like dotnet is also applying a syntax upgrade and document format?
Either way, an interesting observation, and now I do kinda wonder what other things might be happening. Maybe the .sln file is forcing a slightly different build toolchain? I'm aware that VS2022's build tools are different, but I'm still not sure how much different, or how/if that would factor into anything on Linux. |
Beta Was this translation helpful? Give feedback.
-
Spinoff of #904 (android geolocation), to figure out some weird things I'm seeing.
I generated a new SK multi-target project from VS2022, and use the following
Program.cs
:This works and shows
ProcessName
on the window, both when I run this from VS2022 on a Quest 3, as well as when I copy the project over to my Linux machine and build it with dotnet 7.0.115, deploy to the Quest and run it there. So this is a known-good configuration. It also confirms that my Linux dotnet environment isn't (completely) broken.The weird thing is that when I use
dotnet new sk-multi
on Linux to generate a new project, copy in the aboveProgram.cs
and build and deploy the app fails to run on the Quest 3. Even weirder is that I can no longer uninstall it from the app menu, plus an app icon marked with a blue dot stays around in the system bar, even after a reboot. I seems like the app process gets stuck in some weird state. It's only after a Quest reboot that I can uninstall the app.When I use
dotnet new sk-multi
on the same Windows machine that has VS2022 I see differences in the generated project files. I assumed that having donedotnet new install StereoKit.Templates
(to 0.7.2) would mean both VS2022 anddotnet new
(dotnet 7.0.304 in this case) would use the same templates. But I see small differences in, for example, the generatedPlatforms/Android/MainActivity.cs
:Which makes me wonder if the templates for VS2022 and dotnet (on Windows and Linux) are indeed the same? And if that might cause the differences in app behaviour I'm seeing?
Beta Was this translation helpful? Give feedback.
All reactions