-
Notifications
You must be signed in to change notification settings - Fork 10.3k
MVC6 - Accessing the internal classes from another assembly #783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
InternalsVisibleTo works the exact same way as it always worked. Can you show what you tried and what doesn't work? BTW it's not specific to MVC 6, it's a general .NET feature. |
Hi Eilon, |
@Meikandan it's the same thing. Just add an AssemblyInfo.cs file (you can copy an existing one you have) and put the same attributes in it. I logged a bug to add an AssemblyInfo.cs file to new projects to make this easier. But in the meantime just add the file yourself and it will work exactly the same way it did before. |
HI Eilon, Adding the file myself got worked. Thanks, |
… their own properties Fix #783
Hi,
We are trying to access the internal classes from one project to another. Earlier in other platforms we used the "InternalsVisibleTo" attributte to achieve this. Seems this is missing in MVC6.What is the equivalent for this attribute in MVC6.
Thanks,
Meikandan
The text was updated successfully, but these errors were encountered: