Solved Compiling Fougerite

rurust.org

New Member
Member
Aug 23, 2014
7
0
1
I use xamarin studio/
Error when compiling
http://fougerite.com/threads/compiling-fougerite.79/
and I can not fix them.
Could you describe the points?
What I do:
- compile Fougerite.Patcher
- copy the Assembly-CSharp.dll in bin
- run Fougerite.Patcher.exe
- In the terminal, I enter "-1"
Code:
[29.08.2014 23:26] No command specified.
[29.08.2014 23:26] Launch patcher with args: "-1" (fields update) or\and "-2" (methods update).
[29.08.2014 23:26] Or enter "0" to patch with both flags
[29.08.2014 23:26] The patch was applied successfully!
- copy the Assembly-CSharp.dll and paste in References
- compile Fougerite and getting errors:
Code:
Fougerite\Entity.cs(68,98,68,118): error CS0122: "StructureMaster._structureComponents" недоступен в силу его уровня защиты
Fougerite\World.cs(343,42,343,62): error CS0122: "StructureMaster._structureComponents" недоступен в силу его уровня защиты
... and etc.
@balu92
 

balu92

Retired Staff
Retired Staff
Trusted Member
Jul 11, 2014
338
75
28
34
'- In the terminal, I enter "-1"'
make a shortcut and add "-1" to that
 
  • Agree
Reactions: rurust.org

rurust.org

New Member
Member
Aug 23, 2014
7
0
1
'- In the terminal, I enter "-1"'
make a shortcut and add "-1" to that
Code:
c:\Users\Vlaed\Desktop\Fougerite\Fougerite\Fougerite\Player.cs(228,13): warning CC1069: Detected expression statement evaluated for potential side-effect in contracts of method 'Fougerite.Player.TeleportTo(Fougerite.Player)'.
c:\Users\Vlaed\Desktop\Fougerite\Fougerite\Fougerite\World.cs(369,17): error CC1025: After contract block, found use of local variable 'hour' defined in contract block
C:\Program Files (x86)\Microsoft\Contracts\MsBuild\v4.0\Microsoft.CodeContracts.targets(255,5): error MSB3073: выход из команды ""C:\Program Files (x86)\Microsoft\Contracts\Bin\ccrewrite.exe" "@Fougeriteccrewrite.rsp"" с кодом 1.
:(
 

Viproz

Moderator
Moderator
Aug 12, 2014
39
9
8
France
That's why I made a pull request on github, when you launch the patcher and then enter -1 it does nothing, you need to open a terminal (console) in that folder and the run "Fougerite.Patcher.exe -1", you can open a terminal from a folder by doing a shift-right click and choosing "open a terminal here" (ore something like that my windows isn't in English)
 

rurust.org

New Member
Member
Aug 23, 2014
7
0
1
That's why I made a pull request on github, when you launch the patcher and then enter -1 it does nothing, you need to open a terminal (console) in that folder and the run "Fougerite.Patcher.exe -1", you can open a terminal from a folder by doing a shift-right click and choosing "open a terminal here" (ore something like that my windows isn't in English)
Thank you.
But @balu92 it helped me.
Need to fix new errors.
Code:
c:\Users\Vlaed\Desktop\Fougerite\Fougerite\Fougerite\Player.cs(228,13): warning CC1069: Detected expression statement evaluated for potential side-effect in contracts of method 'Fougerite.Player.TeleportTo(Fougerite.Player)'.
c:\Users\Vlaed\Desktop\Fougerite\Fougerite\Fougerite\World.cs(369,17): error CC1025: After contract block, found use of local variable 'hour' defined in contract block
C:\Program Files (x86)\Microsoft\Contracts\MsBuild\v4.0\Microsoft.CodeContracts.targets(255,5): error MSB3073: выход из команды ""C:\Program Files (x86)\Microsoft\Contracts\Bin\ccrewrite.exe" "@Fougeriteccrewrite.rsp"" с кодом 1.