Hosted build agents have not a lot of free disk space and since we don't need these dirs anymore after we created the test archive we can delete it.
<Error Condition="'$(TestArchiveTestsDir)' == ''" Text="TestArchiveTestsDir property to archive the test folder must be set." />
<PropertyGroup>
- <BundleDir>$([MSBuild]::NormalizeDirectory('$(OutDir)', 'AppBundle'))</BundleDir>
<_ZipSourceDirectory>$(OutDir)</_ZipSourceDirectory>
<_ZipSourceDirectory Condition="'$(TargetOS)' == 'Browser'">$(BundleDir)</_ZipSourceDirectory>
</PropertyGroup>
<ZipDirectory SourceDirectory="$(_ZipSourceDirectory)"
DestinationFile="$([MSBuild]::NormalizePath('$(TestArchiveTestsDir)', '$(TestProjectName).zip'))"
Overwrite="true" />
+ <!-- delete the BundleDir and PublishDir in CI builds to save disk space on build agents since they're no longer needed -->
+ <RemoveDir Condition="'$(ContinuousIntegrationBuild)' == 'true'" Directories="$(BundleDir);$(PublishDir)" />
</Target>
<UsingTask TaskName="GenerateRunScript" AssemblyFile="$(InstallerTasksAssemblyPath)"/>
<Compile Include="XsltSettings.cs" />
<Compile Include="XunitAssemblyAttribute.cs" />
<Compile Include="XslCompiledTransform.cs" />
+ <Compile Include="..\XslTransformApi\cthread.cs" />
+ <Compile Include="..\XslTransformApi\CThreads.cs" />
+ <Compile Include="..\XslTransformApi\DataHelper.cs" />
+ <Compile Include="..\XslTransformApi\ExceptionVerifier.cs" />
+ <Compile Include="..\XslTransformApi\MyNavigator.cs" />
+ <Compile Include="..\XslTransformApi\ReaderType.cs" />
+ <Compile Include="..\XslTransformApi\ThreadFunc.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="..\TestFiles\**\*"
<ProjectReference Include="$(CommonTestPath)System\Xml\ModuleCore\ModuleCore.csproj" />
<ProjectReference Include="$(CommonTestPath)System\Xml\XmlCoreTest\XmlCoreTest.csproj" />
<ProjectReference Include="$(CommonTestPath)System\Xml\XmlDiff\XmlDiff.csproj" />
- <ProjectReference Include="..\XslTransformApi\System.Xml.Xsl.XslTransformApi.Tests.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
--- /dev/null
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+namespace System.Xml.Tests
+{
+ public enum ReaderType
+ {
+ XmlTextReader, XmlNodeReader, XmlValidatingReader, XsltReader, Unknown
+ }
+}
\ No newline at end of file
<Compile Include="DataHelper.cs" />
<Compile Include="ExceptionVerifier.cs" />
<Compile Include="MyNavigator.cs" />
+ <Compile Include="ReaderType.cs" />
<Compile Include="ThreadFunc.cs" />
<Compile Include="XSLTransform.cs" />
<Compile Include="XunitAssemblyAttributes.cs" />
XmlDocument, XPathDocument, Unknown
}
- public enum ReaderType
- {
- XmlTextReader, XmlNodeReader, XmlValidatingReader, XsltReader, Unknown
- }
-
////////////////////////////////////////////////////////////////
// Module declaration for LTM usage
//