Feedback Request and a Query on my first automated test - MoT Foundation Certificate in Test Automation - C#

Hi folks.

First time poster, short time lurker

I am doing the MoT Foundation Certificate in Test Automation - C# and I have reached Activity 2.3.3: Implement a Basic Check for Each Layer.

I have built a shiny new framework and working automated test (yay!), but I keep getting a warning when I run tests:

warning NU1701: Package ‘Microsoft.Extensions.WebEncoders.Core 1.0.0-rc1-final’ was restored using ‘.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1’ instead of the project target framework ‘net9.0’. This package may not be fully compatible with your project.

Is this ok to ignore, or am I going to run into problems further down the line when working on this course? How can I fix this if necessary, please?

Secondly, I have my repository set up in GitHub and I have my working test, as I mentioned. I guess this is where I put it up for scrutiny and ask for feedback, as part of the module exercise. :fearful:

https://github.com/softwaretester6573822/BECKY-mot-cert-support-app-csharp.git

Thanks in advance.
Becky :sunflower:

2 Likes

I’m not an expert at this, but it looks like you could probably fix your issue by updating your framework to .net9.

That said, if there’s a place to post for the course specifically, maybe ask there, as your instructors would probably have more specific instructions.

1 Like

Yes I believe you can ignore these. As @tybar mentions this is likely because you’re using a slightly different version of .net. But fortuantely the code in the project isn’t very exotic so I doubt there will be any issues.

4 Likes

Thanks Mark. I thought that was the case, but just wanted to check.

1 Like