Essential Guide: Visual Studio 2010 Tools for Office Runtime (x64)

In your Visual Studio project, you must explicitly select as the target platform in the build configuration. The default "Any CPU" setting may not be sufficient when referencing 64-bit native components.

The runtime is necessary whenever an enterprise or developer deploys the following assets:

$dotnet45 = Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' -ErrorAction SilentlyContinue if ($dotnet45) $dotnetVersion = (Get-ItemProperty -Path $dotnet45.PSPath -Name Release).Release if ($dotnetVersion -ge 378389) Write-Host ".NET Framework 4.5+ detected - Good for VSTO." -ForegroundColor Green else Write-Host ".NET Framework 4.0 detected – compatibility limited." -ForegroundColor Yellow

For mass deployment across an enterprise network using Microsoft Endpoint Configuration Manager (SCCM) or Group Policy, use the silent switch command line: vstor_x64.exe /q /norestart Use code with caution. Troubleshooting Common Errors "The runtime missing or not configured correctly"