don't rebuild Dalamud.Boot every time, copy out of output directory instead

This commit is contained in:
goat 2024-12-28 14:00:25 +01:00
parent 55bfe9eeb0
commit 4af9bc05dc
2 changed files with 7 additions and 28 deletions

View file

@ -28,7 +28,7 @@
<PlatformToolset>v143</PlatformToolset>
<LinkIncremental>false</LinkIncremental>
<CharacterSet>Unicode</CharacterSet>
<OutDir>..\bin\$(Configuration)\</OutDir>
<OutDir>bin\$(Configuration)\</OutDir>
<IntDir>obj\$(Configuration)\</IntDir>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
@ -200,8 +200,10 @@
<ItemGroup>
<Manifest Include="themes.manifest" />
</ItemGroup>
<Target Name="RemoveExtraFiles" AfterTargets="PostBuildEvent">
<Delete Files="$(OutDir)$(TargetName).lib" />
<Delete Files="$(OutDir)$(TargetName).exp" />
<Target Name="CopyOutputDlls" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(OutDir)$(TargetName).dll" DestinationFolder="..\bin\$(Configuration)\" />
<Copy SourceFiles="$(OutDir)$(TargetName).pdb" DestinationFolder="..\bin\$(Configuration)\" />
<Copy SourceFiles="$(OutDir)nethost.dll" DestinationFolder="..\bin\$(Configuration)\" />
</Target>
</Project>

View file

@ -1,23 +0,0 @@
using System.Diagnostics;
namespace Dalamud.Interface.Internal.Asserts;
public static class RenderScopes
{
private static RenderScopeFrame currentFrame = new();
private static RenderScopeFrame lastFrame = new();
public static RenderScopeFrame GetLastFrame() => lastFrame;
public static RenderScopeFrame GetCurrentFrame() => currentFrame;
public static void NewFrame()
{
//Debug.Assert(currentFrame.IsRoot, "NewFrame() but we didn't pop all the way to .");
}
public class RenderScopeFrame
{
}
}