[Redirector] Upload nfapi.dll

This commit is contained in:
Connection Refused
2021-10-16 07:43:59 +08:00
parent 4a7b454baa
commit 13837780ec
4 changed files with 10 additions and 1 deletions

View File

@@ -74,6 +74,9 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>nfapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>COPY /Y $(ProjectDir)static\nfapi.dll $(TargetDir) &gt; NUL 2&gt;&amp;1</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
@@ -94,6 +97,9 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>nfapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>COPY /Y $(ProjectDir)static\nfapi.dll $(TargetDir) &gt; NUL 2&gt;&amp;1</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Based.cpp" />

BIN
Redirector/static/nfapi.dll Normal file

Binary file not shown.

View File

@@ -59,7 +59,8 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>COPY /Y $(SolutionDir)Redirector\bin\$(Configuration)\Redirector.bin $(TargetDir) &gt; NUL 2&gt;&amp;1
<PostBuildEvent>COPY /Y $(SolutionDir)Redirector\bin\$(Configuration)\nfapi.dll $(TargetDir) &gt; NUL 2&gt;&amp;1
COPY /Y $(SolutionDir)Redirector\bin\$(Configuration)\Redirector.bin $(TargetDir) &gt; NUL 2&gt;&amp;1
COPY /Y $(SolutionDir)Redirector\bin\$(Configuration)\Redirector.pdb $(TargetDir) &gt; NUL 2&gt;&amp;1</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@@ -67,7 +67,9 @@ msbuild `
if ( -Not $? ) { exit $lastExitCode }
cp -Force '.\other\release\*.bin' "$OutputPath\bin"
cp -Force '.\other\release\*.dll' "$OutputPath\bin"
cp -Force '.\other\release\*.exe' "$OutputPath\bin"
cp -Force ".\Redirector\bin\$Configuration\nfapi.dll" "$OutputPath\bin"
cp -Force ".\Redirector\bin\$Configuration\Redirector.bin" "$OutputPath\bin"
cp -Force ".\RouteHelper\bin\$Configuration\RouteHelper.bin" "$OutputPath\bin"