dotnet-apiport
dotnet-apiport copied to clipboard
What could be the reason for getting the message "No files were found to analyze." when using apiport console app
apiport is giving the message "No files were found to analyze" in spite of the fact that the folder that we specified contains .dll files.
@amita-git01 can you share the command that you used?
Hi, PFA the screenshot.
Thanks, Amita
From: Alicia Li @.> Sent: Friday, August 6, 2021 10:26 PM To: microsoft/dotnet-apiport @.> Cc: Shrivastava, Amita @.>; Mention @.> Subject: Re: [microsoft/dotnet-apiport] What could be the reason for getting the message "No files were found to analyze." when using apiport console app (#986)
This mail has been sent from an external source
@amita-git01https://github.com/amita-git01 can you share the command that you used?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/dotnet-apiport/issues/986#issuecomment-894389293, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU3NBQYR5WGJKNQ3Z6MXPLTT3QH4ZANCNFSM5BIWCS3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
I didn't see any screen shot. Did I miss anything obvious?
Yes, It is added as an attachment .
the command used is,
ApiPort.exe analyze -f C:\git\Application
Also, can we know what is the meaning of Skipped Assemblies, that we get in the report along with Unresolved Assemblies
Thanks, Amita
From: Alicia Li @.> Sent: Monday, August 9, 2021 9:39 PM To: microsoft/dotnet-apiport @.> Cc: Shrivastava, Amita @.>; Mention @.> Subject: Re: [microsoft/dotnet-apiport] What could be the reason for getting the message "No files were found to analyze." when using apiport console app (#986)
This mail has been sent from an external source
I didn't see any screen shot. Did I miss anything obvious?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/dotnet-apiport/issues/986#issuecomment-895350276, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU3NBQ53X5V4II7PXCR46RDT374SRANCNFSM5BIWCS3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Hi, Any update on the below issue.
Thanks, Amita
From: Shrivastava, Amita @.> Sent: Tuesday, August 10, 2021 12:27 AM To: microsoft/dotnet-apiport @.> Subject: Re: [microsoft/dotnet-apiport] What could be the reason for getting the message "No files were found to analyze." when using apiport console app (#986)
Yes, It is added as an attachment .
the command used is,
ApiPort.exe analyze -f C:\git\Application
Also, can we know what is the meaning of Skipped Assemblies, that we get in the report along with Unresolved Assemblies
Thanks, Amita
From: Alicia Li @.> Sent: Monday, August 9, 2021 9:39 PM To: microsoft/dotnet-apiport @.> Cc: Shrivastava, Amita @.>; Mention @.> Subject: Re: [microsoft/dotnet-apiport] What could be the reason for getting the message "No files were found to analyze." when using apiport console app (#986)
This mail has been sent from an external source
I didn't see any screen shot. Did I miss anything obvious?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/dotnet-apiport/issues/986#issuecomment-895350276, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU3NBQ53X5V4II7PXCR46RDT374SRANCNFSM5BIWCS3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
I also just hit this issue and for me it turned out to be due to the IsFrameworkAssembly in ReflectionMetadataDependencyInfo.cs. I was trying to analyze some Azure blob libraries to see if I could still use them with .NET Core. After I hacked up the apiport tool I found that yes they are 100% compatible. This seems like a limitation of the tool that you can't analyze some DLLs produced by Microsoft. Could a switch be added to allow such a thing?
Also, can we know what is the meaning of Skipped Assemblies, that we get in the report along with Unresolved Assemblies
Skipped Assemblies mean the assemblies produced by Microsoft. This functionality was added to reduce the noise of the portability report because it is not helpful info but noise to analyze the assemblies that you don't own, like Microsoft assemblies. Instead, for binaries (Microsoft or other third party boinaries) that you don't own, you should look up if there is newer version supports the .NET that you want to move to.
@Lxiamail in our case we often have no other option than to use the net45 DLLs (e.g. WebAPI, OData, many others). This is an acceptable solution because these DLLs are 100% compatible but the only way to find that out is to hack up the API port tool to allow us to analyze them. Adding an option to allow this would be helpful.
I find this limitation also very irritating
Closing as API Port was deprecated in favor of binary analysis in .NET Upgrade Assistant.