开发者

MonoDroid project in a solution that contains a windows 7 phone project?

I have a VS 2010 solution that has a windows 7 phone project in it.

I added a default monoandroid project and when I try to deploy it(the emulator dialog does appear)

I开发者_高级运维 get this error

" (SignAndroidPackage target) (1) ->
(_CompileAndroidPackage target) -> 
  monodroid : error 1: Evaluation version requires targeting the shared runtime. [C:\A\B\AndroidApplication1.csproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.87

If I unload the windows 7 phone project I lose the ability to deploy it.

They are currently share nothing. I just want them in the same project.


Did you change the AndroidApplication1 project options to disable the shared runtime, and/or do a Release build? You can check the shared runtime by viewing the Project Properties, going to the Mono Android Options tab, and ensuring that the "Use Shared Runtime" checkbox is checked.

Release builds always disable the shared runtime by default, so performing a Release build could also be a problem.


Create a blank solution and sequentially add projects to it. Then see if you have similar deployment problems. I had problems before with solutions that were created as a part of a platform-specific project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜