无法编译生成的代码。请通过此异常的 SourceCode 属性 检查生成的代码

Cannot compile the generated code. Please inspect the generated code via this exception's SourceCode property

我从 Windows 商店安装了我的私人应用程序,它使用 Desktop Bridge 和 Dev Express XAF Winforms。 然后我使用 powershell

卸载了它
Remove-AppxPackage -Package *jobtalk*

现在,当我尝试从商店重新安装时,我得到

Cannot compile the generated code. Please inspect the generated code via this exception's SourceCode property. The following errors occurred: 
(0, 0): Error generating Win32 resource: Access is denied. 
(0, 0): Unable to delete temporary file 'c:\Program Files\WindowsApps\jobtalk.jobtalk_1.0.1.0_neutral__8kpaqbvntb9aj\SBD.JobTalk.Workflow.Win\CSC88B14BFB7D314F00B0D1BB57EFD11.TMP' used for default Win32 resource -- The system cannot find the file specified. 

[更新]

我想我需要以管理员身份安装。

http://blog.delegate.at/

中描述了问题和解决方案

In order to contain app state, the bridge attempts to capture changes the app makes to AppData. All write to the user's AppData folder (e.g., C:\Users\user_name\AppData), including create, delete, and update, are copied on write to a private per-user, per-app location.