You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
My environment does not have Android and iOS SDK, only for windows.
In such environment, restoring error occured in creating new code library project.
here is the error message;
Verbose: Generating MyLibrary...
Verbose: Process dependencies for MyLibrary...
Verbose: Restore NuGet packages for MyLibrary...
[C:\Program Files\dotnet\sdk\6.0.415\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5)]: Error: このプロジェクトをビルドするには、次のワークロードをインストールする必要があります: android
これらのワークロードをインストールするには、次のコマンドを実行します: dotnet workload restore
[C:\Program Files\dotnet\sdk\6.0.415\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(267,5)]: Error: 資産ファイル 'd:\src\gitrepos\stride-sandbox\MyLibrary\MyLibrary\obj\project.assets.json' が見つかりません。NuGet パッケージの復元を実行して、このファイルを生成してください。
[C:\Program Files\dotnet\sdk\6.0.415\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5)]: Error: Unable to build assembly reference [d:\src\gitrepos\stride-sandbox\MyLibrary\MyLibrary\bin\Debug\net6.0-windows\MyLibrary.dll]
[C:\Program Files\dotnet\sdk\6.0.415\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5)]: Verbose: Loading Assets from Package [MyLibrary.sdpkg]
[C:\Program Files\dotnet\sdk\6.0.415\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5)]: Verbose: Compiling game assemblies...
[C:\Program Files\dotnet\sdk\6.0.415\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5)]: Verbose: Game assemblies compiled...
Describe the solution you'd like
Target platform should be able to choose when creating new code library project.
Describe alternatives you've considered
Set default target platform only net6.0?
Additional context
The text was updated successfully, but these errors were encountered:
itn3000
changed the title
In CodeLibrary project, I think it's better to let me choose target platform
In CodeLibrary project, it's better to let me choose target platform
Oct 24, 2023
itn3000
changed the title
In CodeLibrary project, it's better to let me choose target platform
In CodeLibrary project, it's better to let user choose target platform
Oct 24, 2023
The template for code library targets net6.0-windows;uap10.0.16299;net6.0;net6.0-android;net6.0-ios instead of just net6.0.
It seems more complex how the template generator is arriving at that though.
Is your feature request related to a problem? Please describe.
My environment does not have Android and iOS SDK, only for windows.
In such environment, restoring error occured in creating new code library project.
here is the error message;
Describe the solution you'd like
Target platform should be able to choose when creating new code library project.
Describe alternatives you've considered
Set default target platform only net6.0?
Additional context
The text was updated successfully, but these errors were encountered: