Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6958379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:07:54+00:00 2026-05-27T15:07:54+00:00

Ive been looking everywhere for a possible solution to this but can’t seem to

  • 0

Ive been looking everywhere for a possible solution to this but can’t seem to find an answer. My issue is that I have a few classes that need to completely hidden from Assembly.getTypes, as I’m writing a plugin for an application, and it’s picking up types that I need to remain hidden (this happens even if they are declared as private or internal classes).

anyone know how to either alter what assembly.GetTyes returns, or an ,aficionado attribute that will keep those types from being listed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:07:55+00:00Added an answer on May 27, 2026 at 3:07 pm

    This is quite a hack and is very fragile, but could work.

    Create 2 assemblies — one for the plug-in and the second for the other types. The second would be placed in another known directory and loaded dynamically into the first when needed. (For example, via Assembly.LoadFrom.)

    The first assembly would then be placed in the plug-in directory and only ever publish its types. This very fragile because you would likely have to hard-code a path to the second assembly and you run the risk of the file getting deleted or moved.

    EDIT
    @SLaks’ comment takes away the fragility of this solution. If you embed the second assembly as a resource and load it at run-time, the app calling Assembly.GetTypes won’t see the types you want hidden.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ive been looking for this answer for hours, but I cant find it. I
I've been looking everywhere but can't seem to find any examples/tutorials for my situation
I've been looking around but I can't seem to find any implementation of POSIX
I've been looking everywhere and I can't seem to find a reliable mouseenter event.
I'm beginner, but I've been looking everywhere for solution. I can't see uploaded images
I've been searching everywhere but cannot find the answer I am looking for, if
Ive been looking all over but couldn't find anything so I am here to
Ive been looking everywhere for something that could manipulate animated gif files, server-side, preferably
I've been looking everywhere... I can only find how to print a LocalReport, not
ive been thinking about this for hours and im not closer to an solution!

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.