Skip to content

Issue when trying to build a plugin project #1624

Open
@damdamo

Description

Hello SDL Community,

I have cloned the repository to import one of the projects to try and modify it and see what happens.
I am encountering an issue when I am trying to build this project on Visual Studio 2022.

I got multiple errors which have the same pattern: CS0234 The type or namespace name '... (e.g.: Desktop)' could not be found (are you missing a using directive or an assembly reference?)

I have tried multiple projects / plugins on this repository and I always get the same issue. I have been looking for in order to find the reason, and I think this is simply because when I open the project the reference to the ".dll" are not there.
When I create a Trados project from the template in Visual Studio 2022, the csproj contains an xml with references for the API, allowing me to use for example Sdl.Desktop.IntegrationApi.
On the other hand, when I open a plugin from one of the project here, the csproj that should contain these pointers for the references is empty and gave me the following message "This project does not contain a default resources file. Click here to create one."
Furthermore, on my project created from the template, I should add the reference by hand to have access to other class from the API.

I think I have missed something, but I am not able to find what. Could you tell me what I am doing wrong, or maybe something I did not understand in the current API document ?

Thank you in advance,
Regards,

Damdamo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions