Abnormal processing – unable to resolve the main reference XXX because it has indirect dependence on the frame assembly

I created a simple XNA Windows class library called “NivekGameEngine” with XNA 4.0. I created a simple game for the Windows platform, and I can access all the contents of my dll .

There was a problem when I tried to make a copy of this project for Xbox 360. I took this as an error:

The primary reference " NivekGameEngine01" could not be resolved because it has an
indirect dependency on the framework assembly "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the
currently targeted framework. ".NETFramework,Version=v4.0,Profile=Client". To resolve
this problem, either remove the reference "NivekGameEngine01" or retarget your
application to a framework version which contains "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089".

I looked back at the project where I created my dll file and set the target to ” 4.0 Client”

Is there a way to solve this problem? If necessary, I will upload the code.

I think the problem is that you need to target XBox 360 development goals Locate .Net Compact Framework or Silverlight (not 100% sure which one). It does not seem to support the complete .Net framework, including the Client Profile version.

So you need to rebuild the DLL for one of the environments, Or, if you use it in other applications, create a second project for the appropriate platform and add a reference to the file in the original project. If you use a function or method overload that is not supported by the platform, you may find that you need Add conditional compilation statements to the source code.

All this is very feasible: we have a set of source codes that serve the complete framework, Compact Framework, Silverlight and Mono.

I used XNA 4.0 to create a simple XNA Windows class library called “NivekGameEngine”. I created a simple game for the Windows platform, and I can access all the contents of my dll.

There was a problem when I tried to make a copy of this project for Xbox 360. I took this as an error:

The primary reference "NivekGameEngine01" could not be resolved because it has an
indirect dependency on the framework assembly "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the
currently targeted framework. " .NETFramework,Version=v4.0,Profile=Client". To resolve
this problem, either remove the reference "NivekGameEngine01" or retarget your
application to a framework version which contains "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089".

I looked back at the project where I created my dll file, and added The target is set to “4.0 Client”

Is there any way to solve this problem? If necessary, I will upload the code.

I think the problem is that you need to target .Net Compact Framework or Silverlight for XBox 360 development (not 100% sure Which). It does not seem to support the full .Net framework, including the Client Profile version.

So, you need to rebuild the DLL for one of the environments, or, if you use it in other applications, then Create a second project for the appropriate platform and add a reference to the file in the original project. If you use a function or method overload that is not supported by the platform, you may find that you need to add conditional compilation statements to the source code.

All of this is very feasible: we have a set of source codes that serve the complete framework, Compact Framework, Silverlight and Mono.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1592 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.