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

Fix for #14013: App config for StyleCheck #16196

Merged
merged 1 commit into from Feb 22, 2019
Merged

Conversation

portablestew
Copy link
Contributor

@portablestew portablestew commented Feb 11, 2019

Fixes #14013

Running "make check" causes a ReflectionTypeLoadException to be thrown (at least, on my machine). The exception is that it cannot find the "OpenRA.Mods.Common" assembly. Only building from MonoDevelop seems to have this problem. Cleaning and rebuilding with "make all" allows "make check" to temporarily work again.

This PR copies the same "App.config" from OpenRA.Test, into OpenRA.StyleCheck. Since that config includes "mods/common" as a search path, the exception no longer occurs after building from MonoDevelop. I am unsure exactly how the two build processes differ.

Copy link
Contributor

@reaperrr reaperrr left a comment

Choose a reason for hiding this comment

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

I don't use MonoDevelop, but since it works for you and doesn't regress compiling on Windows on my end I see no reason to not merge this.

Copy link
Member

@pchote pchote left a comment

Choose a reason for hiding this comment

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

Repro case and fix confirmed 👍

@pchote pchote merged commit d592f37 into OpenRA:bleed Feb 22, 2019
@portablestew portablestew deleted the stylecheck branch February 24, 2019 01:12
reaperrr added a commit to reaperrr/OpenRA that referenced this pull request Feb 28, 2019
Since OpenRA#16196, this is automatically created on compile.
reaperrr added a commit to reaperrr/OpenRA that referenced this pull request Mar 3, 2019
reaperrr added a commit that referenced this pull request Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants