Comments (2)
Why do you need to load the assembly manually?
The assembly is being loaded twice because technically it's 2 different assemblies. Once by Costura from the embedded resource, and once by your code loading the assembly from disk. Because these assemblies are not signed they can have the same name and version and still be considered different by the CLR. That's why both are loading.
from costura.
Hi Cameron,
thanks for your answer. Actually, this revealed a serious problem in my framework. Now it is fixed :) So, you're right, this behavior is absolutely correct.
from costura.
Related Issues (20)
- win32 dll [DllImport("helloword.dll")] OR [DllImport("helloword.so")] HOT 1
- Files not merging - "Package reference missing 'compile' part in IncludeAssets" HOT 2
- Once i install Costura.Fody to my project and then build.. windows defender catches my app.exe as a Trojan:Script/Wacatac.B!ml HOT 1
- An MSBuild Error that tells you nothing useful HOT 3
- Invalid attempt to merge ffmpeg DLL into C# exe,Has anyone tried that? HOT 1
- Unable to switch languages according to regional settings HOT 2
- Some users have crashes running on windows 7. HOT 1
- FileNotFoundException when using referenced assembly in x64 project HOT 4
- AutoCAD plug-in packaging is not supported HOT 2
- Language Resources Not Being Included HOT 4
- problem virus all virtualtotal. HOT 1
- The type initializer for 'Microsoft.Data.SqlClient.TdsParser' threw an exception HOT 12
- NET Framework 4.8 project: the bin\Release contains37 files. HOT 1
- i think <Costura IncludeDebugSymbols='false' /> disables the disable cleanup HOT 3
- Can't locate embedded satellite assembly HOT 5
- Fody.Costura on multi-target (.NET7 + .NET Framework 4.8.1) Class Library - Failure to Embed Dependencies HOT 4
- Make Unmanaged32Assemblies and Unmanaged64Assemblies works for Linux and macOS executables HOT 1
- Migrate to netStandart HOT 3
- I used Costura.Fody in my project to package it as a class library for others to call HOT 2
- Can support for C++/CLI be added? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from costura.