pull/2601/head
2dust 2022-08-18 17:11:36 +08:00
parent 038b64a416
commit b7ac15ad55
3 changed files with 29 additions and 5 deletions

4
.gitignore vendored
View File

@ -13,6 +13,6 @@
.vs/slnx.sqlite .vs/slnx.sqlite
.vs/VSWorkspaceState.json .vs/VSWorkspaceState.json
/v2rayN/v2rayUpgrade/bin/Debug /v2rayN/v2rayUpgrade/bin/Debug
/v2rayN/v2rayUpgrade/obj/Debug
/v2rayN/v2rayUpgrade/bin/Release /v2rayN/v2rayUpgrade/bin/Release
/v2rayN/v2rayUpgrade/obj/Release /v2rayN/v2rayUpgrade/obj/
*.user

View File

@ -10,6 +10,30 @@
<PropertyGroup> <PropertyGroup>
<ApplicationIcon>v2rayN.ico</ApplicationIcon> <ApplicationIcon>v2rayN.ico</ApplicationIcon>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<None Remove="Sample\custom_routing_black" />
<None Remove="Sample\custom_routing_global" />
<None Remove="Sample\custom_routing_locked" />
<None Remove="Sample\custom_routing_rules" />
<None Remove="Sample\custom_routing_white" />
<None Remove="Sample\SampleClientConfig.txt" />
<None Remove="Sample\SampleHttprequest.txt" />
<None Remove="Sample\SampleHttpresponse.txt" />
<None Remove="Sample\SampleInbound.txt" />
<None Remove="Sample\SampleServerConfig.txt" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Sample\custom_routing_black" />
<EmbeddedResource Include="Sample\custom_routing_global" />
<EmbeddedResource Include="Sample\custom_routing_locked" />
<EmbeddedResource Include="Sample\custom_routing_rules" />
<EmbeddedResource Include="Sample\custom_routing_white" />
<EmbeddedResource Include="Sample\SampleClientConfig.txt" />
<EmbeddedResource Include="Sample\SampleHttprequest.txt" />
<EmbeddedResource Include="Sample\SampleHttpresponse.txt" />
<EmbeddedResource Include="Sample\SampleInbound.txt" />
<EmbeddedResource Include="Sample\SampleServerConfig.txt" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System.Data.Linq" /> <Reference Include="System.Data.Linq" />
<Reference Include="System.IO.Compression" /> <Reference Include="System.IO.Compression" />
@ -51,9 +75,8 @@
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>copy /y $(SolutionDir)v2rayUpgrade\$(OutDir)* $(TargetDir) <PostBuildEvent>del $(TargetDir)*.xml $(TargetDir)*.so $(TargetDir)*.dylib
del $(TargetDir)*.xml $(TargetDir)*.so $(TargetDir)*.dylib
if not "$(ConfigurationName)" == "Debug" del $(TargetDir)*.pdb</PostBuildEvent> if not "$(ConfigurationName)" == "Debug" del $(TargetDir)*.pdb</PostBuildEvent>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -6,6 +6,7 @@
<Copyright>Copyright © 2019-2020 (GPLv3)</Copyright> <Copyright>Copyright © 2019-2020 (GPLv3)</Copyright>
<FileVersion>1.1.0.0</FileVersion> <FileVersion>1.1.0.0</FileVersion>
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System.IO.Compression" /> <Reference Include="System.IO.Compression" />