sp:
Get-Content : Cannot find path 'sgx-ra-sample\vs\service-provider\policy.in' because it does not exist.
In project mrsigner, go to the Post-Build Event and change $(IntDir) to $(OutDir).
In project sp, go to the Pre-Build Event and add ..\ to policy.in.
The default PowerShell* command in the Pre-Build Event of project sp is not able to find the policy.in file.
The default location of policy.in is under sgx-ra-sample/vs/policy.in.
During the pre-build event, the PowerShell command is executed from the sgx-ra-sample/vs/service-provider directory. Accordingly, place ../ in front of policy.in in the PowerShell command line so that it can find policy.in one level up.
So, knowing that the PowerShell command runs in sgx-ra-sample/vs/service-provider, tell the PowerShell command the correct relative path to policy.in if it is not in the default location.