VirgoRT_Setup.csproj 3.4 KB

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