Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add satellite assemblies to a project in Visual Studio

I'm working in a project which references assemblies from a third company. These assemblies have satellite assemblies that I'm copying with a post-build event to the bin folder.

Is There a way to include those third party satellite assemblies into the project so I have not to care with the post-build events and maintaining the files?

Thanks in advance.

MORE INFORMATION: As the references have only resources they are not added as project references, actually I'm just copying them to the // folder. As each localized reference has the same name I would only be able to add it one time to the project's references.

like image 337
Ignacio Soler Garcia Avatar asked Nov 17 '25 20:11

Ignacio Soler Garcia


1 Answers

It is automatic in the C# IDE. Setting Copy Local = True on the assembly reference ensures that the satellite assemblies get copied as well. In the C++ IDE it is a setting: Framework + References, Build properties category, "Copy Local Satellite Assemblies".

There's not enough info in your question to narrow down which IDE you use or why it wouldn't work for you. Maybe that 3rd party is doing something non-standard. Give them a call.

like image 76
Hans Passant Avatar answered Nov 20 '25 18:11

Hans Passant



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!