119 lines
5.1 KiB
XML
119 lines
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||
<PropertyGroup>
|
||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||
<ProjectGuid>{8C17683E-1EA5-4F39-8C91-4A92EE985380}</ProjectGuid>
|
||
<OutputType>WinExe</OutputType>
|
||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||
<RootNamespace>SuperMap.RealEstate.Launcher.Deploy</RootNamespace>
|
||
<AssemblyName>Launcher.Deploy</AssemblyName>
|
||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||
<FileAlignment>512</FileAlignment>
|
||
<SccProjectName>SAK</SccProjectName>
|
||
<SccLocalPath>SAK</SccLocalPath>
|
||
<SccAuxPath>SAK</SccAuxPath>
|
||
<SccProvider>SAK</SccProvider>
|
||
</PropertyGroup>
|
||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||
<PlatformTarget>AnyCPU</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|AnyCPU' ">
|
||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||
<DebugType>pdbonly</DebugType>
|
||
<Optimize>true</Optimize>
|
||
<OutputPath>Bin\Release\</OutputPath>
|
||
<DefineConstants>TRACE</DefineConstants>
|
||
<ErrorReport>prompt</ErrorReport>
|
||
<WarningLevel>4</WarningLevel>
|
||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||
<DebugSymbols>true</DebugSymbols>
|
||
</PropertyGroup>
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Publish|AnyCPU'">
|
||
<DebugSymbols>false</DebugSymbols>
|
||
<OutputPath>..\..\020_RealEstate.ExtendPlatform\SoftWare.WebSite\</OutputPath>
|
||
<DefineConstants>TRACE</DefineConstants>
|
||
<Optimize>true</Optimize>
|
||
<DebugType>none</DebugType>
|
||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||
<ErrorReport>prompt</ErrorReport>
|
||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||
</PropertyGroup>
|
||
<ItemGroup>
|
||
<Reference Include="System" />
|
||
<Reference Include="System.Core" />
|
||
<Reference Include="System.Data" />
|
||
<Reference Include="System.Drawing" />
|
||
<Reference Include="System.Windows.Forms" />
|
||
<Reference Include="System.Xml" />
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<Compile Include="..\Launcher\Properties\AssemblyInfo.cs">
|
||
<Link>Properties\AssemblyInfo.cs</Link>
|
||
</Compile>
|
||
<Compile Include="frmAppRunsConfig.cs">
|
||
<SubType>Form</SubType>
|
||
</Compile>
|
||
<Compile Include="frmAppRunsConfig.Designer.cs">
|
||
<DependentUpon>frmAppRunsConfig.cs</DependentUpon>
|
||
</Compile>
|
||
<Compile Include="frmMain.cs">
|
||
<SubType>Form</SubType>
|
||
</Compile>
|
||
<Compile Include="frmMain.Designer.cs">
|
||
<DependentUpon>frmMain.cs</DependentUpon>
|
||
</Compile>
|
||
<Compile Include="Program.cs" />
|
||
<EmbeddedResource Include="frmAppRunsConfig.resx">
|
||
<DependentUpon>frmAppRunsConfig.cs</DependentUpon>
|
||
</EmbeddedResource>
|
||
<EmbeddedResource Include="frmMain.resx">
|
||
<DependentUpon>frmMain.cs</DependentUpon>
|
||
</EmbeddedResource>
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<EmbeddedResource Include="Resources\7z.dll" />
|
||
<EmbeddedResource Include="Resources\7z.exe" />
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<ProjectReference Include="..\Launcher.Core\Launcher.Core.csproj">
|
||
<Project>{40926fe9-9a38-454f-a16f-56d7d36c1bc3}</Project>
|
||
<Name>Launcher.Core</Name>
|
||
</ProjectReference>
|
||
</ItemGroup>
|
||
<ItemGroup />
|
||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||
<PropertyGroup>
|
||
<PostBuildEvent>if $(ConfigurationName) ==Publish goto publish
|
||
goto end
|
||
:publish
|
||
set Program_ILMerge="%25systemdrive%25\Program Files (x86)\Microsoft\ILMerge\"ILMerge.exe
|
||
if not exist %25Program_ILMerge%25 set Program_ILMerge="%25systemdrive%25\Program Files\Microsoft\ILMerge\"ILMerge.exe
|
||
if not exist %25Program_ILMerge%25 goto errorMessage
|
||
if exist Launcher.Deploy1.exe del Launcher.Deploy1.exe
|
||
move Launcher.Deploy.exe Launcher.Deploy1.exe
|
||
%25Program_ILMerge%25 /ndebug /target:winexe /targetplatform:v4 /out:Launcher.Deploy.exe /log Launcher.Deploy1.exe Launcher.Core.dll
|
||
if exist Launcher.Deploy1.exe del Launcher.Deploy1.exe
|
||
if exist Launcher.Core.dll del Launcher.Core.dll
|
||
goto end
|
||
:errorMessage
|
||
start mshta vbscript:msgbox("请安装ILMerge后,再执行合并$(TargetFileName)的操作。",0,"超图软件")(window.close)
|
||
:end</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> |