Skip to content

Commit a37cd30

Browse files
committed
Merge remote-tracking branch 'libtemplate/microbuild' into libtemplate
2 parents b81d906 + f262028 commit a37cd30

File tree

7 files changed

+31
-19
lines changed

7 files changed

+31
-19
lines changed

Directory.Packages.props

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,34 @@
77
</PropertyGroup>
88
<ItemGroup>
99
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
10+
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
1011
<PackageVersion Include="Moq" Version="4.18.2" />
1112
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" />
1213
<PackageVersion Include="xunit" Version="2.4.2" />
1314
</ItemGroup>
15+
<!-- The following PackageVersion and PackageReference items should be consolidated to GlobalPackageReference items
16+
once we can target the stable .NET 7 SDK and Visual Studio 2022 Update 4 is generally available in cloud build agents.-->
1417
<ItemGroup>
15-
<GlobalPackageReference Include="CSharpIsNullAnalyzer" Version="0.1.329" />
16-
<GlobalPackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" />
17-
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.5.119" />
18-
<GlobalPackageReference Include="Nullable" Version="1.3.1" />
19-
<GlobalPackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.435" />
18+
<PackageVersion Include="CSharpIsNullAnalyzer" Version="0.1.329" />
19+
<PackageVersion Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" />
20+
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.VisualStudio" Version="$(MicroBuildVersion)" />
21+
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.5.119" />
22+
<PackageVersion Include="Nullable" Version="1.3.1" />
23+
<PackageVersion Include="StyleCop.Analyzers.Unstable" Version="1.2.0.435" />
2024
</ItemGroup>
2125
<ItemGroup>
22-
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
23-
<GlobalPackageReference Include="Microsoft.VisualStudio.Internal.MicroBuild.VisualStudio" Version="$(MicroBuildVersion)" />
26+
<PackageVersion Include="Microsoft.SourceLink.AzureRepos.Git" Version="1.0.0" />
27+
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
28+
</ItemGroup>
29+
<ItemGroup>
30+
<PackageReference Include="CSharpIsNullAnalyzer" PrivateAssets="all" />
31+
<PackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" PrivateAssets="all" />
32+
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="all" />
33+
<PackageReference Include="Nullable" PrivateAssets="all" />
34+
<PackageReference Include="StyleCop.Analyzers.Unstable" PrivateAssets="all" />
35+
</ItemGroup>
36+
<ItemGroup>
37+
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" />
38+
<PackageReference Include="Microsoft.VisualStudio.Internal.MicroBuild.VisualStudio" PrivateAssets="all" />
2439
</ItemGroup>
2540
</Project>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "7.0.100-rc.2.22477.23",
3+
"version": "6.0.402",
44
"rollForward": "patch",
55
"allowPrerelease": false
66
}

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
2-
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, Directory.Build.props))\Directory.Build.props" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, Directory.Build.props))' != '' " />
2+
<Import Project="$([MSBuild]::GetPathOfFileAbove($(MSBuildThisFile), $(MSBuildThisFileDirectory)..))" />
33

44
<PropertyGroup>
55
<PackageProjectUrl>https://github.com/Microsoft/vs-validation</PackageProjectUrl>

src/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<Compile Include="$(MSBuildThisFileDirectory)AssemblyInfo.cs" />
44
</ItemGroup>
55

6-
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, Directory.Build.targets))\Directory.Build.targets" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, Directory.Build.targets))' != '' " />
6+
<Import Project="$([MSBuild]::GetPathOfFileAbove($(MSBuildThisFile), $(MSBuildThisFileDirectory)..))" />
77
</Project>

test/Directory.Build.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<Project>
2-
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, Directory.Build.props))\Directory.Build.props" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, Directory.Build.props))' != '' " />
2+
<Import Project="$([MSBuild]::GetPathOfFileAbove($(MSBuildThisFile), $(MSBuildThisFileDirectory)..))" />
33

44
<PropertyGroup>
55
<IsPackable>false</IsPackable>
66
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
77
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" PrivateAssets="all" />
11+
</ItemGroup>
812
</Project>

test/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<Project>
2-
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, Directory.Build.targets))\Directory.Build.targets" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, Directory.Build.targets))' != '' " />
2+
<Import Project="$([MSBuild]::GetPathOfFileAbove($(MSBuildThisFile), $(MSBuildThisFileDirectory)..))" />
33
</Project>

test/Directory.Packages.props

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)