Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when updating Magenic.Open.Maqs NuGet package from 4.0.4 to 5.0.0 #5

marknoble opened this Issue Jul 24, 2018 · 2 comments


None yet
2 participants
Copy link

marknoble commented Jul 24, 2018

Severity Code Description Project File Line Suppression State
Error Could not install package 'Microsoft.Extensions.Configuration 2.1.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', 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. 0

Tried clearing the NuGet cache in VS 2017 but that didn't help.


This comment has been minimized.

Copy link

TroyWalshProf commented Jul 24, 2018

Unfortunately, there is no clean upgrade path from V4 to V5.
The team has made several big changes, such as moving to .Net Standard 2.0, lazy initialization of the web driver, support for multiple web drivers in a single test, slitting of the config file sections and adding support for .Net Core to name just a few.

So there are 2 ways to upgrade

The hard way:

  1. Make sure you are using VS2017 or above
  2. Update your projects to 4.61 or above -
  3. Update your using statments
    using Magenic.MaqsFramework to using Magenic.Maqs
  4. Use the system under test configurations
    Config.GetValue("WebSiteBase") to SeleniumConfig.GetWebSiteBase()
  5. Remove any project references to Microsoft.VisualStudio.QualityTools.UnitTestFramework
  6. Use nuget to add the MSTest.TestAdapter package
  7. Update your app.config so it has a Selenium specific section
  8. Set the App.config to copy always

The easy way:

  1. Install the latest MAQS templates. -
  2. Create a new project
  3. Copy your code into the new project
    Note* You will need to update your using statements and any place you use the config settings

This comment has been minimized.

Copy link

TroyWalshProf commented Feb 21, 2019

Latest version fixes some of the reference issues but I think that is as far as we are going to go in fixing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.