'Cannot create Enclave in SGX Helloworld

Why "[sgx_create_enclavew ..\urts\win\urts.cpp:195] Couldn't open file with CreateFile()" still happens after I setting the working directory from $(ProjectDir) to $(OutDir) both enclave and app?

I cannot find the file "sample_enclave.signed.dll" in my VS working directory.

I followed this tutorial: https://software.intel.com/zh-cn/SGX-Development-Guide-Part-2

I use "VS 2015 Pro" and "SGX SDK 1.7" .



Solution 1:[1]

Please make sure the project under "Debug" mode

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 chaoshun