Rename Microsoft.AspNetCore.Razor.Sdk to Microsoft.NET.Sdk.Razor
This commit is contained in:
parent
4eea2f6992
commit
35779abd9a
|
|
@ -92,7 +92,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.Razo
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Razor.Tools", "src\Microsoft.AspNetCore.Razor.Tools\Microsoft.AspNetCore.Razor.Tools.csproj", "{3E7F2D49-3B45-45A8-9893-F73EC1EEBAAB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNetCore.Razor.Sdk", "src\Microsoft.AspNetCore.Razor.Sdk\Microsoft.AspNetCore.Razor.Sdk.csproj", "{7D9ECCEE-71D1-4A42-ABEE-876AFA1B4FC9}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.NET.Sdk.Razor", "src\Microsoft.NET.Sdk.Razor\Microsoft.NET.Sdk.Razor.csproj", "{7D9ECCEE-71D1-4A42-ABEE-876AFA1B4FC9}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNetCore.Razor.Tools.Test", "test\Microsoft.AspNetCore.Razor.Tools.Test\Microsoft.AspNetCore.Razor.Tools.Test.csproj", "{6EA56B2B-89EC-4C38-A384-97D203375B06}"
|
||||
EndProject
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<Project>
|
||||
<Project ToolsVersion="14.0">
|
||||
<!--
|
||||
Targets used for Razor SDK code generation. Support for the RazorCoreGenerate target.
|
||||
This target is explicitly imported by Razor SDK.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<Project TreatAsLocalProperty="_RazorTaskFolder;_RazorTaskAssembly">
|
||||
<Project ToolsVersion="14.0" TreatAsLocalProperty="_RazorTaskFolder;_RazorTaskAssembly">
|
||||
<PropertyGroup>
|
||||
<!--
|
||||
Used by the Web SDK if the Razor SDK can be used for compilation. This needs to live in a nuget package (not in the SDK)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<Project>
|
||||
<Project ToolsVersion="14.0">
|
||||
<Import Project="..\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.props" />
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project>
|
||||
<Project ToolsVersion="14.0">
|
||||
|
||||
<Import Project="$(MSBuildThisFileDirectory)..\build\netstandard2.0\Razor.Sdk.CurrentVersion.props" />
|
||||
<Import Project="$(MSBuildThisFileDirectory)..\build\netstandard2.0\Sdk.Razor.CurrentVersion.props" />
|
||||
|
||||
</Project>
|
||||
|
|
@ -9,11 +9,11 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project>
|
||||
<Project ToolsVersion="14.0">
|
||||
|
||||
<PropertyGroup Condition="'$(RazorSdkTargetsPath)' == ''">
|
||||
<RazorSdkTargetsPath Condition="'$(IsCrossTargetingBuild)' == 'true'">$(MSBuildThisFileDirectory)..\buildMultiTargeting\Razor.Sdk.CurrentVersion.MultiTargeting.targets</RazorSdkTargetsPath>
|
||||
<RazorSdkTargetsPath Condition="'$(IsCrossTargetingBuild)' != 'true'">$(MSBuildThisFileDirectory)..\build\netstandard2.0\Razor.Sdk.CurrentVersion.targets</RazorSdkTargetsPath>
|
||||
<RazorSdkTargetsPath Condition="'$(IsCrossTargetingBuild)' == 'true'">$(MSBuildThisFileDirectory)..\buildMultiTargeting\Sdk.Razor.CurrentVersion.MultiTargeting.targets</RazorSdkTargetsPath>
|
||||
<RazorSdkTargetsPath Condition="'$(IsCrossTargetingBuild)' != 'true'">$(MSBuildThisFileDirectory)..\build\netstandard2.0\Sdk.Razor.CurrentVersion.targets</RazorSdkTargetsPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RazorSdkTargetsPath)" />
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.AspNetCore.Razor.Design.Compilation.targets
|
||||
Microsoft.Net.Sdk.Razor.Compilation.targets
|
||||
|
||||
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
|
||||
created a backup copy. Incorrect changes to this file will make it
|
||||
|
|
@ -10,7 +10,7 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
***********************************************************************************************
|
||||
-->
|
||||
|
||||
<Project>
|
||||
<Project ToolsVersion="14.0">
|
||||
<!--
|
||||
What follows in this file is based on:
|
||||
https://github.com/dotnet/roslyn/blob/4d92b18aee99ba8b1b4770ce65133e9ca65a94fe/src/Compilers/Core/MSBuildTask/Microsoft.CSharp.Core.targets
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.AspNetCore.Razor.Sdk.props
|
||||
Microsoft.Net.Sdk.Razor.props
|
||||
|
||||
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
|
||||
created a backup copy. Incorrect changes to this file will make it
|
||||
|
|
@ -9,11 +9,11 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project>
|
||||
<Import Project="Razor.Sdk.CurrentVersion.props" />
|
||||
<Project ToolsVersion="14.0">
|
||||
<Import Project="Sdk.Razor.CurrentVersion.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Redirect the SDK to use the targets from the current package -->
|
||||
<RazorSdkTargetsPath>$(MSBuildFileDirectory)Sdk.CurrentVersion.targets</RazorSdkTargetsPath>
|
||||
<RazorSdkTargetsPath>$(MSBuildFileDirectory)Sdk.Razor.CurrentVersion.targets</RazorSdkTargetsPath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.AspNetCore.Razor.Sdk.targets
|
||||
Microsoft.Net.Sdk.Razor.targets
|
||||
|
||||
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
|
||||
created a backup copy. Incorrect changes to this file will make it
|
||||
|
|
@ -9,6 +9,6 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project>
|
||||
<Import Project="Razor.Sdk.CurrentVersion.targets" />
|
||||
<Project ToolsVersion="14.0">
|
||||
<Import Project="Sdk.Razor.CurrentVersion.targets" />
|
||||
</Project>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
***********************************************************************************************
|
||||
Razor.Sdk.CurrentVersion.props
|
||||
Sdk.Razor.CurrentVersion.props
|
||||
|
||||
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
|
||||
created a backup copy. Incorrect changes to this file will make it
|
||||
|
|
@ -9,7 +9,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project>
|
||||
<Project ToolsVersion="14.0">
|
||||
<!--
|
||||
Properties and tasks supporting Razor MSBuild integration
|
||||
-->
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
***********************************************************************************************
|
||||
Razor.Sdk.CurrentVersion.targets
|
||||
Sdk.Razor.CurrentVersion.targets
|
||||
|
||||
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
|
||||
created a backup copy. Incorrect changes to this file will make it
|
||||
|
|
@ -9,7 +9,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project>
|
||||
<Project ToolsVersion="14.0">
|
||||
<!--
|
||||
Targets supporting Razor MSBuild integration. Contain support for generating C# code using Razor
|
||||
and including the generated code in the project lifecycle, including compiling, publishing and producing
|
||||
|
|
@ -147,7 +147,7 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
|
||||
RazorCoreCompile should be defined there.
|
||||
-->
|
||||
<Import Project="Microsoft.AspNetCore.Razor.Design.Compilation.targets" />
|
||||
<Import Project="Microsoft.Net.Sdk.Razor.Compilation.targets" />
|
||||
|
||||
<Target Name="PrepareForRazorGenerate" DependsOnTargets="$(PrepareForRazorGenerateDependsOn)">
|
||||
</Target>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
***********************************************************************************************
|
||||
Microsoft.AspNetCore.Razor.Sdk.targets
|
||||
Microsoft.NET.Sdk.Razor.targets
|
||||
|
||||
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
|
||||
created a backup copy. Incorrect changes to this file will make it
|
||||
|
|
@ -9,6 +9,6 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project>
|
||||
<Import Project="Razor.Sdk.CurrentVersion.MultiTargeting.targets" />
|
||||
<Project ToolsVersion="14.0">
|
||||
<Import Project="Sdk.Razor.CurrentVersion.MultiTargeting.targets" />
|
||||
</Project>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
***********************************************************************************************
|
||||
Razor.Sdk.CurrentVersion.MultiTargeting.targets
|
||||
Sdk.Razor.CurrentVersion.MultiTargeting.targets
|
||||
|
||||
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
|
||||
created a backup copy. Incorrect changes to this file will make it
|
||||
|
|
@ -9,7 +9,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
***********************************************************************************************
|
||||
-->
|
||||
<Project>
|
||||
<Project ToolsVersion="14.0">
|
||||
|
||||
<Target Name="RazorCompile">
|
||||
<Error Text="The 'RazorCompile' target is not supported without specifying a target framework. The current project targets multiple frameworks, please specify a framework to execute this target." />
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<_RazorMSBuildRoot>$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Design\bin\$(Configuration)\netstandard2.0\</_RazorMSBuildRoot>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Sdk\SDK\Sdk.props" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.NET.Sdk.Razor\SDK\Sdk.props" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Design\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<_RazorMSBuildRoot>$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Design\bin\$(Configuration)\netstandard2.0\</_RazorMSBuildRoot>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Sdk\SDK\Sdk.props" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.NET.Sdk.Razor\SDK\Sdk.props" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Design\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<Project>
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Sdk\SDK\Sdk.targets" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.NET.Sdk.Razor\SDK\Sdk.targets" />
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<_RazorMSBuildRoot>$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Design\bin\$(Configuration)\netstandard2.0\</_RazorMSBuildRoot>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Sdk\SDK\Sdk.props" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.NET.Sdk.Razor\SDK\Sdk.props" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Design\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<_RazorMSBuildRoot>$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Design\bin\$(Configuration)\netstandard2.0\</_RazorMSBuildRoot>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Sdk\SDK\Sdk.props" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.NET.Sdk.Razor\SDK\Sdk.props" />
|
||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Razor.Design\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
|||
Loading…
Reference in New Issue