Does anyone know how to get a ClickOnce application to recognise a file association.

Basically to launch the application when you double click on the file and pass the file in as a parameter.

For some reason when i try this with a ClickOnce deployment it will launch the app but Will Not pass the file in as an argument. It seems to work in debug but not when i package the app.

any comments on this appreciated.