Updates publish profiles and readme
This commit is contained in:
parent
58be0d416c
commit
feedbeb262
9 changed files with 90 additions and 84 deletions
|
|
@ -1,16 +1,10 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Release</Configuration>
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
||||||
<PublishDir>../</PublishDir>
|
|
||||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
<SelfContained>true</SelfContained>
|
||||||
<_IsPortable>false</_IsPortable>
|
<PublishTrimmed>true</PublishTrimmed>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
9
Projects/Server/Properties/PublishProfiles/Linux.pubxml
Normal file
9
Projects/Server/Properties/PublishProfiles/Linux.pubxml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
||||||
|
<SelfContained>false</SelfContained>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
||||||
<PublishDir>../</PublishDir>
|
|
||||||
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
|
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<_IsPortable>false</_IsPortable>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
|
<PublishTrimmed>true</PublishTrimmed>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
9
Projects/Server/Properties/PublishProfiles/OSX.pubxml
Normal file
9
Projects/Server/Properties/PublishProfiles/OSX.pubxml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
|
||||||
|
<SelfContained>false</SelfContained>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
||||||
<PublishDir>../</PublishDir>
|
|
||||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
|
||||||
<SelfContained>false</SelfContained>
|
|
||||||
<_IsPortable>true</_IsPortable>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
|
<PublishTrimmed>true</PublishTrimmed>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
|
@ -1,16 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Release</Configuration>
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
||||||
<PublishDir>../</PublishDir>
|
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<SelfContained>false</SelfContained>
|
<SelfContained>false</SelfContained>
|
||||||
<_IsPortable>true</_IsPortable>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
53
README.md
53
README.md
|
|
@ -1,37 +1,50 @@
|
||||||
ModernUO
|
ModernUO
|
||||||
=====
|
=====
|
||||||
|
|
||||||
### Contacts
|
Ultima Online Server Emulator for the modern era!
|
||||||
|
|
||||||
|
### Join!
|
||||||
[Join Discord Channel](https://discord.gg/VdyCpjQ)
|
[Join Discord Channel](https://discord.gg/VdyCpjQ)
|
||||||
|
|
||||||
### Goals
|
### Goals
|
||||||
- See [Goals](./GOALS.md)
|
- See [Goals](./GOALS.md)
|
||||||
|
|
||||||
### Requirements
|
# Requirements to Compile
|
||||||
- .NET Core 3.0 (Preview 7) or newer
|
- [.NET Core 3.0 SDK](https://dotnet.microsoft.com/download/dotnet-core/3.0)
|
||||||
|
- [System.IO.Pipelines 4.6.0](https://www.nuget.org/packages/System.IO.Pipelines/) (Restored automatically during publishing)
|
||||||
|
|
||||||
|
### Requirements to Run
|
||||||
- zlib (Linux only)
|
- zlib (Linux only)
|
||||||
|
|
||||||
### Building with Visual Studio 2019
|
|
||||||
- Publish `Server` project
|
|
||||||
- Build `Scripts` project
|
|
||||||
|
|
||||||
### Building with .NET Core 3.0 SDK
|
### Building with .NET Core 3.0 SDK
|
||||||
`dotnet publish /p:PublishProfiles=<profile>`
|
`dotnet publish /p:PublishProfile=[platform][-SelfContained]`
|
||||||
- Windows x64: `Windows`
|
- `platform` can be `Windows`, `Linux`, or `OSX` (capitalization matters)
|
||||||
- Linux/MacOSX x64 w/ .NET Core 3 installed: `Unix-Portable`
|
- Appending `-SelfContained` will export all .NET Core files required to run portably.
|
||||||
- Linux x64 w/ .NET Core 3: `Linux-SelfContained`
|
|
||||||
- MacOSX x64 /wo .NET Core 3: `MacOSX-SelfContained`
|
|
||||||
|
|
||||||
#### Running on Windows
|
### Running
|
||||||
- Follow the build instructions
|
- Follow the build instructions
|
||||||
- Run `Distribution\ModernUO.exe` or `dotnet ModernUO.dll`
|
- Go to `Distribution` directory
|
||||||
|
|
||||||
#### Running on MacOSX or Linux
|
##### Windows
|
||||||
- Follow the build instructions
|
- Run `ModernUO.exe` or `dotnet ModernUO.dll`
|
||||||
- Run `Distribution\ModernUO` or `dotnet ModernUO.dll`
|
|
||||||
|
|
||||||
#### Running on Linux
|
##### OSX or Linux
|
||||||
- Follow the build instructions
|
- Run `./ModernUO` or `dotnet ./ModernUO.dll`
|
||||||
- Run `Distribution\ModernUO` or `dotnet ModernUO.dll`
|
|
||||||
|
### Thanks
|
||||||
|
- RunUO Team & Community
|
||||||
|
- ServUO Team & Community
|
||||||
|
- [Jaedan](https://github.com/jaedan) and the ClassicUO Community
|
||||||
|
|
||||||
### Troubleshooting / FAQ
|
### Troubleshooting / FAQ
|
||||||
|
|
||||||
|
##### Where do I go to run ModernUO?
|
||||||
|
Everything is run from the `Distribution` directory.
|
||||||
|
This folder is portable, so it can be moved to the production server for deployments.
|
||||||
|
|
||||||
|
##### My scripts folder is not compiling during runtime, what happened?
|
||||||
|
NET Core does not support dynamic compiling. Scripts are now compiled separately and moved to the `Distribution/Assemblies` directory.
|
||||||
|
This also allows us to divide content into packages that can be included by dropping in the DLL.
|
||||||
|
|
||||||
|
##### Why can't I run ModernUO on a 32-bit operating system?
|
||||||
|
ModernUO is optimized for performance and modern hardware.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue