I've recently started learning how to make Powershell cmdlets with C# in Visual Studio. While attempting to build my Powershell cmdlets in Visual Studio 2013 I get this error. This forces me to close Powershell to build my code and then open Powershell again, which is pretty annoying. It most likely isn't the code's fault, as it does this even with an empty script. Does anyone know how to get around this problem? Thanks in advance for any advice.
The Powershell version is v3, with .NET 4. The version number shouldn't matter though, and I need these specific versions for this work.