Ziru
Member
I have installed .net frameworks 4.0 on Windows 7,
I get this when i run Compile.bat (see quote)
What i'm doing wrong?
S O L V E D .
Thanks
I get this when i run Compile.bat (see quote)
What i'm doing wrong?
Compile.bat said:C:\ServUO>cd EmergencyBackup
C:\ServUO\EmergencyBackup>SET DOTNET=C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\ServUO\EmergencyBackup>SET PATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\ServUO\EmergencyBackup>csc.exe /r:..\SevenZipSharp.dll /debug /nowarn:0618 /nologo
/out:..\EmergencyBackup.exe /optimize /unsafe /recurse:*.cs
warning CS1668: Invalid search path 'C:\Program Files (x86)\Microsoft VisualStudio\VC98\mfc\lib'
specified in 'LIB environment variable' -- 'The system cannot find the path specified. '
warning CS1668: Invalid search path 'C:\Program Files (x86)\Microsoft Visual Studio\VC98\lib'
specified in 'LIB environment variable' -- 'The system cannot find the path specified. '
C:\ServUO\EmergencyBackup>cd ..
C:\ServUO>cd Server
C:\ServUO\Server>csc.exe /win32icon:servuo.ico /r:..\OpenUO.Core.dll
/r:..\OpenUO.Ultima.dll /r:..\OpenUO.Ultima.Windows.Forms.dll
/r:..\SevenZipSharp.dll /debug /nowarn:0618 /nologo /out:..\ServUO.exe /optimize /unsafe /recurse:*.cs
warning CS1668: Invalid search path 'C:\Program Files (x86)\Microsoft Visual Studio\VC98\mfc\lib'
specified in 'LIB environment variable' --
'The system cannot find the path specified. '
warning CS1668: Invalid search path
'C:\Program Files (x86)\Microsoft Visual Studio\VC98\lib'
specified in 'LIB environment variable' --
'The system cannot find the path specified. '
C:\ServUO\Server>PAUSE
Press any key to continue . . .
This isn't an error with ServUO, rather an issue with VS and Windows.
Control Panel -> System -> Advanced System Settings -> Environment Variables
Find the variable for LIB and delete it, it's due to a previous version of Visual Studio leaving it there.
You can ignore the warnings like "Cannot find file X" - It's just the batch file trying to delete the old ones before compiling, but on a fresh download of ServUO, the files don't exist yet.
S O L V E D .
Thanks
Last edited: