-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Consider collapsing libraries reference and source projects #37961
Comments
Tagging subscribers to this area: @safern, @ViktorHofer |
While I totally agree that this would give us a lot of benefits, it is also worth noting some of the drawbacks of this:
|
In addition to what @joperezr expressed above, here are some of the concerns that @ericstj expressed around the RefOut feature:
|
That's TBD. Presumably the same way we do today by comparing the generated reference assembly with the source one (which might or might not be beneficial, ie refout might already guarantee that). We would still generate the reference and the source assemblies so ApiCompat would be able to compare them.
AFAIK we already do: https://github.com/dotnet/runtime/blob/master/src/libraries/shims/ApiCompat.proj#L102-L119.
Agree. We could still check-in a generated reference file for such purpose. |
Related issue: #28888 that we might want to address if we decide to use the linker to trim down produced reference assemblies. |
Closing as dup of #58163 |
Reference assemblies can be generated by roslyn via the RefOut feature. Even though the RefOut feature would handle most of the requirements, there are other ways to accomplish this.
Collapsing our ref and source projects together would help us make progress on different developer productivity asks:
dotnet/project-system#6069 tracks reducing project load times inside VS when using nuget msbuild resolvers, which I see as a precursor to add a Libraries.sln to the repo.
Related issues that would be fixed by this:
cc @ericstj @joperezr @jaredpar @safern @Anipik
The text was updated successfully, but these errors were encountered: