dotnet-apiport icon indicating copy to clipboard operation
dotnet-apiport copied to clipboard

The tool should compile using NET Core precompilation directives (at least as an option)

Open manuelelucchi opened this issue 3 years ago • 3 comments

Hi there, I'm porting a big WPF app to .NET Core. Since I can't just break it until it works, I used the tool to find what's not supported and then added changes the code to something supported by core if the NETCOREAPP directive is present. I ran the tool again and nothing changed in the report, since it compiles for NET 4.7.2 without any NET Core directives, and that's a difference experience compared to trying to change the target framework and compile it. I think there should be at least an option in the tool to add the Core directives or at least let you add some custom directives Regards, Manuele

manuelelucchi avatar Sep 08 '21 09:09 manuelelucchi

@preethikurup Is this something that you may consider in the new porting tooling experience?

Lxiamail avatar Sep 08 '21 16:09 Lxiamail

Any news?

manuelelucchi avatar Sep 29 '21 14:09 manuelelucchi

@Lxiamail any news?

manuelelucchi avatar Nov 08 '21 20:11 manuelelucchi

Closing as API Port was deprecated in favor of binary analysis in .NET Upgrade Assistant.

terrajobst avatar Nov 15 '22 23:11 terrajobst