Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamian Edwards <damian@damianedwards.com>2022-09-15 00:09:20 +0300
committerGitHub <noreply@github.com>2022-09-15 00:09:20 +0300
commit07e2bc649a9a69f9fab6765c073990be6de5dece (patch)
tree7726774e5332cf38328f62998bad7bc02edc60db
parent272eb0ded7ee8dc811dc3d9a1454d2a014e3bc95 (diff)
parentf4ce5d543d535da5a93ca3bcd6d0380ee6b8d281 (diff)
Merge pull request #7806 from dotnet/DamianEdwards-known-issues-user-jwts
Update user-jwts versions in 7.0 rc.1 known issues
-rw-r--r--release-notes/7.0/known-issues.md61
1 files changed, 37 insertions, 24 deletions
diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md
index f96b529a..a5363438 100644
--- a/release-notes/7.0/known-issues.md
+++ b/release-notes/7.0/known-issues.md
@@ -76,10 +76,14 @@ Could not load file or assembly 'Microsoft.Extensions.Configuration.Binder, Vers
To circumvent this issue, you will need to modify the local installation to probe correctly for the `Microsoft.Extensions.Configuration.Binder` assembly
1. Locate the `user-jwts` tool directory in your local SDK installation. This will typically be located in a path as follows:
-
-```
-~/.dotnet/sdk/7.0.100-rc.2.22419.24/DotnetTools/dotnet-user-jwts/7.0.0-rc.1.22415.4/tools/net7.0/any
-```
+ - on Linux/macOS:
+ ```
+ ~/.dotnet/sdk/7.0.100-rc.1.22431.12/DotnetTools/dotnet-user-jwts/7.0.0-rc.1.22427.2/tools/net7.0/any
+ ```
+ - on Windows:
+ ```
+ C:\Program Files\ddotnet\sdk\7.0.100-rc.1.22431.12\DotnetTools\dotnet-user-jwts\7.0.0-rc.1.22427.2\tools\net7.0\any
+ ```
2. Locate the `dotnet-user-jwts.deps.json` file and make the following modifications:
@@ -87,45 +91,54 @@ To circumvent this issue, you will need to modify the local installation to prob
{
"targets": {
".NETCoreApp,Version=v7.0": {
- "dotnet-user-jwts/7.0.0-rc.1.22415.4": {
+ "dotnet-user-jwts/7.0.0-rc.1.22426.10": {
"dependencies": {
-+ "Microsoft.Extensions.Configuration.Binder": "7.0.0-rc.1.22411.12"
++ "Microsoft.Extensions.Configuration.Binder": "7.0.0-rc.1.22426.10"
},
-+ "Microsoft.Extensions.Configuration.Binder/7.0.0-rc.1.22411.12": {
++ "Microsoft.Extensions.Configuration.Binder/7.0.0-rc.1.22426.10": {
+ "dependencies": {
-+ "Microsoft.Extensions.Configuration.Abstractions": "7.0.0-rc.1.22411.12"
++ "Microsoft.Extensions.Configuration.Abstractions": "7.0.0-rc.1.22426.10"
+ },
+ "runtime": {
+ "lib/net7.0/Microsoft.Extensions.Configuration.Binder.dll": {
+ "assemblyVersion": "7.0.0.0",
-+ "fileVersion": "7.0.22.41112"
++ "fileVersion": "7.0.22.42610"
+ }
+ }
},
},
"libraries": {
-+ "Microsoft.Extensions.Configuration.Binder/7.0.0-rc.1.22411.12": {
++ "Microsoft.Extensions.Configuration.Binder/7.0.0-rc.1.22426.10": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "",
-+ "path": "microsoft.extensions.configuration.binder/7.0.0-rc.1.22411.12",
-+ "hashPath": "microsoft.extensions.configuration.binder.7.0.0-rc.1.22411.12.nupkg.sha512"
++ "path": "microsoft.extensions.configuration.binder/7.0.0-rc.1.22426.10",
++ "hashPath": "microsoft.extensions.configuration.binder.7.0.0-rc.1.22426.10.nupkg.sha512"
+ },
}
}
```
3. Locate the `Microsoft.Extensions.Configuration.Binder` assembly in the directory associated with the `Microsoft.AspNetCore.App` shared runtime. This will typically be located in a path as follows:
-
-```
-~/.dotnet/shared/Microsoft.AspNetCore.App/7.0.0-rc.1.22415.4
-```
-
+ - on Linux/macOS
+ ```
+ ~/.dotnet/shared/Microsoft.AspNetCore.App/7.0.0-rc.1.22427.2
+ ```
+ - on Windows
+ ```
+ C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\7.0.0-rc.1.22427.2
+ ```
+
4. Copy the assembly from Step 3 to the `user-jwts` tool directory from Step 1.
-
-```
-$ cp ~/.dotnet/shared/Microsoft.AspNetCore.App/7.0.0-rc.1.22415.4/Microsoft.Extensions.Configuration.Binder.dll
-~/.dotnet/sdk/7.0.100-rc.2.22419.24/DotnetTools/dotnet-user-jwts/7.0.0-rc.1.22415.4/tools/net7.0/any
-```
-
-This issue will be resolved in .NET 7 RC 2. \ No newline at end of file
+ - on Linux/macOS
+ ```
+ $ cp ~/.dotnet/shared/Microsoft.AspNetCore.App/7.0.0-rc.1.22427.2/Microsoft.Extensions.Configuration.Binder.dll ~/.dotnet/sdk/7.0.100-rc.1.22431.12/DotnetTools/dotnet-user-jwts/7.0.0-rc.1.22427.2/tools/net7.0/any
+ ```
+ - on Windows
+ ```
+ > copy C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\7.0.0-rc.1.22427.2\C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\7.0.0-rc.1.22427.2 C:\Program Files\ddotnet\sdk\7.0.100-rc.1.22431.12\DotnetTools\dotnet-user-jwts\7.0.0-rc.1.22427.2\tools\net7.0\any
+ ```
+
+5. Note that the install directory for the SDK may not be deleted during uninstall due to applying this workaround, e.g. when updating to 7.0.0-rc.2. If that occurs, delete the directory manually.
+
+This issue will be resolved in .NET 7 RC 2.