I wrote a static method on the MVC website (WebApi). The static method had an error, so I changed the logic in the static method. Now the method works on my local computer and returns the correct data.
However, Azure STILL starts the old method and returns incorrect results. The only thing I could do was copy the library locally and FTP to Azure.
Why is the old static method preserved - even AFTER assembly and deployment?
NOTE. I am doing manual assembly / deployment from Visual Studio Online / TFS (I am not deploying from Visual Studio). I have the Rebuild and Clean flags installed on MSBUILD.
UPDATE: after looking at the file sizes, obviously, Azure deploys an older version of the DLL, since the deployed DLL is much larger than the one I compile locally.
source share