Skip to content

Conversation

@wieslawsoltes
Copy link
Contributor

@wieslawsoltes wieslawsoltes commented May 11, 2025

Do not reference WalletWasabi.Daemon project directly as its executable project and runtime identifies are not compatible with mobile androind/ios. The fix is to link only required source files and reference wasabi csproj directly,

0>Microsoft.NET.Sdk.targets(1253,5): Error NETSDK1150 : The referenced project '../../WalletWasabi.Daemon/WalletWasabi.Daemon.csproj' is a non self-contained executable.  A non self-contained executable cannot be referenced by a self-contained executable.  For more information, see https://aka.ms/netsdk1150

Fix proposes here https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/5.0/referencing-executable-generates-error#recommended-action is not enough (see below error) and its still required to add mobile (android, iOS) runtime indetifiers to daemon project which isn't viable solution. Runtime indetifiers will require additional fixes in next PRs.

3>Microsoft.PackageDependencyResolution.targets(266,5): Error NETSDK1047 : Assets file '/Users/wieslawsoltes/GitHub/WalletWasabi/WalletWasabi.Daemon/obj/project.assets.json' doesn't have a target for 'net8.0/android-arm64'. Ensure that restore has run and that you have included 'net8.0' in the TargetFrameworks for your project. You may also need to include 'android-arm64' in your project's RuntimeIdentifiers.

Requires #13899

@wieslawsoltes wieslawsoltes changed the title Do not reference WalletWasabi.Daemon project directly Mobile - Part 2/n - Do not reference WalletWasabi.Daemon project directly May 11, 2025
@wieslawsoltes wieslawsoltes changed the title Mobile - Part 2/n - Do not reference WalletWasabi.Daemon project directly [Mobile] [2/n] Do not reference WalletWasabi.Daemon project directly May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant