205 Star 409 Fork 189

ZKEASOFT / ASP.NET-MVC-CMS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Release.xml 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
Wayne 提交于 2015-09-18 15:40 . Easy to release
<?xml version="1.0" encoding="utf-8" ?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<SolutionName>$(SolutionName)</SolutionName>
<SolutionFile>$(SolutionName).sln</SolutionFile>
<ProjectName>$(ProjectName)</ProjectName>
<ProjectFile>$(ProjectPath)\$(ProjectName)</ProjectFile>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
<ExcludeApp_Data>True</ExcludeApp_Data>
</PropertyGroup>
<Target Name="Build" DependsOnTargets="BuildPackage;CopyOutput" />
<Target Name="BuildPackage">
<MSBuild Projects="$(ProjectFile)" ContinueOnError="false" Targets="Rebuild" Properties="Configuration=$(Configuration);PrecompileBeforePublish=$(PrecompileBeforePublish);EnableUpdateable=$(EnableUpdateable);DebugSymbols=$(DebugSymbols);WDPMergeOption=$(WDPMergeOption);ExcludeApp_Data=$(ExcludeApp_Data)" />
<MSBuild Projects="$(ProjectFile)" ContinueOnError="false" Targets="Package" Properties="Configuration=$(Configuration);PrecompileBeforePublish=$(PrecompileBeforePublish);EnableUpdateable=$(EnableUpdateable);DebugSymbols=$(DebugSymbols);WDPMergeOption=$(WDPMergeOption);ExcludeApp_Data=$(ExcludeApp_Data)" />
</Target>
<Target Name="CopyOutput">
<ItemGroup>
<PackagedFiles Include="$(ProjectPath)\obj\$(Configuration)\Package\PackageTmp\**\*.*"/>
</ItemGroup>
<Copy SourceFiles="@(PackagedFiles)" DestinationFiles="@(PackagedFiles->'$(ReleasePath)\%(RecursiveDir)%(Filename)%(Extension)')"/>
</Target>
</Project>
C#
1
https://gitee.com/seriawei/ASP.NET-MVC-CMS.git
git@gitee.com:seriawei/ASP.NET-MVC-CMS.git
seriawei
ASP.NET-MVC-CMS
ASP.NET-MVC-CMS
master

搜索帮助