Assembly dependencies

Hi,

I have started my project with VS2017 (library with .Net Framework 4.5.2) with a test project, port it to VS2019 without issues.
Yesterday, I have pass it to .Net Core 3.1, no issues too.
But if I recreate my project since the beginning with the same library, for exemple :

(J’ai commencé my bibliothèque sur VS2017 (avec le Framework .Net 4.5.2) avec un projet test, j’ai porté le tout sur VS2019 sans problème.
Hier, je l’ai passé sur le Net Core 3.1, pas de problème non plus.
Mais si je crée un nouveau projet depuis le début et que j’ajoute ma bibliothèque je ne peux plus changer ma résolution d’écran) :

    graphics_.PreferredBackBufferWidth = Constants.v2_screenWidth; //1600
    graphics_.PreferredBackBufferHeight = Constants.v2_screenHeight; //900
    graphics_.ApplyChanges();

Now it doesn’t work :confused:

I think its because now in my dependencies I don’t have Assembly tab but a Project tab with my .dll
Someone already have this issue?

(Je pense que c’est dû au fait que je n’ai plus l’onglet Assembly mais un onglet Projet avec ma .dll
Quelqu’un a déjà eu ce problème?)

Thx in advance

Okay,

I was focus to find something in Option tab to change some parameters in VS
But I have to pass my graphics change in the Initialize method.
I don’t understand why, if someone can explain to me.

(J’étais focalisé à trouver les paramétres a changer dans les Options
Mais en fait j’avais juste à passer mes changement graphique dans la méthode d’initialisation
Je ne comprend vraiment pas pourquoi ce changement, si quelqu’un pouvait m’expliquer)

Thx in advance