This project has moved and is read-only. For the latest updates, please go here.

Error interioerability

Aug 19, 2013 at 6:00 PM
Error 2 The type of interoperability 'NetOffice.WordApi.Application' can not be embedded. Use the applicable interface instead. C: \ TFS \ External \ PAY-WRK \ PAY-WRK \ PayWrk \ UserControls \ Clients \ UCClientsResult.xaml.cs 42 14 PayWrk
Can you help me please?
Aug 19, 2013 at 6:06 PM
go the project references and disable the option 'embed interop types' for all NetOffice assemblies.

Aug 19, 2013 at 6:07 PM
Thank you sebastian :)) Work's fine :)
Aug 22, 2013 at 5:33 PM
I had this same problem and I did what you said. Now, I get

The type or namespace name 'NetOffice' could not be found (are you missing a using directive or an assembly reference?)

All I have done so far is using NetOffice;

Any idea?