Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when trying to build a plugin project #1624

Open
damdamo opened this issue Aug 23, 2024 · 0 comments
Open

Issue when trying to build a plugin project #1624

damdamo opened this issue Aug 23, 2024 · 0 comments

Comments

@damdamo
Copy link

damdamo commented Aug 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant