2011-10-21 1 views
3

Sur Windows 7 (64 bits) avec le SDK Android fonctionne parfaitement avec Eclipse - ma première application Android, en utilisant le premier " Hello World "exemple (trouvé ici - http://docs.xamarin.com/android/getting_started/hello_world - de Xamarin) échoue avec l'erreur" la propriété OutputPath qui n'est pas définie pour le projet NameProject.csproj ".Ce qui peut être à l'origine de l'erreur "propriété OutputPath n'est pas définie pour le projet ProjectName.csproj" dans mon projet MonoDevelop

J'ai essayé de réexécuter le programme d'installation à partir de Xamarin et cette erreur se produit toujours.

Quelqu'un pourrait suggérer ce qui pourrait causer ce problème? Merci beaucoup.

l'erreur exacte:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(9,9): 
Error: The OutputPath property is not set for project 'helloWorld3.csproj'. 
Please check to make sure that you have specified a valid combination of 
Configuration and Platform for this project. 
Configuration='Debug' 
Platform='BPC'. 
This error may also appear if some other project is trying to follow a 
project-to-project reference to this project, this project has been 
unloaded or is not included in the solution, and the referencing project 
does not build using the same or an equivalent Configuration or Platform. 
(helloWorld3) 

Répondre

7

Je pense que nous avons vu auparavant. Le fabricant de votre système a installé une variable d'environnement appelée Platform sur votre système. Cela casse toutes les choses basées sur msbuild, puisque msbuild importe automatiquement que $ (Platform), en conflit avec le vrai $ (Platform) que msbuild utilise pour compiler. Essayez de supprimer la variable d'environnement et réessayez.

+0

Merci, je vais l'essayer jeudi sur mon ordinateur Windows. –

+0

Merci, cela m'a aidé. Nous espérons avoir aidé Adrien G aussi. Peut-être accepter cette réponse si elle l'a fait @ Adrien G –

Questions connexes