123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?xml version="1.0" encoding="utf-8"?>
- <Project ToolsVersion="4.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>{C87B8E5D-96D2-4DFF-B78F-4BF2E80C48A7}</ProjectGuid>
- <OutputType>WinExe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>EfemDual_Setup</RootNamespace>
- <AssemblyName>EfemDual_Setup</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <TargetFrameworkProfile>Client</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>
- </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>
- </PropertyGroup>
- <PropertyGroup>
- <StartupObject />
- </PropertyGroup>
- <PropertyGroup>
- <ApplicationIcon>Setup.ico</ApplicationIcon>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="Format1.txt" />
- <Content Include="Format2.txt" />
- <Content Include="Setup.ico" />
- <Content Include="VerInfo.exe" />
- <Content Include="WinRAR.exe" />
- </ItemGroup>
- <ItemGroup>
- <None Include="Default.SFX" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <PropertyGroup>
- <PreBuildEvent>cd "$(ProjectDir)..\Packages\"
- del "EfemDualSetupPackages.exe"
- del "EfemDual_Setup*.exe"
- "$(ProjectDir)WinRAR.exe" a -z"$(ProjectDir)Format1.txt" -sfx -iicon"$(ProjectDir)setup.ico" -s "$(ProjectDir)..\Packages\EfemDualSetupPackages" "EfemDualRT" "EfemDualUI"
- </PreBuildEvent>
- </PropertyGroup>
- <PropertyGroup>
- <PostBuildEvent>echo 复制文件到安装目录,"$(ProjectDir)..\EfemDualSetup\Packages\"
- copy "$(TargetPath)" "$(ProjectDir)..\Packages\EfemDual_Setup_Temp.exe" /y
- cd "$(ProjectDir)..\Packages\"
- "$(ProjectDir)WinRAR.exe" a -z"$(ProjectDir)Format2.txt" -sfx -iicon"$(ProjectDir)setup.ico" -s "$(ProjectDir)..\Packages\EfemDual_Setup" "EfemDual_Setup_Temp.exe" "EfemDualSetupPackages.exe"
- REM 修改安装包文件名(加入版本信息)
- "$(ProjectDir)VerInfo.exe" "$(ProjectDir)..\Packages\EfemDualRT\EfemDualRT.exe" "$(ProjectDir)..\Packages\EfemDual_Setup.exe"
- REM 删除安装包制作的临时文件
- REM cd "$(ProjectDir)..\Packages\"
- REM rd "$(ProjectDir)..\Packages\EfemDualRT\" /s /q
- REM rd "$(ProjectDir)..\Packages\EfemDualUI\" /s /q
- del "$(ProjectDir)..\Packages\EfemDual_Setup_Temp.exe"
- del "$(ProjectDir)..\Packages\EfemDualSetupPackages.exe"
- </PostBuildEvent>
- </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>
|