BrilBroeder
BrilBroeder

Reputation: 1579

clickonce-deploy missing microsoft dll

When I create a clickonce deploy of a wpf application many microsft dll's are missing in the deployment.

f.e. system.dll, system.data.dll, system.reactive.core.dll, system.xaml.dll, ...

Any suggestions ?

Upvotes: 0

Views: 731

Answers (1)

mm8
mm8

Reputation: 169200

Since you still need to install the .NET Framework on the computer on which you want to install the ClickOnce application, it doesn't make much sense to include these assemblies in the deployment. They should be available in the GAC anyway.

You can include any other assemblies - including the system.reactive.* ones - by including them under Project->Properties->Publish->Application Files... in Visual Studio before you publish.

If you set the Copy Local property of these assembluies to True in the Solution Explorer, they should be included by default.

Note that if these assemblies are referenced from another project than the one you publish, you should copy the references to the WPF application project that you publish. If they are part of a NuGet package you should also add that NuGet package to the project being published.

Upvotes: 2

Related Questions