-
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
Removing "netcoreapp" and "netfx" TargetGroup #457
Conversation
This collides with the work being done in #445. Can you either pause this until the other PR is in or use the same TFM name so that we can simply replace the property define here after the other one is in? |
Sure I can wait until the #445 is in |
We agreed on |
@Anipik this work is now unblocked. |
@@ -114,8 +114,8 @@ jobs: | |||
- task: CopyFiles@2 | |||
displayName: Prepare framework runtime folder to publish | |||
inputs: | |||
sourceFolder: $(Build.SourcesDirectory)/artifacts/bin/pkg/${{ parameters.framework }}/runtime | |||
targetFolder: $(Build.ArtifactStagingDirectory)/artifacts/bin/pkg/${{ parameters.framework }}/runtime | |||
sourceFolder: $(Build.SourcesDirectory)/artifacts/bin/pkg/netcoreapp5.0/runtime # The hardcoded target framework should be removed when we drop the support for versionless targetframeworks from ci. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: @jkoritzinsky
src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj
Outdated
Show resolved
Hide resolved
...sts/StressTests/System.Data.SqlClient.Stress.Tests/System.Data.SqlClient.Stress.Tests.csproj
Outdated
Show resolved
Hide resolved
src/installer/pkg/projects/netcoreapp/src/localnetcoreapp.override.targets
Outdated
Show resolved
Hide resolved
sure i can wait. let me know when i can go ahead and merge this one. |
Actually I just saw in how many places we hardcode net472 and I'm not really happy about that. As we are already touching so many files as part of this PR I would introduce a property for it |
@ViktorHofer as we are not gonna increase the netframework version, what will be the advantages of having this new property ? |
@jkoritzinsky @safern @ViktorHofer
|
Yes. You'll need to add a job to build coreclr for that pipeline now that live-live is enabled. |
@safern @ViktorHofer @ericstj can we go ahead and merge this one ? |
This has been fixed already with PR #843 which was merged in the last hour. |
Thanks @davidsh |
This one is ready to go in. the merging is blocked and require an approval |
Most of the work is done using regex. The commit messages contain the regex used for that commit.
I also introduced a new variable to track the latest version of netcoreapp, making it easier to increment for later version
.sln files will need to be updated with every new major product version.
Regexs used
netcoreapp -> netcoreapp5.0 in .sln
netcoreapp; -> netcoreapp5.0; in .props
netcoreapp- -> netcoreapp5.0- in .props
netcoreapp- -> netcoreapp5.0- in .csproj
'netcoreapp -> 'netcoreapp5.0 in .csproj
netcoreapp5.0 occurences are then replaced using the above regex by TargetFrameworkVNext
Same stuff has been done for netfx