2018-06-29 19:52:40 +02:00
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion= "15.0" >
<Import Project= "$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition= "Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup >
<TargetFrameworkVersion > v4.7.2</TargetFrameworkVersion>
<EnableDefaultCompileItems > false</EnableDefaultCompileItems>
<ProjectGuid > {4C4C194C-B5E4-4991-8F87-4373E24CC19F}</ProjectGuid>
<OutputType > Library</OutputType>
<AssemblyName > Umbraco.Web.UI</AssemblyName>
<RootNamespace > Umbraco.Web.UI</RootNamespace>
<SolutionDir Condition= "$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" > ..\</SolutionDir>
<ProjectTypeGuids > {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<RunPostBuildEvent > OnBuildSuccess</RunPostBuildEvent>
<UseIISExpress > true</UseIISExpress>
2019-10-29 00:25:03 +11:00
<IISExpressSSLPort > 44331</IISExpressSSLPort>
2018-06-29 19:52:40 +02:00
<IISExpressAnonymousAuthentication > enabled</IISExpressAnonymousAuthentication>
<IISExpressWindowsAuthentication > disabled</IISExpressWindowsAuthentication>
<IISExpressUseClassicPipelineMode > false</IISExpressUseClassicPipelineMode>
<UseGlobalApplicationHostFile />
<NuGetPackageImportStamp >
</NuGetPackageImportStamp>
<Use64BitIISExpress />
<TargetFrameworkProfile />
2019-02-13 13:44:26 +00:00
<!--
2018-06-29 19:52:40 +02:00
for some weird reason, and because Web.config is created only during BeforeBuild,
the web.config configuration file would not be picked, and the build system would
try to use a traditional app.config, thus missing all the binding redirects.
2019-02-13 13:44:26 +00:00
2018-06-29 19:52:40 +02:00
this ensures that the build system things that the config file is web.config.
2019-02-13 13:44:26 +00:00
2018-06-29 19:52:40 +02:00
(see FindAppConfigFile target in detailed build output)
-->
<AppConfig > Web.config</AppConfig>
2019-10-29 19:37:15 +01:00
<AdditionalFileItemNames > $(AdditionalFileItemNames);Content</AdditionalFileItemNames>
2018-06-29 19:52:40 +02:00
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
<DebugSymbols > true</DebugSymbols>
<DebugType > full</DebugType>
<Optimize > false</Optimize>
<OutputPath > bin\</OutputPath>
<DefineConstants > TRACE;DEBUG</DefineConstants>
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 4</WarningLevel>
<Prefer32Bit > false</Prefer32Bit>
<IntermediateOutputPath > ..\bin\Debug\</IntermediateOutputPath>
<PackageAsSingleFile > true</PackageAsSingleFile>
<DesktopBuildPackageLocation > ..\Package\Umbraco.Web.UI.zip</DesktopBuildPackageLocation>
<LangVersion > latest</LangVersion>
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
<DebugSymbols > true</DebugSymbols>
<DebugType > pdbonly</DebugType>
<Optimize > true</Optimize>
<OutputPath > bin\</OutputPath>
<DefineConstants > TRACE</DefineConstants>
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 4</WarningLevel>
<DocumentationFile > bin\Umbraco.Web.UI.xml</DocumentationFile>
<Prefer32Bit > false</Prefer32Bit>
<IntermediateOutputPath > ..\bin\Release\</IntermediateOutputPath>
<LangVersion > latest</LangVersion>
</PropertyGroup>
<ItemGroup >
<Reference Include= "Microsoft.CSharp" />
<Reference Include= "System.ComponentModel" />
<Reference Include= "System.Data" />
<Reference Include= "System.Drawing" />
<Reference Include= "System.Drawing.Design" />
<Reference Include= "System.IdentityModel" />
<Reference Include= "System.Runtime.Serialization" />
<Reference Include= "System" />
<Reference Include= "System.ComponentModel.Composition" />
<Reference Include= "System.Web" />
<Reference Include= "System.Web.Abstractions" />
<Reference Include= "System.Web.ApplicationServices" />
<Reference Include= "System.Web.Entity" />
<Reference Include= "System.Web.Extensions" />
<Reference Include= "System.Web.Services" />
<Reference Include= "System.Xml" />
</ItemGroup>
2020-11-24 11:33:46 +01:00
<ItemGroup />
2018-06-29 19:52:40 +02:00
<ItemGroup >
<PackageReference Include= "CSharpTest.Net.Collections" Version= "14.906.1403.1082" />
2020-03-12 11:50:02 +00:00
<PackageReference Include= "ClientDependency" Version= "1.9.9" />
2019-11-12 08:50:31 +01:00
<PackageReference Include= "ClientDependency-Mvc5" Version= "1.9.3" />
2021-03-04 14:10:10 +11:00
<PackageReference Include= "ImageProcessor.Web" Version= "4.12.1" />
2019-02-14 20:45:34 +01:00
<PackageReference Include= "ImageProcessor.Web.Config" Version= "2.5.0.100" />
2019-02-06 16:53:15 +11:00
<PackageReference Include= "Microsoft.AspNet.Mvc" Version= "5.2.7" />
<PackageReference Include= "Microsoft.AspNet.WebApi" Version= "5.2.7" />
2021-03-04 14:10:10 +11:00
<PackageReference Include= "Microsoft.CodeAnalysis.CSharp" Version= "3.8.0" />
2019-01-07 09:45:36 +01:00
<PackageReference Include= "Microsoft.CodeDom.Providers.DotNetCompilerPlatform" Version= "2.0.1" />
2020-09-17 17:58:11 +02:00
<PackageReference Include= "Microsoft.Owin.Host.SystemWeb" Version= "4.1.1" />
<PackageReference Include= "Microsoft.Owin.Security.Cookies" Version= "4.1.1" />
<PackageReference Include= "Microsoft.Owin.Security.OAuth" Version= "4.1.1" />
2019-06-23 19:57:43 +01:00
<PackageReference Include= "Microsoft.SourceLink.GitHub" >
2020-02-05 08:43:23 +01:00
<Version > 1.0.0</Version>
2019-06-23 19:57:43 +01:00
<IncludeAssets > runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets > all</PrivateAssets>
</PackageReference>
2020-09-17 17:58:11 +02:00
<PackageReference Include= "MiniProfiler" Version= "4.2.1" />
2020-02-05 08:43:23 +01:00
<PackageReference Include= "Newtonsoft.Json" Version= "12.0.3" />
2019-10-29 19:37:15 +01:00
<PackageReference Include= "SecurityCodeScan" >
2020-10-07 14:38:15 +02:00
<Version > 3.5.3</Version>
2019-10-29 19:37:15 +01:00
<IncludeAssets > runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets > all</PrivateAssets>
</PackageReference>
2021-01-20 21:01:45 +01:00
<PackageReference Include= "System.ComponentModel.Annotations" Version= "5.0.0" />
2018-06-29 19:52:40 +02:00
<PackageReference Include= "Umbraco.SqlServerCE" Version= "4.0.0.1" />
</ItemGroup>
<ItemGroup >
2020-02-24 08:21:53 +01:00
<ProjectReference Include= "..\Umbraco.Core\Umbraco.Core.csproj" >
2019-05-20 18:28:35 +02:00
<Project > {29aa69d9-b597-4395-8d42-43b1263c240a}</Project>
2020-02-24 08:21:53 +01:00
<Name > Umbraco.Core</Name>
2019-05-20 18:28:35 +02:00
</ProjectReference>
2020-01-28 17:09:45 +11:00
<ProjectReference Include= "..\Umbraco.Examine.Lucene\Umbraco.Examine.Lucene.csproj" >
2020-02-05 08:17:30 +01:00
<Project > {0fad7d2a-d7dd-45b1-91fd-488bb6cdacea}</Project>
2020-01-28 17:09:45 +11:00
<Name > Umbraco.Examine.Lucene</Name>
2018-06-29 19:52:40 +02:00
</ProjectReference>
2020-02-06 14:40:46 +01:00
<ProjectReference Include= "..\Umbraco.PublishedCache.NuCache\Umbraco.PublishedCache.NuCache.csproj" >
<Project > {f6de8da0-07cc-4ef2-8a59-2bc81dbb3830}</Project>
<Name > Umbraco.PublishedCache.NuCache</Name>
</ProjectReference>
2018-06-29 19:52:40 +02:00
<ProjectReference Include= "..\Umbraco.Web\Umbraco.Web.csproj" >
<Project > {651e1350-91b6-44b7-bd60-7207006d7003}</Project>
<Name > Umbraco.Web</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup >
<Compile Include= "Properties\AssemblyInfo.cs" />
<Compile Include= "Properties\Settings.Designer.cs" >
<AutoGen > True</AutoGen>
<DesignTimeSharedInput > True</DesignTimeSharedInput>
<DependentUpon > Settings.settings</DependentUpon>
</Compile>
2020-10-14 11:21:51 +01:00
<Content Include= "Umbraco\Config\Lang\cy.xml" />
2018-06-29 19:52:40 +02:00
<None Include= "Config\ClientDependency.Release.config" >
<DependentUpon > ClientDependency.config</DependentUpon>
<SubType > Designer</SubType>
</None>
<Content Include= "Config\imageprocessor\security.config" />
<Content Include= "Config\imageprocessor\processing.config" />
<Content Include= "Config\imageprocessor\cache.config" >
<SubType > Designer</SubType>
</Content>
<Content Include= "Config\HealthChecks.config" >
<SubType > Designer</SubType>
</Content>
<None Include= "Config\HealthChecks.Release.config" >
<DependentUpon > HealthChecks.config</DependentUpon>
<SubType > Designer</SubType>
</None>
2018-08-09 22:08:40 +01:00
<Content Include= "Config\serilog.user.config" >
<SubType > Designer</SubType>
</Content>
2019-02-13 13:44:26 +00:00
<None Include= "Config\serilog.user.Release.config" >
2019-02-14 14:23:08 +01:00
<DependentUpon > serilog.user.config</DependentUpon>
<SubType > Designer</SubType>
2019-02-13 13:44:26 +00:00
</None>
2018-07-31 09:50:43 +01:00
<Content Include= "Config\serilog.config" >
<SubType > Designer</SubType>
</Content>
2019-02-13 13:44:26 +00:00
<None Include= "Config\serilog.Release.config" >
2019-02-14 14:23:08 +01:00
<DependentUpon > serilog.config</DependentUpon>
<SubType > Designer</SubType>
2019-02-13 13:44:26 +00:00
</None>
2018-06-29 19:52:40 +02:00
<Content Include= "Media\Web.config" />
<Content Include= "Properties\Settings.settings" >
<Generator > SettingsSingleFileGenerator</Generator>
<LastGenOutput > Settings.Designer.cs</LastGenOutput>
</Content>
<Content Include= "Global.asax" />
<Content Include= "Umbraco\Js\UmbracoSpeechBubbleBackEnd.js" />
<Content Include= "Config\ClientDependency.config" >
<SubType > Designer</SubType>
</Content>
<Content Include= "Views\Web.config" >
<SubType > Designer</SubType>
</Content>
<Content Include= "Web.config" >
<SubType > Designer</SubType>
</Content>
<None Include= "web.Template.Debug.config" >
<DependentUpon > Web.Template.config</DependentUpon>
<SubType > Designer</SubType>
</None>
<None Include= "web.Template.Release.config" >
<DependentUpon > Web.Template.config</DependentUpon>
<SubType > Designer</SubType>
</None>
<!-- <Content Include="Umbraco\users\PermissionEditor.aspx" /> -->
<None Include= "web.Template.config" >
<SubType > Designer</SubType>
</None>
</ItemGroup>
<!-- determine VSToolsPath -->
<PropertyGroup >
<VisualStudioVersion Condition= "'$(VisualStudioVersion)' == ''" > 11.0</VisualStudioVersion>
<VSToolsPath Condition= "exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets')" > $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v11.0</VSToolsPath>
<VSToolsPath Condition= "exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets')" > $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0</VSToolsPath>
<VSToolsPath Condition= "exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets')" > $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v14.0</VSToolsPath>
<VSToolsPath Condition= "exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets')" > $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0</VSToolsPath>
2019-04-29 13:59:16 +02:00
<VSToolsPath Condition= "exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v16.0\WebApplications\Microsoft.WebApplication.targets')" > $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v16.0</VSToolsPath>
2018-06-29 19:52:40 +02:00
</PropertyGroup>
<!-- determine WebPublishingTasks -->
<PropertyGroup >
<WebPublishingTasks Condition= "exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.Tasks.dll')" > $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.Tasks.dll</WebPublishingTasks>
<WebPublishingTasks Condition= "exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.Tasks.dll')" > $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.Tasks.dll</WebPublishingTasks>
<WebPublishingTasks Condition= "exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll')" > $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll</WebPublishingTasks>
<WebPublishingTasks Condition= "exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll')" > $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll</WebPublishingTasks>
2018-12-10 14:59:17 +00:00
<WebPublishingTasks Condition= "exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.Tasks.dll')" > $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.Tasks.dll</WebPublishingTasks>
<WebPublishingTasks Condition= "exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v16.0\Web\Microsoft.Web.Publishing.Tasks.dll')" > $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v16.0\Web\Microsoft.Web.Publishing.Tasks.dll</WebPublishingTasks>
<!-- Temporary addition for the VS2019 preview - can be removed when VS2019 final is released, then v16 above will be used -->
<WebPublishingTasks Condition= "exists('$(ProgramFiles32)\Microsoft Visual Studio\2019\Preview\MSBuild\Microsoft\VisualStudio\v16.0\Web\Microsoft.Web.Publishing.Tasks.dll')" > $(ProgramFiles32)\Microsoft Visual Studio\2019\Preview\MSBuild\Microsoft\VisualStudio\v16.0\Web\Microsoft.Web.Publishing.Tasks.dll</WebPublishingTasks>
2018-06-29 19:52:40 +02:00
</PropertyGroup>
<!-- get TransformXml task from WebPublishingtasks -->
<UsingTask TaskName= "TransformXml" AssemblyFile= "$(WebPublishingTasks)" Condition= "'$(WebPublishingTasks)' != ''" />
<!-- get NuGet packages directory -->
<PropertyGroup >
<NuGetPackages > $(NuGetPackageFolders.Split(';')[0])</NuGetPackages>
</PropertyGroup>
<!-- import targets -->
<Import Project= "$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project= "$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition= "'$(VSToolsPath)' != ''" />
<!-- web project -->
<ProjectExtensions >
<VisualStudio >
<FlavorProperties GUID= "{349c5851-65df-11da-9384-00065b846f21}" >
<WebProjectProperties >
<UseIIS > False</UseIIS>
<AutoAssignPort > True</AutoAssignPort>
2021-01-08 15:47:54 +01:00
<DevelopmentServerPort > 8110</DevelopmentServerPort>
2020-08-26 08:05:15 +02:00
<DevelopmentServerVPath > /</DevelopmentServerVPath>
2021-01-08 15:47:54 +01:00
<IISUrl > http://localhost:8110</IISUrl>
2018-06-29 19:52:40 +02:00
<NTLMAuthentication > False</NTLMAuthentication>
<UseCustomServer > False</UseCustomServer>
<CustomServerUrl >
</CustomServerUrl>
<SaveServerSettingsInUserFile > False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<Target Name= "BeforeBuild" >
<Message Text= "-BeforeBuild-" Importance= "high" />
<Message Text= "MSBuildExtensionsPath: $(MSBuildExtensionsPath)" Importance= "high" />
<Message Text= "WebPublishingTasks: $(WebPublishingTasks)" Importance= "high" />
<Message Text= "NuGetPackageFolders: $(NuGetPackageFolders)" Importance= "high" />
<Message Text= "NuGetPackages: $(NuGetPackages)" Importance= "high" />
<!-- Create web.config file from Template if it doesn't exist -->
<Message Text= "Copy Web.Template.config to Web.config" Importance= "high" Condition= "!Exists('$(ProjectDir)Web.config')" />
<Copy SourceFiles= "$(ProjectDir)web.Template.config" DestinationFiles= "$(ProjectDir)Web.config" OverwriteReadOnlyFiles= "true" SkipUnchangedFiles= "false" Condition= "!Exists('$(ProjectDir)Web.config')" />
<!-- Transform the local Web.config file in Visual Studio -->
<Message Text= "Transform Web.config with web.Template.$(Configuration).config into Web.$(Configuration).config.transformed (this is Visual Studio)" Importance= "high" Condition= "$(BuildingInsideVisualStudio) == true" />
<TransformXml Source= "$(ProjectDir)Web.config" Transform= "$(ProjectDir)web.Template.$(Configuration).config" Destination= "$(ProjectDir)Web.$(Configuration).config.transformed" Condition= "$(BuildingInsideVisualStudio) == true" />
<!-- Always transform the Template file when not in VS (ie: build.bat) -->
<Message Text= "Transform Web.Template.config with web.Template.$(Configuration).config into Web.$(Configuration).config.transformed (this is not Visual Studio)" Importance= "high" Condition= "$(BuildingInsideVisualStudio) != true" />
<TransformXml Source= "$(ProjectDir)Web.Template.config" Transform= "$(ProjectDir)web.Template.$(Configuration).config" Destination= "Web.$(Configuration).config.transformed" Condition= "$(BuildingInsideVisualStudio) != true" />
<!-- Create ClientDependency.config file from Template if it doesn't exist -->
<Message Text= "Copy ClientDependency.$(Configuration).config to ClientDependency.config" Importance= "high" Condition= "!Exists('$(ProjectDir)Config\ClientDependency.config')" />
<Copy SourceFiles= "$(ProjectDir)Config\ClientDependency.Release.config" DestinationFiles= "$(ProjectDir)Config\ClientDependency.config" OverwriteReadOnlyFiles= "true" SkipUnchangedFiles= "false" Condition= "!Exists('$(ProjectDir)Config\ClientDependency.config')" />
2019-02-13 12:28:01 +00:00
<!-- Create Serilog.config & serilog.user.config file from Templates if it doesn't exist -->
<Message Text= "Copy serilog.$(Configuration).config to serilog.config" Importance= "high" Condition= "!Exists('$(ProjectDir)Config\serilog.config')" />
<Copy SourceFiles= "$(ProjectDir)Config\serilog.Release.config" DestinationFiles= "$(ProjectDir)Config\serilog.config" OverwriteReadOnlyFiles= "true" SkipUnchangedFiles= "false" Condition= "!Exists('$(ProjectDir)Config\serilog.config')" />
<Message Text= "Copy serilog.user.$(Configuration).config to serilog.user.config" Importance= "high" Condition= "!Exists('$(ProjectDir)Config\serilog.user.config')" />
<Copy SourceFiles= "$(ProjectDir)Config\serilog.user.Release.config" DestinationFiles= "$(ProjectDir)Config\serilog.user.config" OverwriteReadOnlyFiles= "true" SkipUnchangedFiles= "false" Condition= "!Exists('$(ProjectDir)Config\serilog.user.config')" />
2018-06-29 19:52:40 +02:00
<!-- Build Belle, if building is Visual Studio and the build folder does not exist yet -->
<Message Text= "Skip Belle because UmbracoBuild is '$(UmbracoBuild)' (this is not Visual Studio)." Importance= "High" Condition= "'$(UmbracoBuild)' != ''" />
<Message Text= "Skip Belle because $(ProjectDir)Umbraco\lib exists." Importance= "High" Condition= "Exists('$(ProjectDir)Umbraco\lib')" />
<Message Text= "Build Belle because UmbracoBuild is empty (this is Visual Studio), and $(ProjectDir)Umbraco\lib does not exist." Importance= "High" Condition= "!Exists('$(ProjectDir)Umbraco\lib') and '$(UmbracoBuild)' == ''" />
<CallTarget Targets= "BelleBuild" Condition= "!Exists('$(ProjectDir)Umbraco\lib') and '$(UmbracoBuild)' == ''" />
</Target>
<!-- clean Belle when cleaning and rebuilding, but only in Visual Studio -->
<Target Name= "CleanBelle" AfterTargets= "Clean" Condition= "'$(UmbracoBuild)' == ''" >
<Message Text= "-CleanBelle-" Importance= "high" />
<Message Text= "Nothing to clean, as $(ProjectDir)Umbraco\lib does not exist." Importance= "High" Condition= "!Exists('$(ProjectDir)Umbraco\lib')" />
<Message Text= "Not cleaning (found src/preserve.belle)." Importance= "High" Condition= "Exists('$(ProjectDir)Umbraco\lib') and Exists('$(SolutionDir)preserve.belle')" />
<Message Text= "Remove $(ProjectDir)Umbraco\lib." Importance= "High" Condition= "Exists('$(ProjectDir)Umbraco\lib') and !Exists('$(SolutionDir)preserve.belle')" />
<ItemGroup >
<BelleLib Include= "$(ProjectDir)Umbraco\lib" />
</ItemGroup>
<RemoveDir Directories= "@(BelleLib)" Condition= "Exists('$(ProjectDir)Umbraco\lib') and !Exists('$(SolutionDir)preserve.belle')" />
</Target>
<Target Name= "AfterBuild" >
<Message Text= "-AfterBuild-" Importance= "high" />
<Message Text= "Copy Web.$(Configuration).config.transformed over to Web.config (this is Visual Studio)" Importance= "high" Condition= "$(BuildingInsideVisualStudio) == true" />
<Copy SourceFiles= "$(ProjectDir)Web.$(Configuration).config.transformed" DestinationFiles= "$(ProjectDir)Web.config" OverwriteReadOnlyFiles= "true" SkipUnchangedFiles= "false" Condition= "$(BuildingInsideVisualStudio) == true" />
</Target>
<Target Name= "BelleBuild" >
<Exec WorkingDirectory= "$(ProjectDir)\..\..\" Command= "powershell -ExecutionPolicy RemoteSigned -Command "&{ $ubuild = &"$pwd\build\build.ps1" -get ; $ubuild.CompileBelle() }"" />
</Target>
<Target Name= "ResetConfigFiles" Condition= "'$(WebProjectOutputDir)' != ''" BeforeTargets= "Build;Rebuild" Inputs= "@(ConfigFiles)" Outputs= "%(Identity).Dummy" >
<ItemGroup >
<!-- every *.config (recursive) files xcept web[.*].config -->
<!-- beware! includes any rogue git - ignored or temp config file -->
<ConfigFiles Include= "$(ProjectDir)**\*.config" Exclude= "$(ProjectDir)web.config;$(ProjectDir)web.*.config" />
<!-- and the UI file -->
<ConfigFiles Include= "$(ProjectDir)umbraco\config\create\UI.xml" />
</ItemGroup>
<PropertyGroup >
<!-- the original file eg src/.../umbracoSettings.config -->
<OriginalFileName > @(ConfigFiles)</OriginalFileName>
<!-- the configuration version of the original file eg src/.../umbracoSettings.Release.config -->
<ModifiedFileName > $(OriginalFileName.Replace("%(ConfigFiles.Extension)",".$(Configuration)%(ConfigFiles.Extension)"))</ModifiedFileName>
<!-- the target file eg webapp/.../umbracoSettings.config -->
<OutputFileName > $(OriginalFileName.Replace("$(ProjectDir)", "$(WebProjectOutputDir)"))</OutputFileName>
</PropertyGroup>
<!--
for each whatever.config file,
if there is a whatever.(Release|Debug).config file,
copy it over as whatever.config
-->
<Message Text= "ConfigFile: $(OriginalFileName) -> $(OutputFileName)" Importance= "high" Condition= "Exists('$(ModifiedFileName)')" />
<Copy SourceFiles= "$(ModifiedFileName)" DestinationFiles= "$(OutputFileName)" OverwriteReadOnlyFiles= "true" SkipUnchangedFiles= "false" Condition= "Exists('$(ModifiedFileName)')" />
</Target>
2021-03-04 14:10:10 +11:00
</Project>