Skip to content

Commit 9954f5a

Browse files
author
Nate McMaster
committed
Fix MSB4062 - fix conflicting build tools dependencies by ensuring the same version is used
1 parent 137a72f commit 9954f5a

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

build/repo.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</ItemGroup>
5151

5252
<ItemGroup>
53-
<SamplesProject Include="$(RepositoryRoot)src\samples\**\*.csproj;"/>
53+
<SamplesProject Include="$(RepositoryRoot)src\**\samples\**\*.csproj;"/>
5454

5555
<ProjectToExclude Include="@(SamplesProject)" Condition="'$(BuildSamples)' == 'false' "/>
5656

src/SiteExtensions/Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@
55
<Import Project="build\dependencies.props" />
66
<Import Project="version.props" />
77

8+
<PropertyGroup>
9+
<EnableApiCheck>false</EnableApiCheck>
10+
<GenerateSourceLinkFile>false</GenerateSourceLinkFile>
11+
</PropertyGroup>
12+
813
</Project>

src/SiteExtensions/build/dependencies.props

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
44
</PropertyGroup>
55

6+
<Import Project="..\..\..\build\dependencies.props" />
7+
68
<PropertyGroup Label="Package Versions">
7-
<InternalAspNetCoreSdkPackageVersion>3.0.0-build-20181114.5</InternalAspNetCoreSdkPackageVersion>
89
<MicrosoftAspNetCoreAzureAppServicesSiteExtension21PackageVersion>2.1.1-rtm-31076</MicrosoftAspNetCoreAzureAppServicesSiteExtension21PackageVersion>
910
<MicrosoftAspNetCoreAzureAppServicesSiteExtension22PackageVersion>2.2.0-rtm-35515</MicrosoftAspNetCoreAzureAppServicesSiteExtension22PackageVersion>
10-
<MicrosoftNETTestSdkPackageVersion>15.6.1</MicrosoftNETTestSdkPackageVersion>
11-
<MicrosoftWebXdtPackageVersion>1.4.0</MicrosoftWebXdtPackageVersion>
12-
<XunitPackageVersion>2.4.0</XunitPackageVersion>
13-
<XunitRunnerVisualStudioPackageVersion>2.4.0</XunitRunnerVisualStudioPackageVersion>
1411
</PropertyGroup>
1512

1613
</Project>

src/SiteExtensions/build/repo.props

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project>
22

3-
4-
<ItemGroup>
5-
<ExcludeFromPack Include="$(RepositoryRoot)src\Microsoft.Web.Xdt.Extensions\*.csproj" />
6-
</ItemGroup>
7-
3+
<PropertyGroup>
4+
<!-- Disable KoreBuild restrictions while we re-work dependency management. -->
5+
<DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
6+
</PropertyGroup>
87
</Project>

src/SiteExtensions/global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"sdk": {
3-
"version": "2.2.100-preview3-009430"
3+
"version": "3.0.100-preview-009750"
44
},
55
"msbuild-sdks": {
6-
"Internal.AspNetCore.Sdk": "3.0.0-alpha1-20181018.6"
6+
"Internal.AspNetCore.Sdk": "3.0.0-build-20181114.5"
77
}
88
}

src/SiteExtensions/src/Microsoft.Web.Xdt.Extensions/Microsoft.Web.Xdt.Extensions.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
<PropertyGroup>
44
<Description>Additional functionality for Xdt transforms.</Description>
55
<TargetFramework>net461</TargetFramework>
6-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
7-
<PackageTags>xdt</PackageTags>
6+
<IsPackable>false</IsPackable>
87
</PropertyGroup>
98

109
<ItemGroup>
1110
<PackageReference Include="Microsoft.Web.Xdt" Version="$(MicrosoftWebXdtPackageVersion)" />
1211
</ItemGroup>
1312

14-
</Project>
13+
</Project>

0 commit comments

Comments
 (0)