Allow standard .net build actions in shared projects

Fixes bug 20024 - Shared Projects only allow Compile and None for
Build actions.