-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Removing the use of RefPath and binplacing for old frameworks #31844
Comments
It has been some time since I last used implicit framework references. Do I remember correctly that when enabling the build would use the default references that come with the framework and by either referencing via ProjectReferences or named references conflict resolution would overrule the default references with the live built references? Does all that apply to .NET Framework as well? cc @ericstj |
This is more/less true. We may need to fix / modify conflict resolution to work with ProjectReferences: dotnet/sdk#2674. .NETFramework has a behavior defined by SDK + Arcade, we'd use that. We better not need conflict resolution with .NETFramework, that would imply we're OOBing .NETFramework assemblies... which isn't very popular... Even so, yes it works for .NETFramework. I think in most of our cases we wouldn't need ProjectReferences because we'd instead want to compile against the minimum thing provided by the framework and then our packaging infra would deal with getting the right version for PackageReferences. Testing infra (today) would still run on latest. We'd only need the P2P's when we wanted to use new surface area. |
Funny thing, we already do but not because of any reason, just for consistency with netcoreapp. I more or less understand what you are proposing here but I thing we should write this down in more detail. |
Goal: Next steps:
|
Assigning myself as well as the project restore work is already ongoing. @Anipik my work also covers some of the other todos so I recommend to not start with this work yet until I can clearly draw a line. |
@ericstj I'm copying your instructions to the top post. |
Thanks @ViktorHofer for letting me know. I will wait for ur work to go in and then we can evaluate about which tasks are still left. |
@ViktorHofer can i start working on this now ? |
Thanks Anirudh but I already started with the next steps in a private branch. |
//edited by @ViktorHofer, copied from #31844 (comment)
Make our non-NetCoreAppCurrent projects behave more like normal SDK projects with respect to references.
Eliminate the use of artifacts\bin\ref as the reference path for all frameworks exception NetCoreAppCurrent. Eliminate the need of depprojs.
Next steps:
cc @ericstj @ViktorHofer
The text was updated successfully, but these errors were encountered: