I have a project, which is intended to be run under x86 platform, but I have a 3rd party assembly which gives me a BadImageFormatException.
I could use corflags utility to set the 32BIT flag, but then I'll have to resign the assembly.
Will this be legal?
Can I re-sign a 3rd party assembly?
300 views Asked by vyakhir At
1
There are 1 answers
Related Questions in .NET
- file download method in visual studio 2017
- Repository manager receives the wrong connection string in .net core
- MongoDb not connecting C#
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Why Scanning GSI on DynamoDb doesnt work as fast as expected when using CONTAINS?
- Are "blittable types" really unmanaged types for StructLayout Sequential
- Failed to fetch dynamically imported module on Blazor JS Interop
- Problem to upload several images per one request
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Stripe connect payout - throws exceptions
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Convert C# DateTime.Ticks to Bigquery DateTime Format
- Socket.io nodejs server .NET connection
- Producer Batching Service Bus Vs Kafka
Related Questions in ASSEMBLY-SIGNING
- Using .Net Delayed Signing With Digicert Certificate
- Web Deploy publishing snk file
- Can MSBuild's SignFile be used without installing the certificate?
- Error MSB3325: Cannot import the following key file
- Azure DevOps Pipeline - Bypassing Strong Name Validation
- Can .NET assemblies signed with PublicSign be later real-signed?
- Verify the signing of manifest and application files
- How can I add an assembly signing file (*.pfx) to my MyGet build?
- How I can reference a not strong typed dll on a class library project that is registered for com interop?
- Assembly signing - Xamarin pcl and UWP app
- postbuild-event fails because MSB3073
- Should I sign assemblies used in asp.net MVC / WebAPI app?
- Signing unsafe assemblies with asymmetric key
- .Net Assembly signing and Certificate Revocation List check
- MSB3073 command exited with 1
Related Questions in CORFLAGS
- Target "Any CPU" with "Prefer 32-bit" disabled gets compiled with 32-bit preference anyway
- Debugging of assemblies with CorFlags ILLibrary flag set
- Run corflags automaticly after build
- Which VisualStudio-Settings change CorFlags (32BITREQ)
- How to Force an assembly to run as x64 bit which was built against AnyCPU platform?
- Why corflags.exe can't change PE32+ to PE32?
- Load dll with Platform target 'Any CPU' in Python
- Why is my 64 bit service running as 32 bit?
- CorFlags versions for VS 2008, VS 2010, VS 2012, VS 2013
- Interpreting the CorFlags flags
- Why does my website need "Enable 32-bit applications"?
- Corflags.exe cf001 Could not open file for wiriting
- Where can I find a reference for what every bit of the CorFlags value means?
- Prefer32Bit Flag on project file
- Can I re-sign a 3rd party assembly?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You should try to run application the hosting process in a 32 bit. If that is not possible or a requirement you should also deal with the implications of licensing on your 3rd party assembly.
Some open source licenses allows you to make changes to the assemblies including strong signing but you have to share the changes to the code or binaries. Other licenses don't care what you do with the code and assemblies as long as you mention them in the documentation or license.
With "commercial" 3rd party assemblies you probably will be violating the license if you re-sign the assembly. I'd suggest you to contact them and ask them for the signed assemblies.