Besoin d'aide avec MSBuild...

eupeup Messages postés 57 Date d'inscription mardi 11 mars 2003 Statut Membre Dernière intervention 24 avril 2013 - 23 sept. 2010 à 14:42
eupeup Messages postés 57 Date d'inscription mardi 11 mars 2003 Statut Membre Dernière intervention 24 avril 2013 - 23 sept. 2010 à 14:44
Bonjour à tous,

j'essaie d'apprivoiser MSBuild, sans beaucoup de succés... ce serait cool si quelqu'un pouvait m'aider...

Donc j'ai un projet cpp testProject qui compile bien...

et je lance la commande suivante :
> MSBuild.exe testProject.sln

Vraiment un truc tout con...
Mais il me crache une l'erreur suivante :

Build started 9/23/2010 2:36:43 PM.
__________________________________________________
Project "C:\Phast_Folder\devProject\testProject\testProject.sln" (default targets):

Target ValidateSolutionConfiguration:
C:\Phast_Folder\devProject\testProject\testProject.sln : error MSB4126: The specified solution configuration "Debug|MCD" is invalid. Please specify a valid solution configuration using the Configu
ration and Platform properties
(e.g. MSBuild.exe solution.sln /p:Configuration=Debug /p:Platform="An
y CPU")
or leave those properties blank to use the default solution configuration.
Done building target "ValidateSolutionConfiguration" in project "testProject.sln" -- FAILED.

Done building project "testProject.sln" -- FAILED.

Build FAILED.
C:\Phast_Folder\devProject\testProject\testProject.sln : error MSB4126: The specified solution confi
guration "Debug|MCD" is invalid. Please specify a valid solution configuration using the Configurati
on and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CP
U") or leave those properties blank to use the default solution configuration.
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.15


J'ai tenté plusieurs settings dans le configuration manager de VS mais rien y fait...

Voili voilou, si qulqu'un pouvait m'éclairer, ce serait super sympa...

Peupeu

1 réponse

eupeup Messages postés 57 Date d'inscription mardi 11 mars 2003 Statut Membre Dernière intervention 24 avril 2013
23 sept. 2010 à 14:44
Pour l'instant, mon unique but est de simplement réaliser un rebuild de mon projet...
0
Rejoignez-nous