468,317 Members | 1,522 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,317 developers. It's quick & easy.

Sharing logic between .Net Framework 4.6.2 and .Net Core 2.2

I work with a legacy application written in .Net Framework 4.6.2 and I finally have the chance to start rewriting part of it in .Net Core. Current (legacy) code makes writing unit tests harder than it should among other problems.

During the (possible) migration, both legacy and new versions would have to be kept running since not all functionality can be rewritten at once. So, I was thinking if anyone would suggest ways to make this happen.

The obvious way that comes to my mind is to create a .Net Standard project and migrate the code there. I do know from research that this would be happen if the legacy application were targeting .Net 4.7.2 if I'm not mistaken. Maybe I can do that.

But going the .Net Standard way would mean impacting the legacy application. And also, I'm pretty sure there's a lot of logic in that project that can't be placed in a .Net Standard project.

So, are there any other ways?

Nov 28 '19 #1
0 1849

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

16 posts views Thread by Robert W. | last post: by
2 posts views Thread by Carlo \(MCP only\) | last post: by
1 post views Thread by Larry | last post: by
1 post views Thread by dinosaur8000 | last post: by
2 posts views Thread by Phillip B Oldham | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.