SDK-style FSO Server projects

This commit is contained in:
Tony Bark 2024-05-02 03:02:26 -04:00
parent e419af4448
commit 49820cd42c
10 changed files with 182 additions and 1184 deletions

View file

@ -1,44 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{430ACD60-E798-43F0-AD61-8B5A35DF6AB2}</ProjectGuid>
<TargetFramework>net45</TargetFramework>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FSO.Server.Database</RootNamespace>
<AssemblyName>FSO.Server.Database</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<UseVSHostingProcess>true</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseVSHostingProcess>true</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ServerRelease|AnyCPU'">
<OutputPath>bin\ServerRelease\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
@ -46,9 +15,6 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>Libs\MyBatis\Castle.DynamicProxy.dll</HintPath>
</Reference>
<Reference Include="Dapper, Version=1.40.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Dapper.1.42\lib\net45\Dapper.dll</HintPath>
</Reference>
<Reference Include="IBatisNet.Common, Version=1.6.2.0, Culture=neutral, PublicKeyToken=ed781d9fc396c6ca, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Libs\MyBatis\IBatisNet.Common.dll</HintPath>
@ -65,161 +31,16 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>Libs\MyBatis\log4net.dll</HintPath>
</Reference>
<Reference Include="MySql.Data, Version=6.9.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.6.9.7\lib\net45\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Ninject, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
<HintPath>..\packages\Portable.Ninject.3.3.1\lib\net40-client\Ninject.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="DatabaseConfiguration.cs" />
<Compile Include="DatabaseModule.cs" />
<Content Include="DatabaseScripts\changes\0026_freevote.sql">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="DatabaseScripts\changes\0027_tuning_presets.sql">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Compile Include="DA\AbstractSqlDA.cs" />
<Compile Include="DA\AuthTickets\AuthTicket.cs" />
<Compile Include="DA\AuthTickets\IAuthTickets.cs" />
<Compile Include="DA\AuthTickets\SqlAuthTickets.cs" />
<Compile Include="DA\AvatarClaims\DbAvatarClaim.cs" />
<Compile Include="DA\AvatarClaims\IAvatarClaims.cs" />
<Compile Include="DA\AvatarClaims\SqlAvatarClaims.cs" />
<Compile Include="DA\Avatars\DbAvatar.cs" />
<Compile Include="DA\Avatars\DbAvatarSummary.cs" />
<Compile Include="DA\Avatars\DbJobLevel.cs" />
<Compile Include="DA\Avatars\IAvatars.cs" />
<Compile Include="DA\Avatars\SqlAvatars.cs" />
<Compile Include="DA\Bans\DbBan.cs" />
<Compile Include="DA\Bans\IBans.cs" />
<Compile Include="DA\Bans\SqlBans.cs" />
<Compile Include="DA\Bonus\DbBonus.cs" />
<Compile Include="DA\Bonus\DbBonusMetrics.cs" />
<Compile Include="DA\Bonus\IBonus.cs" />
<Compile Include="DA\Bonus\SqlBonus.cs" />
<Compile Include="DA\Bookmarks\DbBookmark.cs" />
<Compile Include="DA\Bookmarks\IBookmarks.cs" />
<Compile Include="DA\Bookmarks\SqlBookmarks.cs" />
<Compile Include="DA\Bulletin\DbBulletinPost.cs" />
<Compile Include="DA\Bulletin\IBulletinPosts.cs" />
<Compile Include="DA\Bulletin\SqlBulletinPosts.cs" />
<Compile Include="DA\DbChanges\DbChange.cs" />
<Compile Include="DA\DbEvents\DbEvent.cs" />
<Compile Include="DA\DbEvents\DbGenericAvatarParticipation.cs" />
<Compile Include="DA\DbEvents\IEvents.cs" />
<Compile Include="DA\DbEvents\SqlEvents.cs" />
<Compile Include="DA\DynPayouts\DbDynPayout.cs" />
<Compile Include="DA\DynPayouts\DbTransSummary.cs" />
<Compile Include="DA\DynPayouts\IDynPayouts.cs" />
<Compile Include="DA\DynPayouts\SqlDynPayouts.cs" />
<Compile Include="DA\Elections\DbElectionCandidate.cs" />
<Compile Include="DA\Elections\DbElectionCycle.cs" />
<Compile Include="DA\Elections\DbElectionCycleMail.cs" />
<Compile Include="DA\Elections\DbElectionFreeVote.cs" />
<Compile Include="DA\Elections\DbElectionVote.cs" />
<Compile Include="DA\Elections\DbMayorRating.cs" />
<Compile Include="DA\Elections\IElections.cs" />
<Compile Include="DA\Elections\SqlElections.cs" />
<Compile Include="DA\EmailConfirmations\EmailConfirmation.cs" />
<Compile Include="DA\EmailConfirmations\IEmailConfirmations.cs" />
<Compile Include="DA\EmailConfirmations\SqlEmailConfirmations.cs" />
<Compile Include="DA\GlobalCooldowns\DbGlobalCooldowns.cs" />
<Compile Include="DA\GlobalCooldowns\IGlobalCooldowns.cs" />
<Compile Include="DA\GlobalCooldowns\SqlGlobalCooldowns.cs" />
<Compile Include="DA\Hosts\DbHost.cs" />
<Compile Include="DA\Hosts\IHosts.cs" />
<Compile Include="DA\Hosts\SqlHosts.cs" />
<Compile Include="DA\IDA.cs" />
<Compile Include="DA\IDAFactory.cs" />
<Compile Include="DA\Inbox\DbInboxMsg.cs" />
<Compile Include="DA\Inbox\IInbox.cs" />
<Compile Include="DA\Inbox\SqlInbox.cs" />
<Compile Include="DA\ISqlContext.cs" />
<Compile Include="DA\LotAdmit\DbLotAdmit.cs" />
<Compile Include="DA\LotAdmit\ILotAdmit.cs" />
<Compile Include="DA\LotAdmit\SqlLotAdmit.cs" />
<Compile Include="DA\LotClaims\DbLotClaim.cs" />
<Compile Include="DA\LotClaims\ILotClaims.cs" />
<Compile Include="DA\LotClaims\SqlLotsClaims.cs" />
<Compile Include="DA\Lots\DbLot.cs" />
<Compile Include="DA\Lots\DbLotServerTicket.cs" />
<Compile Include="DA\Lots\ILots.cs" />
<Compile Include="DA\Lots\SqlLots.cs" />
<Compile Include="DA\LotTop100\ILotTop100.cs" />
<Compile Include="DA\LotTop100\DbLotTop100.cs" />
<Compile Include="DA\LotTop100\SqlLotTop100.cs" />
<Compile Include="DA\LotVisits\LotVisitUtils.cs" />
<Compile Include="DA\LotVisitTotals\DbLotVisitTotal.cs" />
<Compile Include="DA\LotVisitTotals\ILotVisitTotals.cs" />
<Compile Include="DA\LotVisits\DbLotVisit.cs" />
<Compile Include="DA\LotVisits\ILotVisits.cs" />
<Compile Include="DA\LotVisits\SqlLotVisits.cs" />
<Compile Include="DA\LotVisitTotals\SqlLotVisitTotals.cs" />
<Compile Include="DA\MySqlContext.cs" />
<Compile Include="DA\Neighborhoods\DbNeighborhood.cs" />
<Compile Include="DA\Neighborhoods\DbNhoodBan.cs" />
<Compile Include="DA\Neighborhoods\INeighborhoods.cs" />
<Compile Include="DA\Neighborhoods\SqlNeighborhoods.cs" />
<Compile Include="DA\Objects\DbObject.cs" />
<Compile Include="DA\Objects\DbObjectAttribute.cs" />
<Compile Include="DA\Objects\IObjects.cs" />
<Compile Include="DA\Objects\SqlObjects.cs" />
<Compile Include="DA\Outfits\DbOutfit.cs" />
<Compile Include="DA\Outfits\IOutfits.cs" />
<Compile Include="DA\Outfits\SqlOutfits.cs" />
<Compile Include="DA\Relationships\DbRelationship.cs" />
<Compile Include="DA\Relationships\IRelationships.cs" />
<Compile Include="DA\Relationships\SqlRelationships.cs" />
<Compile Include="DA\Roommates\DbRoommate.cs" />
<Compile Include="DA\Roommates\IRoommates.cs" />
<Compile Include="DA\Roommates\SqlRoommates.cs" />
<Compile Include="DA\Shards\IShards.cs" />
<Compile Include="DA\Shards\Shard.cs" />
<Compile Include="DA\Shards\ShardTicket.cs" />
<Compile Include="DA\Shards\SqlShards.cs" />
<Compile Include="DA\SqlDA.cs" />
<Compile Include="DA\MySqlDAFactory.cs" />
<Compile Include="DA\Tasks\DbTask.cs" />
<Compile Include="DA\Tasks\ITasks.cs" />
<Compile Include="DA\Tasks\SqlTasks.cs" />
<Compile Include="DA\Transactions\ITransactions.cs" />
<Compile Include="DA\Transactions\SqlTransactions.cs" />
<Compile Include="DA\Tuning\DbTuning.cs" />
<Compile Include="DA\Tuning\DbTuningPreset.cs" />
<Compile Include="DA\Tuning\ITuning.cs" />
<Compile Include="DA\Tuning\SqlTuning.cs" />
<Compile Include="DA\Updates\DbUpdate.cs" />
<Compile Include="DA\Updates\DbUpdateAddon.cs" />
<Compile Include="DA\Updates\DbUpdateBranch.cs" />
<Compile Include="DA\Updates\IUpdates.cs" />
<Compile Include="DA\Updates\SqlUpdates.cs" />
<Compile Include="DA\Users\DbAuthAttempt.cs" />
<Compile Include="DA\Users\IUsers.cs" />
<Compile Include="DA\Users\SqlUsers.cs" />
<Compile Include="DA\Users\User.cs" />
<Compile Include="DA\Users\UserAuthenticate.cs" />
<Compile Include="DA\Utils\BufferedInsert.cs" />
<Compile Include="DA\Utils\FilterOptions.cs" />
<Compile Include="DA\Utils\PagedList.cs" />
<Compile Include="Management\DbChangeTool.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<Content Include="DatabaseScripts\changes\0017_inbox_events.sql">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
@ -262,17 +83,10 @@
<Content Include="DatabaseScripts\manifest.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FSO.Server.Common\FSO.Server.Common.csproj">
<Project>{39b61962-fe43-4b64-8e57-8f793737fffe}</Project>
<Name>FSO.Server.Common</Name>
</ProjectReference>
<ProjectReference Include="..\tso.common\FSO.Common.csproj">
<Project>{c42962a1-8796-4f47-9dcd-79ed5904d8ca}</Project>
<Name>FSO.Common</Name>
</ProjectReference>
<ProjectReference Include="..\FSO.Server.Common\FSO.Server.Common.csproj" />
<ProjectReference Include="..\tso.common\FSO.Common.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="DatabaseScripts\changes\0003_max_roomates.sql">
@ -351,13 +165,14 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Dapper" Version="1.42" />
<PackageReference Include="MySql.Data" Version="6.9.7" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="Portable.Ninject" Version="3.3.1" />
</ItemGroup>
</Project>