EfemUI_Setup.csproj 4.5 KB

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