-
Notifications
You must be signed in to change notification settings - Fork 6k
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
What are reference assemblies? #2638
Comments
@weshaggard @terrajobst any thoughts on this? |
Closest thing we have is https://github.com/dotnet/standard/blob/master/docs/history/evolution-of-design-time-assemblies.md. @svick is there more information you would like to see about reference assemblies in that doc? |
@weshaggard Thanks. That's actually more in-depth on theory than what I was expecting. I think some more practical information could be useful (like mentioning the |
I agree it might be worth a conceptional document on the official docs site. |
Hey @svick, you might find my video on reference assemblies helpful in that regard. If that's true, we've something concrete we could incorporate in our docs. |
@terrajobst Yeah, I think that's a good complement to the dotnet/standard document. |
@terrajobst, does your video also cover the C# 7.1 reference assembly feature (https://github.com/dotnet/roslyn/blob/master/docs/features/refout.md)? |
This information is now present in C# compiler options documentation: -refonly and -refout. It covers their structure well. However, there are issues:
And, most impotantly, reference assemblies from older targeting packs (.NET 4.7.2 and below), located at I suggest to create a new Reference assemblies article under https://docs.microsoft.com/en-us/dotnet/standard/assembly/ section that will include this information, and change refout/refonly articles to link info this new article, instead of directly including it in remarks. |
👍 |
I was looking for documentation explaining what reference assemblies are and didn't find any on Google or on docs.MS search. Does this information exist and did I just fail to find it?
If it doesn't exist, should it? It's a fairly advanced topic and might be considered an implementation detail, but I think this information would still be useful. It could either be a section in an existing article, or a separate article (probably a relatively short one).
In addition to the basic information, it could also explain how reference assemblies are used in .Net Framework, .Net Standard and NuGet packages. (And in the future, how the C# compiler can be used to produce them, see dotnet/roslyn#2184.)
The text was updated successfully, but these errors were encountered: