You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include the log file upgrade-assistant.clef that is produced in the working directory
None was produced, didn't find documentation where it would be created at when using VS Extension.
Describe the bug
My project is using TargetFramework=net6.0 and should be analyzed for a migration to .NET 8.
When using floating versions like 8.5.* or ranges like [8.5,9), a NuGet.0001 issue is reported, stating that the package is incompatible, recommending to use 8.5.0 instead while both variants are fine and would work when migrating.
When already on the correct version (by changing the TargetFramework to net8.0), no issue is reported anymore.
To Reproduce
Create a new .NET 6 console application from template
Add <PackageReference Include="Polly" Version="[8.5,9)" /> or `
Analyze for .NET 8 migration
See NuGet.0001 being reported
Change TargetFramework to net8.0
Analyze for .NET 8 migration again
See NuGet.0001 not being reported
Exceptions on Upgrade
When running the upgrade non-the-less, the project is upgraded correctly, but has an exception for Polly:
StreamJsonRpc.RemoteInvocationException, at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__156`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.UpgradeAssistant.VS.Slices.NuGetService.<>c__DisplayClass18_0.<<CompareVersionsAsync>b__0>d.MoveNext() in D:\a\_work\1\s\src\vs\Slices\Services\NuGet\NuGetService.cs:line 155
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.UpgradeAssistant.VS.Slices.NuGetService.<CallClientServiceAsync>d__31`1.MoveNext() in D:\a\_work\1\s\src\vs\Slices\Services\NuGet\NuGetService.cs:line 474
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.UpgradeAssistant.VS.Slices.NuGetService.<CompareVersionsAsync>d__18.MoveNext() in D:\a\_work\1\s\src\vs\Slices\Services\NuGet\NuGetService.cs:line 153
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.UpgradeAssistant.Transformers.InplacePackageReferenceTransformer.<RunAsync>d__1.MoveNext() in D:\a\_work\1\s\src\engine\Transformers\Package\InplacePackageReferenceTransformer.cs:line 99
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.UpgradeAssistant.Operations.Operation.<RunTransformerAsync>d__24.MoveNext() in D:\a\_work\1\s\src\engine\Operations\Operation.cs:line 429
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.UpgradeAssistant.Operations.Operation.<RunNodeTransformersAsync>d__22.MoveNext() in D:\a\_work\1\s\src\engine\Operations\Operation.cs:line 316
Further technical details
Windows 10 22H2
dotnet CLI 9.0.100
upgrade-assistant 0.5.829.41291
The text was updated successfully, but these errors were encountered:
upgrade-assistant.clef
that is produced in the working directoryNone was produced, didn't find documentation where it would be created at when using VS Extension.
Describe the bug
My project is using
TargetFramework=net6.0
and should be analyzed for a migration to .NET 8.When using floating versions like
8.5.*
or ranges like[8.5,9)
, aNuGet.0001
issue is reported, stating that the package is incompatible, recommending to use8.5.0
instead while both variants are fine and would work when migrating.When already on the correct version (by changing the
TargetFramework
tonet8.0
), no issue is reported anymore.To Reproduce
<PackageReference Include="Polly" Version="[8.5,9)" />
or `NuGet.0001
being reportedTargetFramework
tonet8.0
NuGet.0001
not being reportedExceptions on Upgrade
When running the upgrade non-the-less, the project is upgraded correctly, but has an exception for
Polly
:Further technical details
The text was updated successfully, but these errors were encountered: