Redth / dotnet-maui-check

.NET MAUI Check tool
MIT License
479 stars 79 forks source link

Failing at 'Synchronizing configuration... 'step #97

Open adamhill opened 3 years ago

adamhill commented 3 years ago

maui-check was working last week.

Saw new maui announcment yesterday. Tried to run to update, I got a:

๐Ÿš‘ .NET MAUI Check v0.6.1.0 ๐Ÿ’‰ โณ Synchronizing configuration... Error: Error resolving type specified in JSON 'DotNetCheck.Manifest.NuGetFeedVariableMapper, MauiCheck'. Path 'check.variableMappers [0].$type', line 9, position 74.%

Tried manually installing dotnet 6 preview 7 & removing and reinstalling maui-check.

No love

PaulAndersonS commented 3 years ago

Try uninstalling maui-check and reinstall or update to version 0.7.3

nickrandolph commented 3 years ago

This seems to be an issue with 0.7.3 too:

_ยป Attempting to fix: .NET SDK - Workloads (6.0.100-preview.7.21379.14) SHELL: C:\Program Files\dotnet\dotnet.exe workload repair --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-preview.7.21379.14-shipping-1/nuget/v3/index.json"

Repairing workload installation for workloads: android-aot ios maccatalyst macos maui tvos wasm-tools Installing pack Microsoft.Android.Sdk version 30.0.100-preview.7.93... Rolling back pack Microsoft.Android.Sdk installation... Workload repair failed: microsoft.android.sdk.windows::30.0.100-preview.7.93 is not found in NuGet feeds https://api.nuget.org/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-preview.7.21379.14-shipping-1/nuget/v3/index.json"._

adamhill commented 3 years ago

Trying to install 0.7.3 fails too.

โฏ dotnet tool update -g --verbosity d redth.net.maui.check --version 0.7.3

Build started 8/14/2021 10:27:45 PM. 0>Process = "/usr/local/share/dotnet/dotnet"

... (All gray)

Resolving conflicts for net6.0... Scanning packages for runtime.json files... Restoring packages for net6.0/any... Resolving conflicts for net6.0/any... 1>/var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj : error NU1102: Unable to find package redth.net.maui.check with version (>= 0.7.3) /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj : error NU1102: - Found 36 version(s) in nuget.org [ Nearest version: 0.6.1 ] /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj : error NU1102: - Found 0 version(s) in /usr/local/share/dotnet/library-packs Committing restore... Writing assets file to disk. Path: /Users/adamhill/.dotnet/tools/.store/.stage/1idvq2gu.v5u/project.assets.json Failed to restore /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj (in 404 ms).

     NuGet Config files used:
         /Users/adamhill/.nuget/NuGet/NuGet.Config

     Feeds used:
         https://api.nuget.org/v3/index.json
         /usr/local/share/dotnet/library-packs
   Done executing task "RestoreTask" -- FAILED.
 1>Done building target "Restore" in project "restore.csproj" -- FAILED.
 1>Done Building Project "/var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj" (Restore target(s)) -- FAILED.

Build FAILED.

   "/var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj" (Restore target) (1) ->
   (Restore target) ->
     /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj : error NU1102: Unable to find package redth.net.maui.check with version (>= 0.7.3)
   /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj : error NU1102:   - Found 36 version(s) in nuget.org [ Nearest version: 0.6.1 ]
   /var/folders/tr/1bh5hz6d5559f3249fqcqg880000gn/T/c0n113ln.mz1/restore.csproj : error NU1102:   - Found 0 version(s) in /usr/local/share/dotnet/library-packs

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.89 Tool 'redth.net.maui.check' failed to update due to the following: The tool package could not be restored. Tool 'redth.net.maui.check' failed to install. This failure may have been caused by:

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

lnsiqueira commented 3 years ago

I have the same problem

โณ Synchronizing configuration... Error: Error resolving type specified in JSON 'DotNetCheck.Manifest.NuGetFeedVariableMapper, MauiCheck'. Path 'check.variableMappers[0].$type', line 9, position 74.%

Could someone help me , please. I use macOS and .net 6.0.100-preview.7.21379.14