[MSBuild] Fixed a test that failed when the GAC wasn't available

PR #1229 added a test that relies on the GAC and fails when it isn't available, like when building on a clean machine with monolite.
Skip the test in that case.
Merge pull request #1232 from akoeplinger/fix-test

[MSBuild] Fixed a test that failed when the GAC wasn't available