Remove un-needed version properties (#12683)

This commit is contained in:
Dan Seefeldt 2021-12-09 13:37:17 -06:00 committed by GitHub
parent dca53077da
commit 65bbb444f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 29 deletions

View file

@ -1,15 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- SDK/Runtime Version Information -->
<PropertyGroup>
<MajorVersion>6</MajorVersion>
<MinorVersion>0</MinorVersion>
<RuntimePatchVersion>0-preview.6</RuntimePatchVersion>
<SdkPatchVersion>100-preview.6</SdkPatchVersion>
<RuntimeProductVersion>$(MajorVersion).$(MinorVersion).$(RuntimePatchVersion)</RuntimeProductVersion>
<AspNetCoreProductVersion>$(MajorVersion).$(MinorVersion).$(RuntimePatchVersion)</AspNetCoreProductVersion>
<SdkProductVersion>$(MajorVersion).$(MinorVersion).$(SdkPatchVersion)</SdkProductVersion>
</PropertyGroup>
<!-- Repo Version Information -->
<PropertyGroup>
<VersionPrefix>0.1.0</VersionPrefix>

View file

@ -53,24 +53,5 @@
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ReplaceRegexInFiles" />
<Target Name="FixAspNetCoreVersion"
BeforeTargets="RepoBuild">
<ItemGroup>
<MinifiedJavascriptFile Include="$(ProjectDirectory)**\blazor.server.js" />
</ItemGroup>
<!--
Patch the version embedded in minified js files. Because they are
minified files, git patch doesn't work too well and produces unreadable
binary patches.
-->
<ReplaceRegexInFiles
InputFiles="@(MinifiedJavascriptFile)"
OldTextRegex=",l=&quot;5\.0\.\d+&quot;}]\);"
NewText=",l=&quot;$(AspNetCoreProductVersion)&quot;}]);" />
</Target>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
</Project>