Skip to content

Commit 61e8525

Browse files
authoredFeb 22, 2019
Update dependencies and remove some unused version variable overrides (dotnet/razor#238)
* Update dependencies * Add workaround for dotnet/sdkdotnet/aspnetcore-tooling#2976 * Remove unused NETStandard package version variable and overrides * Update xunit to 2.4.1 \n\nCommit migrated from dotnet/razor@6708297
1 parent ca3e094 commit 61e8525

File tree

5 files changed

+1
-18
lines changed

5 files changed

+1
-18
lines changed
 

Diff for: ‎src/Razor/Microsoft.NET.Sdk.Razor/test/BuildVariables.cs

-10
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ internal static partial class BuildVariables
77
{
88
private static string _msBuildPath = string.Empty;
99
private static string _microsoftNETCoreApp30PackageVersion = string.Empty;
10-
private static string _netStandardLibrary20PackageVersion = string.Empty;
1110

1211
static partial void InitializeVariables();
1312

@@ -28,14 +27,5 @@ public static string MicrosoftNETCoreApp30PackageVersion
2827
return _microsoftNETCoreApp30PackageVersion;
2928
}
3029
}
31-
32-
public static string NETStandardLibrary20PackageVersion
33-
{
34-
get
35-
{
36-
InitializeVariables();
37-
return _netStandardLibrary20PackageVersion;
38-
}
39-
}
4030
}
4131
}

Diff for: ‎src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/MSBuildIntegrationTestBase.cs

-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ internal Task<MSBuildResult> DotnetMSBuild(
7474
"/p:RunningAsTest=true",
7575

7676
$"/p:MicrosoftNETCoreApp30PackageVersion={BuildVariables.MicrosoftNETCoreApp30PackageVersion}",
77-
$"/p:NETStandardLibrary20PackageVersion={BuildVariables.NETStandardLibrary20PackageVersion}",
7877
};
7978

8079
if (!suppressRestore)

Diff for: ‎src/Razor/Microsoft.NET.Sdk.Razor/test/Microsoft.NET.Sdk.Razor.Test.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
7373
{
7474
_msBuildPath = @"$(_DesktopMSBuildPath)";
7575
_microsoftNETCoreApp30PackageVersion = "$(MicrosoftNETCoreApp30PackageVersion)";
76-
_netStandardLibrary20PackageVersion = "$(NETStandardLibrary20PackageVersion)";
7776
}
7877
}
7978
}

Diff for: ‎src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common/Microsoft.AspNetCore.Razor.Test.Common.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PackageReference Include="Microsoft.AspNetCore.Testing" Version="$(MicrosoftAspNetCoreTestingPackageVersion)" />
1818
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftCodeAnalysisCSharpPackageVersion)" />
1919
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="$(MicrosoftExtensionsDependencyModelPackageVersion)" />
20-
<PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
20+
<PackageReference Include="xunit" Version="$(XunitVersion)" />
2121
</ItemGroup>
2222

2323
</Project>

Diff for: ‎src/Razor/test/testassets/Directory.Build.props

-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
</PropertyGroup>
1414

1515
<PropertyGroup>
16-
<!-- aspnet/BuildTools#662 Don't police what version of NetCoreApp we use -->
17-
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
18-
19-
<NETStandardImplicitPackageVersion>$(NETStandardLibrary20PackageVersion)</NETStandardImplicitPackageVersion>
20-
2116
<!-- Working around an issue in XDT transforms -->
2217
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
2318
</PropertyGroup>

0 commit comments

Comments
 (0)