Title: .NET Core tools version check in build.psm1 blocks the build · Issue #5260 · PowerShell/PowerShell · GitHub
Open Graph Title: .NET Core tools version check in build.psm1 blocks the build · Issue #5260 · PowerShell/PowerShell
X Title: .NET Core tools version check in build.psm1 blocks the build · Issue #5260 · PowerShell/PowerShell
Description: Condition in build.psm1 seems to be looking for exact match with "2.0.0", while the tools are of "2.0.2". This blocks the build. $dotnetCLIRequiredVersion = "2.0.0" ... # Verify if the dotnet in-use is the required version $dotnetCLIInst...
Open Graph Description: Condition in build.psm1 seems to be looking for exact match with "2.0.0", while the tools are of "2.0.2". This blocks the build. $dotnetCLIRequiredVersion = "2.0.0" ... # Verify if the dotnet in-us...
X Description: Condition in build.psm1 seems to be looking for exact match with "2.0.0", while the tools are of "2.0.2". This blocks the build. $dotnetCLIRequiredVersion = "2.0.0" .....
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5260
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":".NET Core tools version check in build.psm1 blocks the build","articleBody":"Condition in build.psm1 seems to be looking for exact match with \"2.0.0\", while the tools are of \"2.0.2\". This blocks the build.\r\n\r\n```none\r\n$dotnetCLIRequiredVersion = \"2.0.0\"\r\n...\r\n # Verify if the dotnet in-use is the required version\r\n $dotnetCLIInstalledVersion = (dotnet --version)\r\n If ($dotnetCLIInstalledVersion -ne $dotnetCLIRequiredVersion) {\r\n Write-Warning @\"\r\nThe currently installed .NET Command Line Tools is not the required version.\r\n...\r\n```\r\nExpected behavior:\r\n---------------\r\nBuild succeeds.\r\n\r\n\r\nActual behavior\r\n---------------\r\nBuild stops at warning:\r\n\r\n\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```\r\ngit clone --recursive https://github.com/PowerShell/PowerShell.git\r\nImport-Module ./build.psm1\r\nStart-PSBootstrap\r\nStart-PSBuild\r\n```\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 5.1.17025.1001\r\nPSEdition Desktop\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nBuildVersion 10.0.17025.1001\r\nCLRVersion 4.0.30319.42000\r\nWSManStackVersion 3.0\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\n```\r\n","author":{"url":"https://github.com/anmenaga","@type":"Person","name":"anmenaga"},"datePublished":"2017-10-27T21:01:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":19},"url":"https://github.com/5260/PowerShell/issues/5260"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:182e85d8-3256-4479-c4d8-c2a894f9ae8c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B384:8506A:1D7B28F:27BFA38:6A598B4B |
| html-safe-nonce | 8c26ead47f7871141d27e7eb1636876a2a592b9d9f7103f252ae13084cf37f28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzg0Ojg1MDZBOjFEN0IyOEY6MjdCRkEzODo2QTU5OEI0QiIsInZpc2l0b3JfaWQiOiI1NDA4MDI0OTg2MTIzODY0OTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 57d18320f1710ea9418ab403bd2860690b92386be6f13df8390e6b4961c51896 |
| hovercard-subject-tag | issue:269234147 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/5260/issue_layout |
| twitter:image | https://opengraph.githubassets.com/91b4ca0caa35ba5cf0765d17b1c8c9a853886bc163b7c748790523c961660f88/PowerShell/PowerShell/issues/5260 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/91b4ca0caa35ba5cf0765d17b1c8c9a853886bc163b7c748790523c961660f88/PowerShell/PowerShell/issues/5260 |
| og:image:alt | Condition in build.psm1 seems to be looking for exact match with "2.0.0", while the tools are of "2.0.2". This blocks the build. $dotnetCLIRequiredVersion = "2.0.0" ... # Verify if the dotnet in-us... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anmenaga |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624bb50a7497aa346bef8cc3743af408a9ea10ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width