microsoft / RTVS

R Tools for Visual Studio.
MIT License
389 stars 118 forks source link

API: Deployment using ClickOnce #4323

Open dskmh opened 6 years ago

dskmh commented 6 years ago

I have a custom application that uses the C# to R API that I'd like to deploy using ClickOnce. The application runs normally from VS or directly from the bin folder but gives this error if deployed through ClickOnce:

Microsoft.R.Host.exe is missing from the installation directory. Please reinstall R Tools for Visual Studio 2015

I can reproduce my issue using the sample app from @MikhailArkhipov here: https://github.com/MikhailArkhipov/RTVS-cs

Is it possible to deploy using ClickOnce?

MikhailArkhipov commented 6 years ago

Click Once may not be packaging native modules. Make sure you package the said .exe and possible C++ runtime.