Remove .NET Framework 4.6.1 and add .NET Framework 4.8 which is required for installer_omod:
970.65 [installer_omod] [msbuild] [stdout] 4>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [C:\dev\modorganizer\build\modorganizer_super\installer_omod\vsbuild\dummy_cs_project.csproj]
970.78 [installer_omod] [msbuild] [stdout] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [C:\dev\modorganizer\build\modorganizer_super\installer_omod\vsbuild\dummy_cs_project.csproj]
970.80 [installer_omod] [msbuild] [cmd] msbuild failed, stderr was empty
970.80 [installer_omod] [msbuild] [cmd] msbuild returned 1 (bailing out)
970.81 installer_omod bailed out, interrupting all tasks
Do we definitely have nothing that targets 4.6.1? If so, we need the 4.8 SDK and targeting packs for 4.6, 4.6.1 and 4.8 (the 4.8 targeting pack should be included with the 4.8 SDK, though).
Remove .NET Framework 4.6.1 and add .NET Framework 4.8 which is required for
installer_omod
: