Visual Studio 2015
VS newb. I have many PS scripts that I want to migrate into a C# Solution. The solution will in theory do stuff and then with button presses or other triggers, run the Powrshell scripts.
The problem is that when I add the two projects, I don't know how to access the PS script from the C# side. I tried adding the PS Project to the Solution then adding a Reference to it. But when I try to build (even with a blank PS Script) I get error "CS0006 Metadata file 'MyPath\PSTest\bin\Debug\MyApplication.exe could not be found"
Is it possible to even do this? All I want is a Solution that has a main C# project and a Powershell project included that I can edit and use those scripts from the C# side.
EDIT: Do not really want to just invoke some scripts from within the C# environment. I want to add a Powershell Project to the Solution and further develop the Powershell scripts from there as well as create the new app in C# that will use the Powershell Project.