You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, now I have a problem with my MsTest UnitTest project which references my UI project!
I receive the error:
"Framework: 'Microsoft.Maui.Core', version '7.0.92' (x64). .NET location: C:\Program Files\dotnet? No frameworks were found."
Desperately, the message is incorrect and directed in the wrong direction!
Because, I installed all MAUI workloads and especially as explained above the problem comes from a configuration to be applied...
Could you please help me to find this configuration?
I thank you in advance!
Best regards
Davy
Original Comments
Feedback Bot on 10/6/2023, 06:57 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered:
They are referencing a generic class project (net7.0) into the UI Project (which are all platform specific). The error is correct. If you want to test UI specific code, you would need a test runner and do it on device. If there is code beyond UI that is generic, but inside of that project, it would need to be moved out into a class library that did target net7.0 specifically.
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work]
Hello everyone,
I didn't know true before and it solved my problem with my class library.
On my UI .csproject I defined:
And on my Interface .csproject (which is a Class library), I defined:
Unfortunately, now I have a problem with my MsTest UnitTest project which references my UI project!
I receive the error:
Desperately, the message is incorrect and directed in the wrong direction!
Because, I installed all MAUI workloads and especially as explained above the problem comes from a configuration to be applied...
Could you please help me to find this configuration?
I thank you in advance!
Best regards
Davy
Original Comments
Feedback Bot on 10/6/2023, 06:57 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: