Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Monodevelop build failed

Discussion in 'Editor & General Support' started by RV1, Oct 22, 2014.

  1. RV1

    RV1

    Joined:
    Nov 18, 2012
    Posts:
    68
    Hi,

    I recently upgraded to Unity 4.5.5f1. I have run into an issue where I can no longer build any project in monodevelop. I get an error saying the build failed In the build log it says:

    "Build failed. Method not found: 'Int32 System.Environment.get_CurrentManagedThreadId()'."

    Reinstalling Unity didn't fix this issue. Can anyone offer advice on how to resolve this?

    Thanks.

    Edit: The platform I am encountering this issue on is Windows XP SP3.
     
    Last edited: Oct 22, 2014
  2. RV1

    RV1

    Joined:
    Nov 18, 2012
    Posts:
    68
    On some further investigation, it seems that System.Environment.get_CurrentManagedThreadId might only available in .net framework 4.5. Windows XP does not support .net framework 4+ which would explain the method not found error.

    However, I'm unclear as to why monodevelop has now requires this API call to perform a build...
     
  3. maly_mynio

    maly_mynio

    Joined:
    Nov 6, 2014
    Posts:
    1
    Hi guys,

    I have the same problem, but on Windows 7.

    Installing .NET Framework 4.5.2 solve this problem.

    Thank You.
     
  4. Mari shankari

    Mari shankari

    Joined:
    Jul 24, 2015
    Posts:
    2
    hii..
    i ve the same kind of problem.. it has become a serious issue. i cant able to work on my scripts