Home > Net >  Questions about the c # release resources.
Questions about the c # release resources.

Time:11-24

I want to release a DLL, the DLL is probably the appearance of the 1 m
But why there are 2 m generated file, isn't it should be more than 1 m a few k?

CodePudding user response:

Don't release, use Costura Fody

CodePudding user response:

reference 1st floor puzzle bobble response:
don't release, with Costura. Fody

The generated file size is only 500 k, run also error
System. IO. FileLoadException: "failed to load file or assembly" System. The Data, SQLite, Version=1.0.74.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139 "or one of its dependencies, try using the links address information (more than 2 or have a TLS section of IAT) load can't verify the executable file,

CodePudding user response:

reference isfiefiq reply: 3/f
Quote: refer to 1st floor puzzle bobble response:

Don't release, with Costura Fody

The generated file size is only 500 k, run also error
System. IO. FileLoadException: "failed to load file or assembly" System. The Data, SQLite, Version=1.0.74.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139 "or one of its dependencies, try using the links address information (more than 2 or have a TLS section of IAT) load can't verify the executable file,

This also don't understand is generated inside the file without your references, he copied to the generation of the package of you

CodePudding user response:

About your System. Data. SQLite reference is wrong, it has several versions, you want to use that version of the static link

CodePudding user response:

I often go wrong,
  •  Tags:  
  • C#
  • Related