Open bswift-kj opened 2 years ago
@bswift-kj Could you please provide the .csproj file you are using and also the .clef file for logs? If you are unable to upload here, feel free to email to dotnetupgradeassist@microsoft.com
I am unable to upload or email that emails address (RESOLVER.RST.SenderNotAuthenticatedForGroup; authentication required; Delivery restriction check failed because the sender was not authenticated when sending to this group).
I'm experiencing absolutely the same issue. I follow the guide from the documentation https://docs.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-aspnetmvc with absolutely freshly created MVC project (.net 4.5.2). I run the upgrade-assistant and second step that converts the project file fails with 'Unexpected error applying step System.Collections.Generic.KeyNotFoundException: The given key 'System.ComponentModel.Annotations' was not present in the dictionary.'
I even excluded 'System.ComponentModel.DataAnnotations' and still same result.
any solution for this problem?
Recently, I also meet the same issue, and found a relation issue
<ItemGroup Condition="'$(TargetFramework)'=='net472' Or '$(TargetFramework)'=='net461'">
<Reference Include="System.ComponentModel.DataAnnotations" />
</ItemGroup>
This solved my issue
Describe the bug
We are trying to upgrade some class libraries, currently built in .NET Framework 4.7.2, and will occasionally get a KeyNotFound Exception that references System.ComponentModel.Annotations. However this reference is not located in this project. We are not sure why this is happening. We have spoken with Microsoft and they recommended that I ask here. I am happy to provide the .csproj file and .clef files if requested, but does not look like I can upload it here.
To Reproduce
Can supply project files if requested.
Exceptions (if any)
Further technical details
Thank you for your help.