-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Migrate SGen task to Task environment API #13457
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
Draft
OvesN
wants to merge
30
commits into
dotnet:main
Choose a base branch
from
OvesN:dev/veronikao/migrate-SGen-Task-to-TaskEnvironment-API
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+121
−25
Draft
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
ab5fdde
Migrate Al task to TaskEnvironment API
OvesN cf9553b
Merge branch 'main' into dev/veronikao/migrate-Al-task-to-TaskEnviron…
OvesN 64509ed
fix typo
OvesN 2585b4e
Merge branch 'dev/veronikao/migrate-Al-task-to-TaskEnvironment-API' o…
OvesN 1742662
Renaming, comment fix, remove nullablity check of TaskEnvironment
OvesN 1d97469
refactor common code
OvesN 23a3ede
Refactor
OvesN cfd690e
Delete ToolTask_original.txt
JanProvaznik 5f74f0e
Set directory from taskEnvironment only if GetWorkingDirectory() retu…
OvesN dbaf184
Migrate ToolTask to Task Environment API
OvesN 65f9abc
Merge branch 'main' into dev/veronikao/migrate-Al-task-to-TaskEnviron…
OvesN 828e302
Remove DeleteTempFile_WarningMessage_UsesOriginalPath test
OvesN aa6ffe2
Remove unnecessary comment formatting changes.
OvesN 2480e38
migrate SGen task to Task environment API
OvesN 8e595bb
Adressing CR comments: WindowsFullFrameworkOnlyFact added to Al tests,
OvesN c3ae8c9
Merge branch 'dev/veronikao/migrate-Al-task-to-TaskEnvironment-API' i…
OvesN 4d25a42
Path to tool absolutization fix
OvesN b04ea30
Merge branch 'dev/veronikao/migrate-SGen-Task-to-TaskEnvironment-API'…
OvesN 831794f
Merge branch 'main' into dev/veronikao/migrate-SGen-Task-to-TaskEnvir…
OvesN 1a588f3
Cleanup after merge
OvesN aaf974e
Cleanu[
OvesN 4210def
test fixes
OvesN 248a7d1
Impove tests and BuildAssemblyPath getter
OvesN 526b770
Merge branch 'main' into dev/veronikao/migrate-SGen-Task-to-TaskEnvir…
OvesN 28a1145
Adress comments, remove Path.getFullPath, fix test
OvesN 4456ddc
Merge branch 'main' into dev/veronikao/migrate-SGen-Task-to-TaskEnvir…
OvesN cbf5548
Merge branch 'dev/veronikao/migrate-SGen-Task-to-TaskEnvironment-API'…
OvesN 37f9316
Merge branch 'main' into dev/veronikao/migrate-SGen-Task-to-TaskEnvir…
OvesN d36d438
Pass null or empty value to GetAbsolutePath for BuildAssemblyPath
OvesN 0fbac5a
Merge branch 'dev/veronikao/migrate-SGen-Task-to-TaskEnvironment-API'…
OvesN File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
in the else branch, the f is null or empty, right? why do we call the FileInfoExists in such case? won't it be always false?
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.
This is to fully preserve the previous behavior. Earlier, the code passed the path directly to
SdkToolsPathUtility.FileInfoExists, and if it was null, it would throw an ArgumentNullException.