Extract out ModFramework.dll

This commit is contained in:
Luke 2022-09-05 22:02:05 +10:00
parent 76c39c2f59
commit e0f20f92b3

View file

@ -23,7 +23,7 @@
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3" /> <PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
<PackageReference Include="MySql.Data" Version="8.0.30" /> <PackageReference Include="MySql.Data" Version="8.0.30" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.8" /> <PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.8" />
<PackageReference Include="ModFramework" Version="1.1.0-alpha" /> <PackageReference Include="ModFramework" Version="1.1.0-alpha" GeneratePathProperty="true" /> <!-- only used to extract out to ./bin. -->
<!-- the launcher doesnt need the direct OTAPI reference, but since PackageReference[ExcludeFromSingleFile] doesnt work, exclude the assets and copy manually --> <!-- the launcher doesnt need the direct OTAPI reference, but since PackageReference[ExcludeFromSingleFile] doesnt work, exclude the assets and copy manually -->
<PackageReference Include="OTAPI.Upcoming" Version="3.1.1-alpha" ExcludeAssets="all" GeneratePathProperty="true" /> <PackageReference Include="OTAPI.Upcoming" Version="3.1.1-alpha" ExcludeAssets="all" GeneratePathProperty="true" />
@ -35,6 +35,10 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile> <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</None> </None>
<None Include="$(PkgModFramework)\lib\net6.0\ModFramework.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</None>
</ItemGroup> </ItemGroup>
<Target Name="CreateServerPlugins" AfterTargets="PostBuildEvent;Publish"> <Target Name="CreateServerPlugins" AfterTargets="PostBuildEvent;Publish">