Trying to build bare extension template, VS2010 gives me 'can't access Project1.sdlplugin, used by another process'

I am trying to build an extension for Trados 2014.  It seems as though there are new SDK components, but no new SDK, so I am using the older SDK posted here, which seems to dump its output into SDL\SDL Trados Studio\11 -- is that much right?

I am trying to build the project template with no modifications at all, just to prove I can get that far before I write a line of code.  I generated a strong name with the .NET "sn" tool, and indicated the file generated in both AssemblyInfo.cs and the Project "Signing" properties.

No matter what I do to get around it, including hand-delete steps in the BuildEvents, VS 2010 gives me "MSBUILD : error PFE403: The process cannot access the file 'c:\Users ...... 11\Plugins\Packages\Plug-in Project1.sdlplugin".  Of course, I have done this from a freshly-booted machine and hand-deleted Project1 artifacts in that directory before even bringing up Visual Studio.

Has anyone else encountered this problem? I've seen reports on the web of similar problems with DLL's, but the ways of getting around it don't seem to work for the .sdlplugin file.

Any help would be appreciated, for I can't write the first line of code until this is conquered.

Thanks

Bernie

Parents Reply
  • Hi Bernie,

    I had a quick chat with a developer who gave me this info that might help (based on his experience)...

    I don’t think it should cause any problem compiling into the local directory and ignoring the roaming directory... seem remember testing this a while back...

    Try this:

    Keep the output path for the development project pointing to the local directory (for debug and release)

    Roaming directory
    Remove the .plugin from {roaming} /packages directory
    Remove the unpacked plugin folder from the {roaming} /unpacked directory

    Local directory
    Leave the .plugin in the {local} /packages directory
    Remove the unpacked plugin folder from the {local} /unpacked directory

    Now launch Studio 2014, Studio should read your plugin correctly.

    Note: Might be that you need to delete the unpacked plugin folder from the {local} /unpacked directory each time you compile a new build so that studio re-explodes the archive -> recreating that /unpacked folder from the compiled .plugin each time; think I remember coming across an issue like this a few weeks ago but can’t remember the particulars; worth a try.

    if this doesn't work, then simply go back to compiling everything into the {roaming} directory again... the plugin should get compiled correctly before you receive the access violation error message; in this case remember to delete the .plugin and /unpacked folder from the {local} directories.

    I hope this helps.

    Regards

    Paul

    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

Children