Can't build GammaLauncher with vvvvc preview

Hey hey,

Was trying to build a new GammaLauncher using vvvvc.exe when this happened

18:41:47 [INF] > "C:\Program Files\vvvv\vvvv_gamma_8.0-0186-g5862c1d22a-win-x64\vvvvc.exe" D:\Documents\dev\apps\GammaLauncher\GammaLauncher.vl --output-type WinExe --rid win-x64 --clean
18:41:47 [DBG] info: vvvv[0]
18:41:47 [DBG]       Loading D:\Documents\dev\apps\GammaLauncher\GammaLauncher.vl
18:41:48 [DBG] warn: packman[0]
18:41:48 [DBG]       There are 2 package sources defined in your configuration. When using central package management, please map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source. The following sources are defined: nuget.org, vvvv.org
18:41:48 [DBG] info: packman[0]
18:41:48 [DBG]       Restoring packages for C:\Program Files\vvvv\vvvv_gamma_8.0-0186-g5862c1d22a-win-x64\ROOT.proj...
18:41:48 [DBG] info: packman[0]
18:41:48 [DBG]         CACHE https://api.nuget.org/v3/vulnerabilities/index.json
18:41:48 [DBG] info: packman[0]
18:41:48 [DBG]         CACHE https://api.nuget.org/v3-vulnerabilities/2026.10.14.05.57.16/vulnerability.base.json
18:41:48 [DBG] info: packman[0]
18:41:48 [DBG]         CACHE https://api.nuget.org/v3-vulnerabilities/2026.10.14.05.57.16/2026.10.14.05.57.16/vulnerability.update.json
18:41:48 [DBG] info: packman[0]
18:41:48 [DBG]       Writing assets file to disk. Path: C:\Program Files\vvvv\vvvv_gamma_8.0-0186-g5862c1d22a-win-x64\data\restore\ROOT\project.assets.json
18:41:49 [DBG] warn: packman[0]
18:41:49 [DBG]       There are 2 package sources defined in your configuration. When using central package management, please map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source. The following sources are defined: nuget.org, vvvv.org
18:41:49 [DBG] info: packman[0]
18:41:49 [DBG]       Restoring packages for C:\Program Files\vvvv\vvvv_gamma_8.0-0186-g5862c1d22a-win-x64\ROOT.proj...
18:41:49 [DBG] info: packman[0]
18:41:49 [DBG]       Writing assets file to disk. Path: C:\Program Files\vvvv\vvvv_gamma_8.0-0186-g5862c1d22a-win-x64\data\restore\ROOT\project.assets.json
18:41:55 [DBG] crit: vvvv[0]
18:41:55 [DBG]       Unable to load one or more of the requested types.
18:41:55 [DBG]       Could not load file or assembly 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
18:41:55 [DBG]       System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
18:41:55 [DBG]       Could not load file or assembly 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
18:41:55 [DBG]          at System.Reflection.RuntimeModule.GetDefinedTypes()
18:41:55 [DBG]          at System.Reflection.RuntimeModule.GetTypes()
18:41:55 [DBG]          at VL.AppServices.CompilationHelper.SwapAssembly(Assembly assembly, Int32 pass)
18:41:55 [DBG]          at VL.Model.VLSession.Swap(ITargetCompilation compilation)
18:41:55 [DBG]          at VL.Model.VLSession.UpdateRuntimesAsync(PreCompilation preCompilation, CancellationToken token, IProgress`1 progress, Boolean incremental)
18:41:55 [DBG]          at VL.Model.VLSession.UpdateCompilationCoreAsync(Solution solution, CompileOptions options, CancellationToken token, IProgress`1 progress, Boolean incremental)
18:41:55 [DBG]       System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
18:41:55 [DBG]       File name: 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
18:41:55 [DBG] crit: vvvv[0]
18:41:55 [DBG]       Unable to load one or more of the requested types.
18:41:55 [DBG]       Could not load file or assembly 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
18:41:55 [DBG]       System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
18:41:55 [DBG]       Could not load file or assembly 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
18:41:55 [DBG]          at System.Reflection.RuntimeModule.GetDefinedTypes()
18:41:55 [DBG]          at System.Reflection.RuntimeModule.GetTypes()
18:41:55 [DBG]          at VL.AppServices.CompilationHelper.SwapAssembly(Assembly assembly, Int32 pass)
18:41:55 [DBG]          at VL.Model.VLSession.Swap(ITargetCompilation compilation)
18:41:55 [DBG]          at VL.Model.VLSession.UpdateRuntimesAsync(PreCompilation preCompilation, CancellationToken token, IProgress`1 progress, Boolean incremental)
18:41:55 [DBG]          at VL.Model.VLSession.UpdateCompilationCoreAsync(Solution solution, CompileOptions options, CancellationToken token, IProgress`1 progress, Boolean incremental)
18:41:55 [DBG]          at Program.ConsoleSession.OnException(ExceptionDispatchInfo exceptionDispatchInfo)
18:41:55 [DBG]          at VL.Core.AppHost.ReportException(ExceptionDispatchInfo exceptionDispatchInfo)
18:41:55 [DBG]          at VL.Model.VLSession.UpdateCompilationCoreAsync(Solution solution, CompileOptions options, CancellationToken token, IProgress`1 progress, Boolean incremental)
18:41:55 [DBG]          at VL.Model.VLSession.UpdateCompilationAsync(Solution solution, CompileOptions options, IProgress`1 progress, Boolean incremental, CancellationToken cancellationToken)
18:41:55 [DBG]          at VL.Model.VLSession.UpdateAsync(Solution solution, SolutionUpdateKind kind, Canvas canvas, IProgress`1 progress, CancellationToken cancellationToken)
18:41:55 [DBG]       System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
18:41:55 [DBG]       File name: 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
18:41:55 [ERR] Unhandled exception. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
18:41:55 [ERR] Could not load file or assembly 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
18:41:55 [ERR]    at System.Reflection.RuntimeModule.GetDefinedTypes()
18:41:55 [ERR]    at System.Reflection.RuntimeModule.GetTypes()
18:41:55 [ERR]    at VL.AppServices.CompilationHelper.SwapAssembly(Assembly assembly, Int32 pass)
18:41:55 [ERR]    at VL.Model.VLSession.Swap(ITargetCompilation compilation)
18:41:55 [ERR]    at VL.Model.VLSession.UpdateRuntimesAsync(PreCompilation preCompilation, CancellationToken token, IProgress`1 progress, Boolean incremental)
18:41:55 [ERR]    at VL.Model.VLSession.UpdateCompilationCoreAsync(Solution solution, CompileOptions options, CancellationToken token, IProgress`1 progress, Boolean incremental)
18:41:55 [ERR]    at Program.ConsoleSession.OnException(ExceptionDispatchInfo exceptionDispatchInfo)
18:41:55 [ERR]    at VL.Core.AppHost.ReportException(ExceptionDispatchInfo exceptionDispatchInfo)
18:41:55 [ERR]    at VL.Model.VLSession.UpdateCompilationCoreAsync(Solution solution, CompileOptions options, CancellationToken token, IProgress`1 progress, Boolean incremental)
18:41:55 [ERR]    at VL.Model.VLSession.UpdateCompilationAsync(Solution solution, CompileOptions options, IProgress`1 progress, Boolean incremental, CancellationToken cancellationToken)
18:41:55 [ERR]    at VL.Model.VLSession.UpdateAsync(Solution solution, SolutionUpdateKind kind, Canvas canvas, IProgress`1 progress, CancellationToken cancellationToken)
18:41:55 [ERR]    at Program.ConsoleSession.OnException(ExceptionDispatchInfo exceptionDispatchInfo)
18:41:55 [ERR]    at VL.Core.AppHost.ReportException(ExceptionDispatchInfo exceptionDispatchInfo)
18:41:55 [ERR]    at VL.Model.VLSession.UpdateAsync(Solution solution, SolutionUpdateKind kind, Canvas canvas, IProgress`1 progress, CancellationToken cancellationToken)
18:41:55 [ERR]    at VL.Model.VLSession.AddRootAndLoadSymbolsAsync(Document document, CancellationToken token, IProgress`1 progress)
18:41:55 [ERR]    at VL.Model.VLSession.LoadDocumentAsync(String filePath, CancellationToken token, IProgress`1 progress)
18:41:55 [ERR]    at Program.<>c__DisplayClass0_0.<<Main>g__GenerateExecutableAsync|1>d.MoveNext()
18:41:55 [ERR] --- End of stack trace from previous location ---
18:41:55 [ERR]    at Program.Main(String[] args)
18:41:55 [ERR]    at Program.<Main>(String[] args)
18:41:55 [ERR] System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
18:41:55 [ERR] File name: 'System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

The patch runs completely fine in the editor, and can be compiled from there as well using F10.

Repro steps:

  • Checkout GammaLauncher at 9c6ec47cc02029a7ffe77b4157263d2fbff152ac
  • Open the patch with 8.0-186
  • Make an export with F10, all good
  • Close vvvv, cd inside /fallout
  • Run fallout compile --compilerpath "C:\Program Files\vvvv\vvvv_gamma_8.0-0186-g5862c1d22a-win-x64\vvvvc.exe"

Thanks in advance!

The .fallout folder is not checked in.

fallout compile --compilerpath D:\_vvvv\vvvv_gamma_8.0-0188\vvvvc.exe
Could not find .fallout directory/file. Do you want to setup a build? [y/n] (y):

Did you cd to /fallout? The directory is checked-in.

Otherwise the following would do the same

(...)\vvvvc.exe" (...)\GammaLauncher.vl --output-type WinExe --rid win-x64 --clean

edit: not sure why I did not put the fallout project at the root of the repo in the past, this is another thing I’d have to update..

Sorry, guess I wasn’t fully paying attention …

Hey bonsoir,

Looks like I was able to “fix” it by manually changing vvvvc.runtimeconfig.json and adding Microsoft.WindowsDesktop.App to the list of frameworks there (taking vvvv.runtimeconfig.json as an example ).

How bad is that? :upside_down_face:

Sorry for not having a look at it yet. Good you found a workaround for now. But ideally the vvvvc.exe should not have a dependency on the desktop pack. Will report back.

Thanks, I can work with that workaround for the time being so no rush as far as I’m concerned.

Fixed in upcoming. Thanks again for reporting it.