mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
230 lines
12 KiB
XML
230 lines
12 KiB
XML
<?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)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>9.0.30729</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{50B779EA-EC00-4699-84C0-03B395C365D2}</ProjectGuid>
|
|
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Orchard.Web</RootNamespace>
|
|
<AssemblyName>Orchard.Web</AssemblyName>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<MvcBuildViews>false</MvcBuildViews>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<OldToolsVersion>3.5</OldToolsVersion>
|
|
<UpgradeBackupLocation />
|
|
<TargetFrameworkProfile />
|
|
<UseIISExpress>true</UseIISExpress>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<CodeAnalysisRuleSet>..\OrchardBasicCorrectness.ruleset</CodeAnalysisRuleSet>
|
|
<FilesToIncludeForPublish>AllFilesInProjectFolder</FilesToIncludeForPublish>
|
|
<PackageAsSingleFile>false</PackageAsSingleFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Autofac, Version=2.6.1.841, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\autofac\Autofac.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Autofac.Integration.Mvc, Version=2.6.1.841, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\autofac\Autofac.Integration.Mvc.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Autofac.Integration.Web, Version=2.6.1.841, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\autofac\Autofac.Integration.Web.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\aspnetmvc\Microsoft.Web.Infrastructure.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="NHibernate.ByteCode.Castle, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\fluentnhibernate\NHibernate.ByteCode.Castle.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="NuGet.Core, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\nuget\NuGet.Core.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.ComponentModel.DataAnnotations">
|
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\sqlce\System.Data.SqlServerCe.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.ServiceModel" />
|
|
<Reference Include="System.Web.ApplicationServices" />
|
|
<Reference Include="System.Web.DynamicData" />
|
|
<Reference Include="System.Web.Entity" />
|
|
<Reference Include="System.Web.Extensions" />
|
|
<Reference Include="System.Web" />
|
|
<Reference Include="System.Web.Abstractions" />
|
|
<Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\aspnetmvc\System.Web.Helpers.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\aspnetmvc\System.Web.Mvc.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.Web.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\aspnetmvc\System.Web.Razor.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.Web.Routing" />
|
|
<Reference Include="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\aspnetmvc\System.Web.WebPages.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.Web.WebPages.Deployment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\aspnetmvc\System.Web.WebPages.Deployment.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<HintPath>..\..\lib\aspnetmvc\System.Web.WebPages.Razor.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Web.Services" />
|
|
<Reference Include="System.EnterpriseServices" />
|
|
<Reference Include="System.Web.Mobile" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Global.asax.cs">
|
|
<DependentUpon>Global.asax</DependentUpon>
|
|
</Compile>
|
|
<Content Include="Config\log4net.config" />
|
|
<Content Include="Config\Sample.HostComponents.config">
|
|
<SubType>Designer</SubType>
|
|
</Content>
|
|
<None Include="Media\web.config" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Global.asax" />
|
|
<Content Include="Media\OrchardLogo.png" />
|
|
<Content Include="Refresh.html" />
|
|
<Content Include="Web.config">
|
|
<SubType>Designer</SubType>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Orchard.WarmupStarter\Orchard.WarmupStarter.csproj">
|
|
<Project>{5C0D5249-AEF5-4BB6-8F5F-057B91AC2D7A}</Project>
|
|
<Name>Orchard.WarmupStarter</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Orchard\Orchard.Framework.csproj">
|
|
<Project>{2D1D92BB-4555-4CBE-8D0E-63563D6CE4C6}</Project>
|
|
<Name>Orchard.Framework</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Tools\Orchard\Orchard.csproj">
|
|
<Project>{33B1BC8D-E292-4972-A363-22056B207156}</Project>
|
|
<Name>Orchard</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="Core\Orchard.Core.csproj">
|
|
<Project>{9916839C-39FC-4CEB-A5AF-89CA7E87119F}</Project>
|
|
<Name>Orchard.Core</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Config\Sample.Host.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="App_Data\" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
|
<!-- 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> -->
|
|
<PropertyGroup>
|
|
<CopyAllFilesToSingleFolderForPackageDependsOn>
|
|
CustomCollectFiles;
|
|
$(CopyAllFilesToSingleFolderForPackageDependsOn);
|
|
</CopyAllFilesToSingleFolderForPackageDependsOn>
|
|
</PropertyGroup>
|
|
<Target Name="CustomCollectFiles">
|
|
<ItemGroup>
|
|
<Orchard-Web-Bins Include="bin\*" />
|
|
<SqlCeBinariesx86 Include="..\..\lib\sqlce\x86\**\*" />
|
|
<SqlCeBinariesx64 Include="..\..\lib\sqlce\amd64\**\*" />
|
|
<_CustomFiles Include="Media\**\*;App_Data\**\*;Modules\**\*;Themes\**\*;Core\**\*" Exclude="**\obj\**;@(Orchard-Web-Bins -> '**\%(Filename)%(Extension)');**\*.csproj.user;**\*.hg*" />
|
|
<FilesForPackagingFromProject Include="%(_CustomFiles.Identity)">
|
|
<DestinationRelativePath>%(RelativeDir)%(Filename)%(Extension)</DestinationRelativePath>
|
|
</FilesForPackagingFromProject>
|
|
<_SqlCeBinariesx86Files Include="@(SqlCeBinariesx86);" />
|
|
<FilesForPackagingFromProject Include="%(_SqlCeBinariesx86Files.Identity)">
|
|
<DestinationRelativePath>bin\x86\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
|
</FilesForPackagingFromProject>
|
|
<_SqlCeBinariesx64Files Include="@(SqlCeBinariesx64);" />
|
|
<FilesForPackagingFromProject Include="%(_SqlCeBinariesx64Files.Identity)">
|
|
<DestinationRelativePath>bin\amd64\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
|
</FilesForPackagingFromProject>
|
|
</ItemGroup>
|
|
</Target>
|
|
<Target Name="CopySqlCeBinaries">
|
|
<ItemGroup>
|
|
<SqlCeBinariesx86 Include="$(ProjectDir)..\..\lib\sqlce\x86\**\*" />
|
|
<SqlCeBinariesx64 Include="$(ProjectDir)..\..\lib\sqlce\amd64\**\*" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(SqlCeBinariesx86)" DestinationFolder="$(OutputPath)\x86\%(RecursiveDir)" SkipUnchangedFiles="true" />
|
|
<Copy SourceFiles="@(SqlCeBinariesx64)" DestinationFolder="$(OutputPath)\amd64\%(RecursiveDir)" SkipUnchangedFiles="true" />
|
|
</Target>
|
|
<Target Name="AfterBuild" DependsOnTargets="AfterBuildCompiler">
|
|
<PropertyGroup>
|
|
<AreasManifestDir>$(ProjectDir)\..\Manifests</AreasManifestDir>
|
|
</PropertyGroup>
|
|
<CallTarget Targets="CopySqlCeBinaries" />
|
|
<!-- If this is an area child project, uncomment the following line:
|
|
<CreateAreaManifest AreaName="$(AssemblyName)" AreaType="Child" AreaPath="$(ProjectDir)" ManifestPath="$(AreasManifestDir)" ContentFiles="@(Content)" />
|
|
-->
|
|
<!-- If this is an area parent project, uncomment the following lines:
|
|
<CreateAreaManifest AreaName="$(AssemblyName)" AreaType="Parent" AreaPath="$(ProjectDir)" ManifestPath="$(AreasManifestDir)" ContentFiles="@(Content)" />
|
|
<CopyAreaManifests ManifestPath="$(AreasManifestDir)" CrossCopy="false" RenameViews="true" />
|
|
-->
|
|
</Target>
|
|
<Target Name="AfterBuildCompiler" Condition="'$(MvcBuildViews)'=='true'">
|
|
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\$(ProjectName)" />
|
|
</Target>
|
|
<ProjectExtensions>
|
|
<VisualStudio>
|
|
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
|
<WebProjectProperties>
|
|
<UseIIS>False</UseIIS>
|
|
<AutoAssignPort>False</AutoAssignPort>
|
|
<DevelopmentServerPort>30320</DevelopmentServerPort>
|
|
<DevelopmentServerVPath>/OrchardLocal</DevelopmentServerVPath>
|
|
<IISUrl>http://localhost:30320/OrchardLocal</IISUrl>
|
|
<NTLMAuthentication>False</NTLMAuthentication>
|
|
<UseCustomServer>False</UseCustomServer>
|
|
<CustomServerUrl>
|
|
</CustomServerUrl>
|
|
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
|
</WebProjectProperties>
|
|
</FlavorProperties>
|
|
</VisualStudio>
|
|
</ProjectExtensions>
|
|
</Project> |