-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathNuGetizer.Tests.csproj
73 lines (63 loc) · 3.43 KB
/
NuGetizer.Tests.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<DefaultItemExcludes>$(DefaultItemExcludes);Scenarios\**\*</DefaultItemExcludes>
<LangVersion>Preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\NuGetizer.Tasks\NuGetizer.Tasks.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" />
<PackageReference Include="Microsoft.Build" Version="17.13.9" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="17.10.4" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Build.Locator" Version="1.9.1" />
<PackageReference Include="MSBuild.StructuredLogger" Version="2.2.386" />
<PackageReference Include="System.IO.Compression" Version="4.3.0" />
<PackageReference Include="System.IO.Compression.ZipFile" Version="4.3.0" />
<PackageReference Include="NuGet.Packaging" Version="6.12.1" />
<PackageReference Include="NuGet.ProjectManagement" Version="4.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="17.12.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2" PrivateAssets="all" />
<PackageReference Include="ThisAssembly.Project" Version="1.5.0" PrivateAssets="all" />
<PackageReference Include="ThisAssembly.Strings" Version="1.5.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<None Include="Scenarios\**\*.*" Exclude="Scenarios\**\obj\**\*.*;Scenarios\**\bin\**\*.*" CopyToOutputDirectory="PreserveNewest" />
<None Update="Content\**\*.*" CopyToOutputDirectory="PreserveNewest" />
<Content Include="..\NuGetizer.Tasks\bin\$(Configuration)\*.*" CopyToOutputDirectory="PreserveNewest" Visible="false" />
<Compile Remove="ModuleInitializerAttribute.cs" Condition="'$(TargetFramework)' == 'net6.0'" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="..\NuGetizer.Tasks\Resources.resx" Link="Resources.resx" />
</ItemGroup>
<ItemGroup>
<ProjectProperty Include="NuGetRestoreTargets" />
<ProjectProperty Include="NuGetTargets" />
<ProjectProperty Include="MSBuildBinPath" />
<ProjectProperty Include="MSBuildToolsPath" />
<ProjectProperty Include="MSBuildToolsPath32" />
<ProjectProperty Include="MSBuildToolsPath64" />
<ProjectProperty Include="PrivateRepositoryUrl" />
<ProjectProperty Include="MSBuildProjectDirectory" />
<ProjectProperty Include="OutputPath" />
</ItemGroup>
<ItemGroup>
<None Update="Content\url.md">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="EnsureProjectInformation" BeforeTargets="InjectThisAssemblyProject;GenerateMSBuildEditorConfigFileShouldRun" DependsOnTargets="InitializeSourceControlInformation" />
<Target Name="ClearMSBuild" AfterTargets="Build">
<ItemGroup>
<MSBuildAssembly Include="$(OutputPath)\Microsoft.Build*.dll" Exclude="$(OutputPath)\Microsoft.Build.Locator.dll" />
</ItemGroup>
<Delete Files="@(MSBuildAssembly)">
<Output TaskParameter="DeletedFiles" ItemName="DeletedFiles" />
</Delete>
<Message Text="Deleted: @(DeletedFiles)" Importance="high" />
</Target>
<Import Project="NuGetizer.Tests.targets" />
</Project>