-1

I have a new .net 6 solution where i have different solutions divided based on login .create user ,add file so like this 3 solutions(as part of avoiding sync issue these are being re-written) I have created a test solution same in .net 6 to write SIT tests.So far so good. Put i intend to use the new bussiness solution in old ui test project where i am using old bussiness calls written in .net 4.7.2 ,also i want to use test wrappers written in new .net 6 code in old .net 4.7.2 test project . woooosh .

If i havent confused you please tell me how best to work on this. I am planning to create nugget of new bussines functionality and then consume in old project dont know if it will work. One simplier question would be can i publist nugget og soln targeted for .net 6 to be consumed in .net 4.7.2 ???

I have already tried upgrading my .net 4.7.2 soln into .net via .net upgrade plugin but getting error in dependent 3rd party nuggets that might not be supported.

Anoop R
  • 17
  • 3
  • https://stackoverflow.com/questions/74344769/how-to-reference-net-6-0-dll-in-net-framework-4-8 – gunr2171 Aug 09 '23 at 14:34
  • so @gunr2171 i infer that we cant consume a nugget of a class library project in .net 6 in a project tagrgeting'.NETFramework,Version=v4.7.2' Severity Could not install package 'package name ' You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author(Here i am the author). – Anoop R Aug 10 '23 at 11:52

0 Answers0