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

Adding warning that AssemblyResolution works only with netframworks #1669

Merged

Conversation

engyebrahim
Copy link
Member

fix: #1645

@engyebrahim engyebrahim changed the base branch from main to rel/4.0.0 May 17, 2023 14:00
@engyebrahim engyebrahim changed the base branch from rel/4.0.0 to main May 17, 2023 14:01
src/Adapter/MSTest.TestAdapter/MSTestDiscoverer.cs Outdated Show resolved Hide resolved
@@ -127,6 +128,17 @@ public static MSTestAdapterSettings ToSettings(XmlReader reader)
return settings;
}

public static void ValidateSettings(IMessageLogger logger)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it need to be public? Can it be internal?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I do it protected I can't call it from the MSTestSettings class

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I said internal not protected :P

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry my bad

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still public

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ValidateSettings func and the class we are using it inside are in different projects can't make it internal

Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more changes and we will be good to merge

@@ -127,6 +128,17 @@ public static MSTestAdapterSettings ToSettings(XmlReader reader)
return settings;
}

public static void ValidateSettings(IMessageLogger logger)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still public

@Evangelink Evangelink merged commit d950673 into main May 19, 2023
@Evangelink Evangelink deleted the adding-Warnning-assemplyesolution-work-only-with-netframworks branch May 19, 2023 12:02
@jnyrup jnyrup mentioned this pull request Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MSTest][Discovery] Unable to load types from the test source ... Could not load file or assembly
3 participants