I just finished a desktop application, but I'm having a small problem. I designed this application using .NET 10/WPF. I created the installation package with Advanced Installer. Everything works fine. My issue is that the application depends on the .NET 10 runtime to install. How can I eliminate this dependency?
Loading

Pankajkumar PatelPosted May 4, 2026, 7:23 AM
Hi Rigobert GANDE,
Perform following 3 steps to eliminate .NET 10 runtime dependency:
Deployment mode from Framework-Dependent to Self-Contained
Update Advanced Installer ProjectOnce
Verify DeploymentAfter
Configure deployment mode to Self - Contained from Framework-Dependent: Open .csproj file and make below settings:
Update Advanced Installer ProjectOnce: In Advanced Installer, use Files and Folders tab and click Add Project Output then select "Publish" output or the specific "Self-Contained" build folder. In Advanced Installer, click on Prerequisites page and remove "Launch Conditions" or "Prerequisites" checks for .NET 10 Desktop Runtime.
Verify DeploymentAfter: First build new installer and test it on "clean" machine without .NET 10 installed.
Glad to help! Please mark this answer as the accepted answer if it helped you out!