Triton160UI_Setup.csproj 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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>{BA51A6BD-0E1E-4CEA-8C08-3453D027C018}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>Triton160UI_Setup</RootNamespace>
  12. <AssemblyName>Triton160UI_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. <ItemGroup>
  40. <Reference Include="System" />
  41. <Reference Include="System.Core" />
  42. <Reference Include="System.Xml.Linq" />
  43. <Reference Include="System.Data.DataSetExtensions" />
  44. <Reference Include="Microsoft.CSharp" />
  45. <Reference Include="System.Data" />
  46. <Reference Include="System.Deployment" />
  47. <Reference Include="System.Drawing" />
  48. <Reference Include="System.Windows.Forms" />
  49. <Reference Include="System.Xml" />
  50. </ItemGroup>
  51. <ItemGroup>
  52. <Compile Include="Form1.cs">
  53. <SubType>Form</SubType>
  54. </Compile>
  55. <Compile Include="Form1.Designer.cs">
  56. <DependentUpon>Form1.cs</DependentUpon>
  57. </Compile>
  58. <Compile Include="Program.cs" />
  59. <Compile Include="Properties\AssemblyInfo.cs" />
  60. <EmbeddedResource Include="Properties\Resources.resx">
  61. <Generator>ResXFileCodeGenerator</Generator>
  62. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  63. <SubType>Designer</SubType>
  64. </EmbeddedResource>
  65. <Compile Include="Properties\Resources.Designer.cs">
  66. <AutoGen>True</AutoGen>
  67. <DependentUpon>Resources.resx</DependentUpon>
  68. <DesignTime>True</DesignTime>
  69. </Compile>
  70. <None Include="app.config" />
  71. <None Include="Default.SFX" />
  72. <None Include="Properties\Settings.settings">
  73. <Generator>SettingsSingleFileGenerator</Generator>
  74. <LastGenOutput>Settings.Designer.cs</LastGenOutput>
  75. </None>
  76. <Compile Include="Properties\Settings.Designer.cs">
  77. <AutoGen>True</AutoGen>
  78. <DependentUpon>Settings.settings</DependentUpon>
  79. <DesignTimeSharedInput>True</DesignTimeSharedInput>
  80. </Compile>
  81. </ItemGroup>
  82. <ItemGroup>
  83. <Content Include="Format1.txt" />
  84. <Content Include="Setup.ico" />
  85. <Content Include="VerInfo.exe" />
  86. <Content Include="WinRAR.exe" />
  87. </ItemGroup>
  88. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  89. <PropertyGroup>
  90. <PostBuildEvent>cd "$(ProjectDir)..\Packages\"
  91. del "Triton160UI_Setup*.exe"
  92. "$(ProjectDir)WinRAR.exe" a -z"$(ProjectDir)Format1.txt " -sfx -iicon"$(ProjectDir)setup.ico" -s "$(ProjectDir)..\Packages\Triton160UI_Setup" "Triton160UI"
  93. REM 删除安装包制作的临时文件
  94. REM cd "$(ProjectDir)..\Packages\"
  95. REM rd "$(ProjectDir)..\Packages\Triton160UI\" /s /q
  96. REM 修改安装包文件名(加入版本信息)
  97. "$(ProjectDir)VerInfo.exe" "$(ProjectDir)..\Packages\Triton160UI\Triton160UI.exe" "$(ProjectDir)..\Packages\Triton160UI_Setup.exe"
  98. </PostBuildEvent>
  99. </PropertyGroup>
  100. <PropertyGroup>
  101. <PreBuildEvent>
  102. </PreBuildEvent>
  103. </PropertyGroup>
  104. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  105. Other similar extension points exist, see Microsoft.Common.targets.
  106. <Target Name="BeforeBuild">
  107. </Target>
  108. <Target Name="AfterBuild">
  109. </Target>
  110. -->
  111. </Project>