• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

As SY01 problems go

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Originally posted by SimonMac View Post
    You really are a cut today aren't you
    Knock first as I might be balancing my chakras.

    Comment


      #32
      Originally posted by jmo21 View Post
      Lambda's can produce some very ugly code, but used judiciously, they're great.
      I love lambdas.

      Comment


        #33
        Originally posted by mudskipper View Post
        I love lambdas.
        In a Lambda Korma?
        Coffee's for closers

        Comment


          #34
          Originally posted by mudskipper View Post
          I love lambdas.


          Knock first as I might be balancing my chakras.

          Comment


            #35
            Originally posted by suityou01 View Post

            So what happens is that, when it stops working it tries to launch the 64bit csc.exe in a 32bit shell. And boom. But silent boom.
            Can't you try running it in a 64 bit VM?
            Work in the public sector? Read the IR35 FAQ here

            Comment


              #36
              Originally posted by OwlHoot View Post
              Can't you try running it in a 64 bit VM?
              This video explains the techniques involved

              https://www.youtube.com/watch?v=SG3kbcTJ0yo

              Comment


                #37
                Originally posted by suityou01 View Post
                No. It stops generating them.

                Specifically what I have tracked down by decompiling the vendors product is that it uses CodeDomProvider to launch a remote debugging session. It could specify the target but it doesn't. Appalling code.

                So what happens is that, when it stops working it tries to launch the 64bit csc.exe in a 32bit shell. And boom. But silent boom.

                Took quite a bit of digging to find that little nugget.
                What do the project build settings say? Can you set

                "Configurations to build" to X86
                "MSbuild Platform" to X86

                (basically for any dropdown with auto and X86 as options set it to X86).

                and see how that helps. These may not be the correct bits depending on the version of VS you are running but if it used to work and has now stopped then chances are someones messed up the project configuration and thats the cause of the problem.
                merely at clientco for the entertainment

                Comment


                  #38
                  Originally posted by OwlHoot View Post
                  Can't you try running it in a 64 bit VM?
                  It is a 64 bit VM.

                  It doesn't make the app 64 bit. The 32 bit app runs under a thunking layer called wow6432 or somesuch.
                  Knock first as I might be balancing my chakras.

                  Comment


                    #39
                    Originally posted by eek View Post
                    What do the project build settings say? Can you set

                    "Configurations to build" to X86
                    "MSbuild Platform" to X86

                    (basically for any dropdown with auto and X86 as options set it to X86).

                    and see how that helps. These may not be the correct bits depending on the version of VS you are running but if it used to work and has now stopped then chances are someones messed up the project configuration and thats the cause of the problem.
                    Spot on, if i could.

                    Picture a BPM Designer, written in .net with a Debug button on the ribbon bar. This should automagically launch VS2010, inject from temp files, build the pdb, and attach the debugger to the BPM engine.

                    I have no control over how it does this, all I can do is reverse engineer their code and weep.

                    This method is being called

                    CodeDomProvider.CompileAssemblyFromDom Method (System.CodeDom.Compiler)

                    The first agument takes one of these

                    CompilerParameters Class (System.CodeDom.Compiler)

                    So it should be possible to specify the target platform using the compilerparameters, but they don't appear to be doing that.

                    So it windows "defaults" to Framework rather than Framework64 then it works, otherwise it breaks.
                    Knock first as I might be balancing my chakras.

                    Comment


                      #40
                      Originally posted by suityou01 View Post
                      It is a 64 bit VM.

                      It doesn't make the app 64 bit. The 32 bit app runs under a thunking layer called wow6432 or somesuch.
                      Who would have thunk it?

                      JWoww - Wikipedia, the free encyclopedia

                      Comment

                      Working...
                      X