diff options
Diffstat (limited to 'src/internal/WixBuildTools.TestSupport.Native')
5 files changed, 65 insertions, 72 deletions
diff --git a/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.nuspec b/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.nuspec index 2852826b..1dcdb78c 100644 --- a/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.nuspec +++ b/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.nuspec | |||
@@ -3,13 +3,13 @@ | |||
3 | <metadata minClientVersion="4.0"> | 3 | <metadata minClientVersion="4.0"> |
4 | <id>$id$</id> | 4 | <id>$id$</id> |
5 | <version>$version$</version> | 5 | <version>$version$</version> |
6 | <title>$title$</title> | ||
7 | <description>$description$</description> | ||
6 | <authors>$authors$</authors> | 8 | <authors>$authors$</authors> |
7 | <owners>$authors$</owners> | ||
8 | <license type="expression">MS-RL</license> | 9 | <license type="expression">MS-RL</license> |
9 | <projectUrl>https://github.com/wixtoolset/WixBuildTools</projectUrl> | ||
10 | <requireLicenseAcceptance>false</requireLicenseAcceptance> | 10 | <requireLicenseAcceptance>false</requireLicenseAcceptance> |
11 | <description>$description$</description> | ||
12 | <copyright>$copyright$</copyright> | 11 | <copyright>$copyright$</copyright> |
12 | <projectUrl>$projectUrl$</projectUrl> | ||
13 | <repository type="$repositorytype$" url="$repositoryurl$" commit="$repositorycommit$" /> | 13 | <repository type="$repositorytype$" url="$repositoryurl$" commit="$repositorycommit$" /> |
14 | <dependencies> | 14 | <dependencies> |
15 | <group targetFramework=".NETFramework4.7.2" /> | 15 | <group targetFramework=".NETFramework4.7.2" /> |
@@ -17,10 +17,10 @@ | |||
17 | </metadata> | 17 | </metadata> |
18 | 18 | ||
19 | <files> | 19 | <files> |
20 | <file src="build\$id$.props" target="build" /> | 20 | <file src="$projectFolder$\build\$id$.props" target="build" /> |
21 | <file src="build\$id$.targets" target="build" /> | 21 | <file src="$projectFolder$\build\$id$.targets" target="build" /> |
22 | 22 | ||
23 | <file src="$outputpath$$id$.dll" target="lib\net472" /> | 23 | <file src="..\x86\$id$.dll" target="lib\net472" /> |
24 | <file src="$outputpath$$id$.pdb" target="lib\net472" /> | 24 | <file src="..\x86\$id$.pdb" target="lib\net472" /> |
25 | </files> | 25 | </files> |
26 | </package> | 26 | </package> |
diff --git a/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.vcxproj b/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.vcxproj index aefdb4fb..d030f67b 100644 --- a/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.vcxproj +++ b/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.vcxproj | |||
@@ -1,12 +1,9 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | 3 | ||
4 | |||
5 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
6 | <Import Project="build\WixBuildTools.TestSupport.Native.props" /> | 5 | <Import Project="build\WixBuildTools.TestSupport.Native.props" /> |
7 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> | 6 | |
8 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> | ||
9 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> | ||
10 | <ItemGroup Label="ProjectConfigurations"> | 7 | <ItemGroup Label="ProjectConfigurations"> |
11 | <ProjectConfiguration Include="Debug|Win32"> | 8 | <ProjectConfiguration Include="Debug|Win32"> |
12 | <Configuration>Debug</Configuration> | 9 | <Configuration>Debug</Configuration> |
@@ -17,6 +14,7 @@ | |||
17 | <Platform>Win32</Platform> | 14 | <Platform>Win32</Platform> |
18 | </ProjectConfiguration> | 15 | </ProjectConfiguration> |
19 | </ItemGroup> | 16 | </ItemGroup> |
17 | |||
20 | <PropertyGroup Label="Globals"> | 18 | <PropertyGroup Label="Globals"> |
21 | <ProjectTypes>{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}</ProjectTypes> | 19 | <ProjectTypes>{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}</ProjectTypes> |
22 | <ProjectGuid>{95BABD97-FBDB-453A-AF8A-FA031A07B599}</ProjectGuid> | 20 | <ProjectGuid>{95BABD97-FBDB-453A-AF8A-FA031A07B599}</ProjectGuid> |
@@ -26,21 +24,17 @@ | |||
26 | <CharacterSet>Unicode</CharacterSet> | 24 | <CharacterSet>Unicode</CharacterSet> |
27 | <CLRSupport>true</CLRSupport> | 25 | <CLRSupport>true</CLRSupport> |
28 | <Description>WixBuildTools C++/CLI Test Support</Description> | 26 | <Description>WixBuildTools C++/CLI Test Support</Description> |
27 | <SignOutput>false</SignOutput> | ||
29 | </PropertyGroup> | 28 | </PropertyGroup> |
29 | |||
30 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 30 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
31 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 31 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
32 | <ImportGroup Label="Shared"> | 32 | |
33 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> | ||
34 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> | ||
35 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> | ||
36 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
37 | </ImportGroup> | ||
38 | <PropertyGroup> | 33 | <PropertyGroup> |
39 | <ProjectAdditionalIncludeDirectories> | 34 | <ProjectAdditionalIncludeDirectories></ProjectAdditionalIncludeDirectories> |
40 | </ProjectAdditionalIncludeDirectories> | 35 | <ProjectAdditionalLinkLibraries></ProjectAdditionalLinkLibraries> |
41 | <ProjectAdditionalLinkLibraries> | ||
42 | </ProjectAdditionalLinkLibraries> | ||
43 | </PropertyGroup> | 36 | </PropertyGroup> |
37 | |||
44 | <ItemGroup> | 38 | <ItemGroup> |
45 | <ClCompile Include="AssemblyInfo.cpp" /> | 39 | <ClCompile Include="AssemblyInfo.cpp" /> |
46 | <ClCompile Include="precomp.cpp"> | 40 | <ClCompile Include="precomp.cpp"> |
@@ -49,37 +43,22 @@ | |||
49 | <DisableSpecificWarnings>4564;4691</DisableSpecificWarnings> | 43 | <DisableSpecificWarnings>4564;4691</DisableSpecificWarnings> |
50 | </ClCompile> | 44 | </ClCompile> |
51 | </ItemGroup> | 45 | </ItemGroup> |
46 | |||
52 | <ItemGroup> | 47 | <ItemGroup> |
53 | <ClInclude Include="precomp.h" /> | 48 | <ClInclude Include="precomp.h" /> |
54 | <ClInclude Include="NativeAssert.h" /> | 49 | <ClInclude Include="NativeAssert.h" /> |
55 | </ItemGroup> | 50 | </ItemGroup> |
51 | |||
56 | <ItemGroup> | 52 | <ItemGroup> |
57 | <None Include="packages.config" /> | 53 | <None Include="packages.config" /> |
58 | </ItemGroup> | 54 | </ItemGroup> |
59 | <ItemGroup> | 55 | |
60 | <Reference Include="System" /> | ||
61 | <Reference Include="System.Core" /> | ||
62 | </ItemGroup> | ||
63 | <ItemGroup> | 56 | <ItemGroup> |
64 | <ProjectReference Include="..\WixBuildTools.TestSupport\WixBuildTools.TestSupport.csproj"> | 57 | <ProjectReference Include="..\WixBuildTools.TestSupport\WixBuildTools.TestSupport.csproj"> |
65 | <Project>{6C57EF2C-979A-4106-A9E5-FE342810619A}</Project> | 58 | <Project>{6C57EF2C-979A-4106-A9E5-FE342810619A}</Project> |
66 | </ProjectReference> | 59 | </ProjectReference> |
67 | </ItemGroup> | 60 | </ItemGroup> |
61 | |||
68 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 62 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
69 | <Import Project="build\WixBuildTools.TestSupport.Native.targets" /> | 63 | <Import Project="build\WixBuildTools.TestSupport.Native.targets" /> |
70 | <Target Name="PackNativeNuget" DependsOnTargets="Build"> | 64 | </Project> |
71 | <Exec Command='nuget pack $(MSBuildThisFileName).nuspec -OutputDirectory "$(OutputPath).." -Properties Id=$(MSBuildThisFileName);Version="$(BuildVersionSimple)";Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);OutputPath=$(OutputPath)' /> | ||
72 | </Target> | ||
73 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
74 | <PropertyGroup> | ||
75 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
76 | </PropertyGroup> | ||
77 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props'))" /> | ||
78 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets'))" /> | ||
79 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props'))" /> | ||
80 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> | ||
81 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> | ||
82 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> | ||
83 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
84 | </Target> | ||
85 | </Project> \ No newline at end of file | ||
diff --git a/src/internal/WixBuildTools.TestSupport.Native/build/WixBuildTools.TestSupport.Native.props b/src/internal/WixBuildTools.TestSupport.Native/build/WixBuildTools.TestSupport.Native.props index 4a7a0035..e6b5997f 100644 --- a/src/internal/WixBuildTools.TestSupport.Native/build/WixBuildTools.TestSupport.Native.props +++ b/src/internal/WixBuildTools.TestSupport.Native/build/WixBuildTools.TestSupport.Native.props | |||
@@ -1,10 +1,9 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | 3 | ||
4 | |||
5 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
6 | <PropertyGroup> | 5 | <PropertyGroup> |
7 | <RepoRootDir Condition=" '$(RepoRootDir)' == '' ">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), version.json))</RepoRootDir> | 6 | <RepoRootDir Condition=" '$(RepoRootDir)' == '' ">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), .gitignore))</RepoRootDir> |
8 | </PropertyGroup> | 7 | </PropertyGroup> |
9 | <Import Project="$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.props" Condition="Exists('$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.props')" /> | 8 | <Import Project="$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.props" Condition="Exists('$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.props')" /> |
10 | <Import Project="$(RepoRootDir)\packages\xunit.runner.visualstudio.2.4.1\build\net20\xunit.runner.visualstudio.props" Condition="Exists('$(RepoRootDir)\packages\xunit.runner.visualstudio.2.4.1\build\net20\xunit.runner.visualstudio.props')" /> | 9 | <Import Project="$(RepoRootDir)\packages\xunit.runner.visualstudio.2.4.1\build\net20\xunit.runner.visualstudio.props" Condition="Exists('$(RepoRootDir)\packages\xunit.runner.visualstudio.2.4.1\build\net20\xunit.runner.visualstudio.props')" /> |
@@ -12,18 +11,4 @@ | |||
12 | <PlatformToolset>v142</PlatformToolset> | 11 | <PlatformToolset>v142</PlatformToolset> |
13 | <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> | 12 | <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> |
14 | </PropertyGroup> | 13 | </PropertyGroup> |
15 | <ItemGroup> | 14 | </Project> |
16 | <Reference Include="xunit.abstractions"> | ||
17 | <HintPath>$(RepoRootDir)\packages\xunit.abstractions.2.0.3\lib\netstandard2.0\xunit.abstractions.dll</HintPath> | ||
18 | </Reference> | ||
19 | <Reference Include="xunit.assert"> | ||
20 | <HintPath>$(RepoRootDir)\packages\xunit.assert.2.4.1\lib\netstandard1.1\xunit.assert.dll</HintPath> | ||
21 | </Reference> | ||
22 | <Reference Include="xunit.core"> | ||
23 | <HintPath>$(RepoRootDir)\packages\xunit.extensibility.core.2.4.1\lib\netstandard1.1\xunit.core.dll</HintPath> | ||
24 | </Reference> | ||
25 | <Reference Include="xunit.execution.desktop"> | ||
26 | <HintPath>$(RepoRootDir)\packages\xunit.extensibility.execution.2.4.1\lib\net452\xunit.execution.desktop.dll</HintPath> | ||
27 | </Reference> | ||
28 | </ItemGroup> | ||
29 | </Project> \ No newline at end of file | ||
diff --git a/src/internal/WixBuildTools.TestSupport.Native/build/WixBuildTools.TestSupport.Native.targets b/src/internal/WixBuildTools.TestSupport.Native/build/WixBuildTools.TestSupport.Native.targets index 77e72e95..cd710cca 100644 --- a/src/internal/WixBuildTools.TestSupport.Native/build/WixBuildTools.TestSupport.Native.targets +++ b/src/internal/WixBuildTools.TestSupport.Native/build/WixBuildTools.TestSupport.Native.targets | |||
@@ -1,19 +1,49 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | 3 | ||
4 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
5 | <ItemGroup> | ||
6 | <Reference Include="System" /> | ||
7 | <Reference Include="System.Core" /> | ||
8 | </ItemGroup> | ||
4 | 9 | ||
5 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 10 | <!-- Include these references only when not referenced by the WixBuildTools.TestSupport.Native.vcxproj --> |
6 | <Import Project="$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.targets" Condition="Exists('$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.targets')" /> | 11 | <ItemGroup Condition="'$(MSBuildProjectName)'!='$(MSBuildThisFileName)'"> |
12 | <Reference Include="WixBuildTools.TestSupport"> | ||
13 | <HintPath>$(RootBuildFolder)internal\$(Configuration)\x86\WixBuildTools.TestSupport.dll</HintPath> | ||
14 | </Reference> | ||
15 | <Reference Include="WixBuildTools.TestSupport.Native"> | ||
16 | <HintPath>$(RootBuildFolder)internal\$(Configuration)\x86\WixBuildTools.TestSupport.Native.dll</HintPath> | ||
17 | </Reference> | ||
18 | </ItemGroup> | ||
19 | |||
20 | <ItemGroup> | ||
21 | <Reference Include="xunit.abstractions"> | ||
22 | <HintPath>$(RootPackagesFolder)xunit.abstractions.2.0.3\lib\netstandard2.0\xunit.abstractions.dll</HintPath> | ||
23 | </Reference> | ||
24 | <Reference Include="xunit.assert"> | ||
25 | <HintPath>$(RootPackagesFolder)xunit.assert.2.4.1\lib\netstandard1.1\xunit.assert.dll</HintPath> | ||
26 | </Reference> | ||
27 | <Reference Include="xunit.core"> | ||
28 | <HintPath>$(RootPackagesFolder)xunit.extensibility.core.2.4.1\lib\netstandard1.1\xunit.core.dll</HintPath> | ||
29 | </Reference> | ||
30 | <Reference Include="xunit.execution.desktop"> | ||
31 | <HintPath>$(RootPackagesFolder)xunit.extensibility.execution.2.4.1\lib\net452\xunit.execution.desktop.dll</HintPath> | ||
32 | </Reference> | ||
33 | </ItemGroup> | ||
34 | |||
35 | <Import Project="$(RootPackagesFolder)xunit.core.2.4.1\build\xunit.core.targets" Condition="Exists('$(RootPackagesFolder)xunit.core.2.4.1\build\xunit.core.targets')" /> | ||
7 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | 36 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
8 | <PropertyGroup> | 37 | <PropertyGroup> |
9 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | 38 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
10 | </PropertyGroup> | 39 | </PropertyGroup> |
11 | <Error Condition="!Exists('$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.props'))" /> | 40 | <Error Condition="!Exists('$(RootPackagesFolder)xunit.core.2.4.1\build\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.core.2.4.1\build\xunit.core.props'))" /> |
12 | <Error Condition="!Exists('$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRootDir)\packages\xunit.core.2.4.1\build\xunit.core.targets'))" /> | 41 | <Error Condition="!Exists('$(RootPackagesFolder)xunit.core.2.4.1\build\xunit.core.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.core.2.4.1\build\xunit.core.targets'))" /> |
13 | <Error Condition="!Exists('$(RepoRootDir)\packages\xunit.runner.visualstudio.2.4.1\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRootDir)\packages\xunit.runner.visualstudio.2.4.1\build\net20\xunit.runner.visualstudio.props'))" /> | 42 | <Error Condition="!Exists('$(RootPackagesFolder)xunit.runner.visualstudio.2.4.1\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.runner.visualstudio.2.4.1\build\net20\xunit.runner.visualstudio.props'))" /> |
14 | </Target> | 43 | </Target> |
15 | <UsingTask AssemblyFile="$(RepoRootDir)\packages\xunit.runner.msbuild.2.4.1\build\net452\xunit.runner.msbuild.net452.dll" TaskName="Xunit.Runner.MSBuild.xunit" /> | 44 | |
45 | <UsingTask AssemblyFile="$(RootPackagesFolder)xunit.runner.msbuild.2.4.1\build\net452\xunit.runner.msbuild.net452.dll" TaskName="Xunit.Runner.MSBuild.xunit" /> | ||
16 | <Target Name="Test" DependsOnTargets="Build"> | 46 | <Target Name="Test" DependsOnTargets="Build"> |
17 | <xunit Assemblies="$(TargetPath)" /> | 47 | <xunit Assemblies="$(TargetPath)" /> |
18 | </Target> | 48 | </Target> |
19 | </Project> \ No newline at end of file | 49 | </Project> |
diff --git a/src/internal/WixBuildTools.TestSupport.Native/packages.config b/src/internal/WixBuildTools.TestSupport.Native/packages.config index 917d7a63..2423502c 100644 --- a/src/internal/WixBuildTools.TestSupport.Native/packages.config +++ b/src/internal/WixBuildTools.TestSupport.Native/packages.config | |||
@@ -1,12 +1,11 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | 3 | ||
4 | |||
5 | <packages> | 4 | <packages> |
6 | <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" /> | 5 | <!-- |
7 | <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" /> | 6 | Update build\WixBuildTools.TestSupport.native.props and build\WixBuildTools.TestSupport.native.targets |
8 | <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" /> | 7 | when any of these versions are updated. |
9 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> | 8 | --> |
10 | <package id="xunit.abstractions" version="2.0.3" /> | 9 | <package id="xunit.abstractions" version="2.0.3" /> |
11 | <package id="xunit.assert" version="2.4.1" /> | 10 | <package id="xunit.assert" version="2.4.1" /> |
12 | <package id="xunit.core" version="2.4.1" /> | 11 | <package id="xunit.core" version="2.4.1" /> |
@@ -14,4 +13,4 @@ | |||
14 | <package id="xunit.extensibility.execution" version="2.4.1" /> | 13 | <package id="xunit.extensibility.execution" version="2.4.1" /> |
15 | <package id="xunit.runner.msbuild" version="2.4.1" /> | 14 | <package id="xunit.runner.msbuild" version="2.4.1" /> |
16 | <package id="xunit.runner.visualstudio" version="2.4.1" /> | 15 | <package id="xunit.runner.visualstudio" version="2.4.1" /> |
17 | </packages> \ No newline at end of file | 16 | </packages> |