Updates to settings and csproj

Made changes to test settings, vsmdi and csproj to be able to get the test results and trx as artifacts in the CI build.