Dependency issue when publish a MAUI application for Windows Store

67 Views Asked by At

I have a .NET 8 MAUI application which is already published in the Google Store and Amazon Store and the Windows version is running locally.

The structure of the solution is quite simple: I have the main project with the majority of the code and then a library of a few functions (I don't think it matters but I created a test project on this function library). This library is added to the project for all platforms.

enter image description here

When I run the process to Publish the application to the Windows Store via Visual Studio 17.8.3 both in Debug and Release mode, I get this error

Cannot resolve Assembly or Windows Metadata file 'mypath\LanguageInUse.ValidationLogic.dll'

The project file of this library is quite basic

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

</Project>

I cleaned the solution, restored packages (also from PowerShell manually), built and rebuilt the solution but no luck.

0

There are 0 best solutions below