ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

.Net framework incompatible

Open Aarsh-Singh-Vishen opened this issue 8 years ago • 8 comments

"Warning:The primary reference "TensorFlowSharp" could not be resolved because it was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6". Assembly-CSharp " How do I resolve this error? How do I downgrade to .Net 4.6? Thanks!

Aarsh-Singh-Vishen avatar Apr 09 '18 10:04 Aarsh-Singh-Vishen

I have the same issue after upgrading Tensorflow. Did you solve the issue?

entropia666 avatar Apr 13 '18 17:04 entropia666

@Aarsh-Singh-Vishen I have never seen this error. Did you get the TensorflowSharp plugin from here ? Where do you this this error ? In Visual Studio or in the Unity Console? Is it a warning or an error ? Thank you,

vincentpierre avatar Apr 14 '18 05:04 vincentpierre

Well I'm guessing its because I have .net framework 4.7 installed. But there is no way to go back to .net 4.6.... so what should I do?

Aarsh-Singh-Vishen avatar Apr 14 '18 14:04 Aarsh-Singh-Vishen

Also yes I installed the TensorFlow plug in from the specified source.

Aarsh-Singh-Vishen avatar Apr 14 '18 14:04 Aarsh-Singh-Vishen

I think you have the same issue as #552 Can you confirm that? Unity can only use .NET 4.6, it does not have 4.7.

vincentpierre avatar Apr 14 '18 21:04 vincentpierre

Yup! Its the same issue.

Aarsh-Singh-Vishen avatar Apr 16 '18 16:04 Aarsh-Singh-Vishen

Let's continue the conversation there.

vincentpierre avatar Apr 16 '18 16:04 vincentpierre

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 03 '20 12:01 lock[bot]