Triton160RT_Setup.csproj 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5. <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
  6. <ProductVersion>8.0.30703</ProductVersion>
  7. <SchemaVersion>2.0</SchemaVersion>
  8. <ProjectGuid>{C842F167-DB8E-4827-ACDD-74215AF5100A}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>Triton160RT_Setup</RootNamespace>
  12. <AssemblyName>Triton160RT_Setup</AssemblyName>
  13. <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
  14. <TargetFrameworkProfile>
  15. </TargetFrameworkProfile>
  16. <FileAlignment>512</FileAlignment>
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
  19. <PlatformTarget>x86</PlatformTarget>
  20. <DebugSymbols>true</DebugSymbols>
  21. <DebugType>full</DebugType>
  22. <Optimize>false</Optimize>
  23. <OutputPath>bin\Debug\</OutputPath>
  24. <DefineConstants>DEBUG;TRACE</DefineConstants>
  25. <ErrorReport>prompt</ErrorReport>
  26. <WarningLevel>4</WarningLevel>
  27. <Prefer32Bit>false</Prefer32Bit>
  28. </PropertyGroup>
  29. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
  30. <PlatformTarget>x86</PlatformTarget>
  31. <DebugType>pdbonly</DebugType>
  32. <Optimize>true</Optimize>
  33. <OutputPath>bin\Release\</OutputPath>
  34. <DefineConstants>TRACE</DefineConstants>
  35. <ErrorReport>prompt</ErrorReport>
  36. <WarningLevel>4</WarningLevel>
  37. <Prefer32Bit>false</Prefer32Bit>
  38. </PropertyGroup>
  39. <PropertyGroup>
  40. <StartupObject />
  41. </PropertyGroup>
  42. <ItemGroup>
  43. <Reference Include="System" />
  44. <Reference Include="System.Core" />
  45. <Reference Include="System.Windows.Forms" />
  46. <Reference Include="System.Xml.Linq" />
  47. <Reference Include="System.Data.DataSetExtensions" />
  48. <Reference Include="Microsoft.CSharp" />
  49. <Reference Include="System.Data" />
  50. <Reference Include="System.Xml" />
  51. </ItemGroup>
  52. <ItemGroup>
  53. <Compile Include="Program.cs" />
  54. <Compile Include="Properties\AssemblyInfo.cs" />
  55. </ItemGroup>
  56. <ItemGroup>
  57. <Content Include="Format1.txt" />
  58. <Content Include="Format2.txt" />
  59. <Content Include="Setup.ico" />
  60. <Content Include="VerInfo.exe" />
  61. <Content Include="WinRAR.exe" />
  62. </ItemGroup>
  63. <ItemGroup>
  64. <None Include="app.config" />
  65. <None Include="Default.SFX" />
  66. </ItemGroup>
  67. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  68. <PropertyGroup>
  69. <PreBuildEvent>
  70. </PreBuildEvent>
  71. </PropertyGroup>
  72. <PropertyGroup>
  73. <PostBuildEvent>cd "$(ProjectDir)..\Packages\"
  74. del "Triton160RT_Setup*.exe"
  75. "$(ProjectDir)WinRAR.exe" a -z"$(ProjectDir)Format1.txt " -sfx -iicon"$(ProjectDir)setup.ico" -s "$(ProjectDir)..\Packages\Triton160RT_Setup" "Triton160RT"
  76. REM 删除安装包制作的临时文件
  77. REM cd "$(ProjectDir)..\Packages\"
  78. REM rd "$(ProjectDir)..\Packages\Triton160RT\" /s /q
  79. REM 修改安装包文件名(加入版本信息)
  80. "$(ProjectDir)VerInfo.exe" "$(ProjectDir)..\Packages\Triton160RT\Triton160RT.exe" "$(ProjectDir)..\Packages\Triton160RT_Setup.exe"</PostBuildEvent>
  81. </PropertyGroup>
  82. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  83. Other similar extension points exist, see Microsoft.Common.targets.
  84. <Target Name="BeforeBuild">
  85. </Target>
  86. <Target Name="AfterBuild">
  87. </Target>
  88. -->
  89. </Project>