当前位置 : 主页 > 手机开发 > android >

android – 我的MonoDevelop项目中可能导致“没有为项目ProjectName.csproj设置OutputPat

来源:互联网 收集:自由互联 发布时间:2021-06-11
在 Windows 7(64位)上, Android SDK与Eclipse完美配合 – 我的第一个Android应用程序,使用第一个“Hello World”示例(在此处找到 – http://docs.xamarin.com/android/getting_started/hello_world – 来自Xamarin) 失败
在 Windows 7(64位)上, Android SDK与Eclipse完美配合 – 我的第一个Android应用程序,使用第一个“Hello World”示例(在此处找到 – http://docs.xamarin.com/android/getting_started/hello_world – 来自Xamarin)
失败,出现错误“未为项目NameProject.csproj设置的OutputPath属性”.

我试过从Xamarin重新运行安装程序,但仍然会出现此错误.

有人可以建议可能导致此问题的原因吗?
非常感谢.

确切的错误:

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)
我想我们以前见过这个.您的系统制造商在您的系统上安装了名为Platform的环境变量.这打破了所有基于msbuild的东西,因为msbuild会自动将其导入为$(平台),与msbuild用于编译的真实$(平台)冲突.

尝试删除环境变量,然后重试.

网友评论