1

Closed

Plug needed. System.Int32 System.Environment.get_TickCount()

description

Error 2 Plug needed. System.Int32 System.Environment.get_TickCount()
at Cosmos.IL2CPU.ILScanner.ScanMethod(MethodBase aMethod, Boolean aIsPlug) in c:\Users-----\Desktop\cosmos\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 803
at Cosmos.IL2CPU.ILScanner.ScanQueue() in c:\Users-----\Desktop\cosmos\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 943
at Cosmos.IL2CPU.ILScanner.Execute(MethodBase aStartMethod) in c:\Users-----\Desktop\cosmos\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 307
at Cosmos.Build.MSBuild.IL2CPUTask.Execute() in c:\Users-----\Desktop\cosmos\source2\Build\Cosmos.Build.MSBuild\IL2CPUTask.cs:line 245 C:\Program Files\MSBuild\Cosmos\Cosmos.targets 32 10 ----------------Boot
Closed Jun 22, 2012 at 1:27 PM by kudzu
http://cosmos.codeplex.com/wikipage?title=Plugs&referringTitle=FAQ

comments

Cman332 wrote Sep 19, 2011 at 11:27 AM

Well. There is a few ways to do this. If your os has a loop. Make a static tick count variable. Then, in the loop increment the tick count by one. Then make a plug for Environment.TickCount that returns the static tick count variable. Hope This Helps!