Build error: Unable to copy file

Trying to build a simple sample application simply through loading one of the SDK samples in Visual Studio 2013 I get the following error:

Error    1    Unable to copy file "app.config" to "C:\Program Files (x86)\SDL\SDL Trados Studio\Studio4\Sdl.SDK.LanguagePlatform.Samples.BatchImporter.exe.config". Access to the path 'C:\Program Files (x86)\SDL\SDL Trados Studio\Studio4\Sdl.SDK.LanguagePlatform.Samples.BatchImporter.exe.config' is denied.    Sdl.SDK.LanguagePlatform.Samples.BatchImporter

What am I doing wrong?

I'm sure this is very basic, but are there some instructions for how to build (and deploy) a non-.sdlplugin application in a simple way?
 
/Dummy

Parents
  • Studio plugins are loaded from a location specific to each user which has the following structure: C:\Users\[UserID]\AppData\Roaming\SDL\SDL Trados Studio\12\Plugins\Packages.A studio plug can be also recognized by the file type extension which is .sdlplugin. Besides standard plugins that are automatically loaded by Studio you can also build stand alone application that can use Studio API to automate various process or workflows. To run this type of apps you must let them know from where to find the Studio assemblies they require. The most simple way to do that is to copy the application inside Studio installation folder. The main drawback of this approach, as you could already find out, is the fact that you need to be an admin to be able to copy the application (if you install Studio outside of Program Files this is no longer a problem). The other solution, which I recommend, is to use the assembly resolver.

     As you can see from my above answer the plugins are actually working as you suggested and are loaded from the user profile. Please also keep in mind that this community is about sharing knowledge and helping other community members with their challenges and issues. So please help community fellows by answering their questions in a constructive way from which they can benefit. You can always start your own discussion thread for the topic you consider that is worth discussing within the community.

    Romulus Crisan | Translation Productivity Development Manager | SDL | (twitter) @cromica_82 | (blog) http://www.romuluscrisan.com/

  • Exactly... and the original poster is not creating an sdlplugin anyway. He asked about a non-sdlplugin.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Reply Children
No Data