Hi,
I kill my skull for a few hours now with an incoherent bug ... be saying my resource would not be linked in my project, while it is well ...
If someone can help me ... because I do not understand anything about all this error and google is not my friends
Here is a screen via dnspy for view resources i here and bug is here:
![[Image: 175068Capture.png]](https://img11.hostingpics.net/pics/175068Capture.png)
and the functions I use to write and read in my resources ...
Builder side:
Stub side:
I use ReadManaged like that:
I thank all those who can help me
I kill my skull for a few hours now with an incoherent bug ... be saying my resource would not be linked in my project, while it is well ...
If someone can help me ... because I do not understand anything about all this error and google is not my friends
Here is a screen via dnspy for view resources i here and bug is here:
![[Image: 175068Capture.png]](https://img11.hostingpics.net/pics/175068Capture.png)
and the functions I use to write and read in my resources ...
Builder side:
Code
string NameResFile = Utils.Settings.RandomString(rand.Next(5, 25 + 1));
string res1 = Utils.Settings.RandomString(rand.Next(5, 80 + 1));
string ResFile = Path.Combine(Application.StartupPath, NameResFile + ".resources");
using (ResourceWriter Writer = new ResourceWriter(ResFile))
{
Writer.AddResource(res1, compress);
Writer.Generate();
}Code
public static byte[] ReadManaged(string RessourceAdded, string filename)
{
ResourceManager Manager = new ResourceManager(filename, Assembly.GetExecutingAssembly());
byte[] bytes = (byte[])Manager.GetObject(RessourceAdded);
return bytes;
}Code
byte[] myRes = ReadManaged("GoiqViIZBLCDeZlackUfLySPXzEpyCNcRZZOWzGYRyI", "IfoTjzHillpCiyJeg");I thank all those who can help me


![[Image: Syr3DlV.png]](https://i.imgur.com/Syr3DlV.png)