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

Build Failed : Error MSB4126 #148

Open
Amrothian opened this issue Mar 24, 2020 · 5 comments
Open

Build Failed : Error MSB4126 #148

Amrothian opened this issue Mar 24, 2020 · 5 comments
Labels

Comments

@Amrothian
Copy link

Amrothian commented Mar 24, 2020

I have encountered an issue while attempting use the command "make all" for the first time in order to compile an example modding file.

C:\Users\User\Downloads\OpenRAModSDK-20200202\OpenRAModSDK-20200202\engine\OpenRA.sln.metaproj : Error MSB4126: The specified solution configuration "Debug:MCD" is invalid. Please specify a valid solution configuration using the Configuration and PLatform properties {e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU"> or leave those properties blank to use the default solution configuration. [C:Users\User\Downloads\OpenRAModSDK-20200202\OpenRAModSDK-20200202\engine\OpenRA.sln]

image

This was done using the latest build release (20200202) and with the example mod.

The program recommended installing Visual Studio. Is this my issue? Because I have the 2019 version already installed so I am not sure what else needs to be done.

Is it because I have the modding file outside of the OpenRA file in the Program Files ?

@abcdefg30
Copy link
Member

Not sure what is going on here, I don't even have such a metaproj file. You can try doing what the error suggests: Open the solution in Visual Studio and open the configuration for the solution file. If that doesn't help you I'd try just deleting and redownloading.

Is it because I have the modding file outside of the OpenRA file in the Program Files ?

I don't think so since I have those outside of Program Files myself.

@pchote
Copy link
Member

pchote commented Mar 24, 2020

Previous cases where we've seen this (e.g. OpenRA/OpenRA#6393) were caused by antivirus or other system management software inserting bogus registry keys that override and break MSBuild. I'll hazard to guess that MCD is the acronym for the name of whatever software is causing this.

@MustaphaTR
Copy link
Member

MustaphaTR commented Mar 24, 2020

I've seen people having this error several times, even back during Generals Alpha's developements. I've been giving this link that Graion initially gave when we encountered this first time to other people that experience this: https://helpdrive.wordpress.com/2011/07/10/the-specified-solution-configuration-debugmcd-is-invalid/

@Amrothian
Copy link
Author

@MustaphaTR @pchote @abcdefg30 thanks so much for the responses. I will get to this as soon as I am able and close the thread if the issue is resolved.

@abcdefg30
Copy link
Member

What is the status here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants