| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 | <?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">  <PropertyGroup>    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>    <ProductVersion>8.0.30703</ProductVersion>    <SchemaVersion>2.0</SchemaVersion>    <ProjectGuid>{BA51A6BD-0E1E-4CEA-8C08-3453D027C018}</ProjectGuid>    <OutputType>WinExe</OutputType>    <AppDesignerFolder>Properties</AppDesignerFolder>    <RootNamespace>EfemUI_Setup</RootNamespace>    <AssemblyName>EfemUI_Setup</AssemblyName>    <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>    <TargetFrameworkProfile>    </TargetFrameworkProfile>    <FileAlignment>512</FileAlignment>  </PropertyGroup>  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">    <PlatformTarget>x86</PlatformTarget>    <DebugSymbols>true</DebugSymbols>    <DebugType>full</DebugType>    <Optimize>false</Optimize>    <OutputPath>bin\Debug\</OutputPath>    <DefineConstants>DEBUG;TRACE</DefineConstants>    <ErrorReport>prompt</ErrorReport>    <WarningLevel>4</WarningLevel>    <Prefer32Bit>false</Prefer32Bit>  </PropertyGroup>  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">    <PlatformTarget>x86</PlatformTarget>    <DebugType>pdbonly</DebugType>    <Optimize>true</Optimize>    <OutputPath>bin\Release\</OutputPath>    <DefineConstants>TRACE</DefineConstants>    <ErrorReport>prompt</ErrorReport>    <WarningLevel>4</WarningLevel>    <Prefer32Bit>false</Prefer32Bit>  </PropertyGroup>  <PropertyGroup>    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>  </PropertyGroup>  <ItemGroup>    <Reference Include="System" />    <Reference Include="System.Core" />    <Reference Include="System.Xml.Linq" />    <Reference Include="System.Data.DataSetExtensions" />    <Reference Include="Microsoft.CSharp" />    <Reference Include="System.Data" />    <Reference Include="System.Deployment" />    <Reference Include="System.Drawing" />    <Reference Include="System.Windows.Forms" />    <Reference Include="System.Xml" />  </ItemGroup>  <ItemGroup>    <Compile Include="Form1.cs">      <SubType>Form</SubType>    </Compile>    <Compile Include="Form1.Designer.cs">      <DependentUpon>Form1.cs</DependentUpon>    </Compile>    <Compile Include="Program.cs" />    <Compile Include="Properties\AssemblyInfo.cs" />    <EmbeddedResource Include="Properties\Resources.resx">      <Generator>ResXFileCodeGenerator</Generator>      <LastGenOutput>Resources.Designer.cs</LastGenOutput>      <SubType>Designer</SubType>    </EmbeddedResource>    <Compile Include="Properties\Resources.Designer.cs">      <AutoGen>True</AutoGen>      <DependentUpon>Resources.resx</DependentUpon>      <DesignTime>True</DesignTime>    </Compile>    <None Include="app.config" />    <None Include="Default.SFX" />    <None Include="Properties\Settings.settings">      <Generator>SettingsSingleFileGenerator</Generator>      <LastGenOutput>Settings.Designer.cs</LastGenOutput>    </None>    <Compile Include="Properties\Settings.Designer.cs">      <AutoGen>True</AutoGen>      <DependentUpon>Settings.settings</DependentUpon>      <DesignTimeSharedInput>True</DesignTimeSharedInput>    </Compile>  </ItemGroup>  <ItemGroup>    <Content Include="Format1.txt" />    <Content Include="Setup.ico" />    <Content Include="VerInfo.exe" />    <Content Include="WinRAR.exe" />  </ItemGroup>  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />  <PropertyGroup>    <PostBuildEvent>cd "$(ProjectDir)..\Packages\"  del "EfemUI_Setup*.exe"  "$(ProjectDir)WinRAR.exe" a -z"$(ProjectDir)Format1.txt " -sfx   -iicon"$(ProjectDir)setup.ico"  -s "$(ProjectDir)..\Packages\EfemUI_Setup" "EfemUI"REM 删除安装包制作的临时文件REM cd "$(ProjectDir)..\Packages\"REM rd "$(ProjectDir)..\Packages\AitexEfemUI\"  /s /qREM 修改安装包文件名(加入版本信息)  "$(ProjectDir)VerInfo.exe" "$(ProjectDir)..\Packages\EfemUI\EfemUI.exe" "$(ProjectDir)..\Packages\EfemUI_Setup.exe"</PostBuildEvent>  </PropertyGroup>  <PropertyGroup>    <PreBuildEvent>    </PreBuildEvent>  </PropertyGroup>  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.        Other similar extension points exist, see Microsoft.Common.targets.  <Target Name="BeforeBuild">  </Target>  <Target Name="AfterBuild">  </Target>  --></Project>
 |