How to copy a file to project programmatically in Eclipse RCP - eclipse-plugin

I want to programmatically copy a specific file (../example/example01.data) deployed in my rcp program to the project folder created at runtime in the project explorer of my RCP program.
The file(:example01.data) is a file that the program user will use as a reference while using the program.
The file(:example01.data) is include in my RCP program.
enter image description here

Related

What files need to be deployed with a VS2019 app with a report viewer control

I have a VS 2019 app that uses a report viewer control. The control was added to the ToolBox by adding the file "[ProjectName]\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.150.1484.0\lib\net40\Microsoft.ReportViewer.WinForms.dll. There are a bunch of other files in this \package folder.
Which of these folders and/or files need to be deployed with this app. I'm using InnoSetup to create the deployment package? Should I deploy all files for the references in this project?
Adding the report viewer control to VS 2019 involves installing the NuGet package "Microsoft.ReportingServices.ReportViewerControl.Winforms". This added a subfolder to the project folder entitled "packages". All .dll files included in that folder need to be installed on the users' PC's.

How to enable open location on a shorcut in VB.NET?

I'm creating an installation program for my VB.NET application; after install my application I get the icon on my desktop with the right icon image and open the right application but when I right click on the shortcut --> Properties the "Open location" button is grayed out.
There's a way to create a regular shortcut with all the buttons enabled?
Second, my application is being installed inside Program Files(x86)\Microsoft\MyApp, there's a way to specify a directory outside program files?
I need to write log files and that directory needs that the application runs as Administrator to do that.
I created the installer by adding an Assisted Installation project to my application project.
I tried by using MyAppSetup.exe and the msi package too with the same results.

How to deploy .bin files from Visual Studio project?

I'm making windows application in VB.NET and I added some files in my project in solution explorer and I set on every file I added
"Copy to Output Directory: Copy Always"
but it deploy every file except .bin files after publishing.
It work in debugging mode, but not when I publish it. any help please, how to deploy .bin files?
Thanks.
What is the Build Action property of those files set to? If it is Content then I believe that they should be included in the deployment automatically. If not, open the Publish page of the project properties and click the Application Files button. There you can control what files are included in the ClickOnce deployment.

Xcode - library project with file template asset

I'm creating a library project in xcode. The library will rely heavily on a specific pattern for which I've created a file template. This works fine when I copy the template catalog to the "File Templates" catalog.
The question is:
Can I add this template to my library project? The way I imagine it the file template would automagically be added to xcode when user drags my library project into his/hers project.

How to run a .exe with dll in different location

I am working in C# and implementing Plugin Management feature to our application. I look through dll and exe to load up plugins that are in a specific folder say Plugins. These plugin applications have their own folder when they are installed and I will copy over the plugin application exe/dll to the Plugins folder. However, there are some plugin applications that requires other dlls to run, but I want to minimize the duplication. Is there a way that I can just copy over the .exe to the Plugins folder and have the other dependent dll files locate in other folder? How would I load the the plugin in c# if the .exe and .dll is not in the same location?
Thanks.
Check http://mef.codeplex.com/Wikipage