0

I am following this entry at Exchange dev blog (MSDN).

For the sample project published on GITHub, I'm getting following build errors, wondering which step I missed...

Could not copy the file "AccessMailboxAsApp\Content\myappcert.pfx" because it was not found.

Could not copy the file "AccessMailboxAsApp\Content\encryptionCert.pfx" because it was not found.

Community
  • 1
  • 1
Ree5un
  • 197
  • 1
  • 2
  • 14

1 Answers1

0

Sounds like you need to go through the "Configuring a X.509 public cert for your application" section of that blog.

EDIT: It appears that the project file AccessMailboxAsApp.csproj that Matthias uploaded to GitHub has these files added in the .\AccessMailboxAsApp\Content folder, as seen in these lines:

<Content Include="Content\encryptionCert.pfx"> 
  <CopyToOutputDirectory>Always</CopyToOutputDirectory> 
</Content> 
<Content Include="Content\myappcert.pfx"> 
  <CopyToOutputDirectory>Always</CopyToOutputDirectory> 
</Content> 

If you're using other certificate files, you can just remove these from the project. In Solution Explorer, expand the Content folder, then right-click these two files and choose "Exclude from Project".

Jason Johnston
  • 17,194
  • 2
  • 20
  • 34
  • But I finished these steps, is there anything missed? 1. made a cert, 2. exported it, 3. used powershell to get three values, 4. download manifest json, 5. modified accordinly and then uploaded, 6. download again to verify – Ree5un Jun 01 '15 at 21:32
  • Yep, some stale data in the project file I think. I updated my answer above. – Jason Johnston Jun 02 '15 at 18:07
  • Thanks so much, that concurred my modifications on the prj file. – Ree5un Jun 03 '15 at 16:50