Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/2.3] Fix Mvc.FunctionalTests referencing RazorPagesClassLibrary #59361

Open
wants to merge 1 commit into
base: release/2.3
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@
<IsTestAssetProject>true</IsTestAssetProject>
</PropertyGroup>

<PropertyGroup>
<_RazorMSBuildRoot>$(RepositoryRoot)src\Razor\Razor.Design\src\bin\$(Configuration)\netstandard2.0\</_RazorMSBuildRoot>
<_RazorTaskFolder Condition=" '$(MSBuildRuntimeType)' == 'Core' ">netstandard2.0</_RazorTaskFolder>
<_RazorTaskFolder Condition=" '$(MSBuildRuntimeType)' != 'Core' ">net46</_RazorTaskFolder>
<_RazorTaskAssembly>$(RepositoryRoot)src\Razor\Razor.Tasks\src\bin\$(Configuration)\$(_RazorTaskFolder)\Microsoft.AspNetCore.Razor.Tasks.dll</_RazorTaskAssembly>
</PropertyGroup>

<Import Project="$(RepositoryRoot)src\Razor\Razor.Design\src\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.props" />

<PropertyGroup>
<!-- Override for the MVC extension -->
<_MvcExtensionAssemblyPath>$(RepositoryRoot)src\Razor\Mvc.Razor.Extensions\src\bin\$(Configuration)\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.dll</_MvcExtensionAssemblyPath>
</PropertyGroup>
<Import Project="$(RepositoryRoot)src\Razor\Mvc.Razor.Extensions\src\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.props" />
<Import Project="$(RepositoryRoot)src\Razor\Mvc.Razor.Extensions\src\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />

<ItemGroup>
<Reference Include="Microsoft.AspNetCore.Mvc" />
<Reference Include="System.Threading.Tasks.Extensions" />
Expand Down
Loading