Приложение My ClickOnce предназначено для .NET 4 Client Profile , чтобы уменьшить объем загрузки и установки рабочего стола клиента через Интернет.
Однако, когда я нажимаю кнопку настройки на странице Опубликовать , происходит сбой со следующей ошибкой:
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [12/03/2012 11:37:05] : Activation of C:\Users\me\Downloads\desktopapp.application has started.
* [12/03/2012 11:37:08] : Processing of deployment manifest has successfully completed.
* [12/03/2012 11:37:08] : Installation of the application has started.
* [12/03/2012 11:37:08] : Processing of application manifest has successfully completed.
* [12/03/2012 11:37:29] : Found compatible runtime version 4.0.30319.
* [12/03/2012 11:37:30] : Request of trust and detection of platform is complete.
* [12/03/2012 11:37:33] : Downloading of subscription dependencies is complete.
* [12/03/2012 11:37:33] : Commit of the downloaded application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [12/03/2012 11:37:33] System.Runtime.InteropServices.COMException
- **Failed to load the runtime. (Exception from HRESULT: 0x80131700)**
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.NativeMethods.GetRequestedRuntimeInfo(String pExe, String pwszVersion, String pConfigurationFile, UInt32 startupFlags, UInt32 runtimeInfoFlags, StringBuilder pDirectory, UInt32 dwDirectory, UInt32& dwDirectoryLength, StringBuilder pVersion, UInt32 cchBuffer, UInt32& dwLength)
Клиентский компьютер работает под управлением Windows 7 и клиентский профиль .NET 4 установлен .
В чем может быть проблема и как мне ее решить?