I created a WinPE 10 image with most of the optional packages (WMI, scripting, NetFX(.Net 4.5),etc... ) The WinPE image runs great. I created a simple WinForm program to execute. On my main computer it runs fine. When I run it in WinPE the program doesn't error out but does nothing. I created it in Visual Studio Professional 2013. I've been looking if any extra steps are needed Visual Studio for making it work in WinPE 10. WinPE images I'm great at but I'm still new to Visual Studio's. Here are the reference I'm using, been wondering if that maybe it.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
I got it working, I just remade the WinPE image from scratch again and it works. I suspect I forgot the language component for either WMI or NetFX.