2017-01-25 01:17:53 +03:00
|
|
|
<Project>
|
2017-08-30 00:17:25 +03:00
|
|
|
<Import Project="..\Directory.Build.targets" />
|
|
|
|
|
2017-03-11 20:25:24 +03:00
|
|
|
<PropertyGroup>
|
2017-06-20 02:42:28 +03:00
|
|
|
<_MvcViewCompilationAddDesktopReferences>false</_MvcViewCompilationAddDesktopReferences>
|
2017-03-11 20:25:24 +03:00
|
|
|
<TestIncludeViewCompilationTargets Condition="'$(TestIncludeViewCompilationTargets)'==''">$(MvcRazorCompileOnPublish)</TestIncludeViewCompilationTargets>
|
2017-11-15 22:03:08 +03:00
|
|
|
<SolutionConfiguration Condition="'$(SolutionConfiguration)'==''">$(Configuration)</SolutionConfiguration>
|
|
|
|
<_MvcViewCompilationTasksPath>$(MSBuildThisFileDirectory)..\src\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks\bin\$(SolutionConfiguration)\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.dll</_MvcViewCompilationTasksPath>
|
2017-03-11 20:25:24 +03:00
|
|
|
</PropertyGroup>
|
2017-01-25 01:17:53 +03:00
|
|
|
|
2017-06-16 01:32:23 +03:00
|
|
|
<Import Project="..\src\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets"
|
|
|
|
Condition="'$(TestIncludeViewCompilationTargets)'=='true'"/>
|
2017-03-11 20:25:24 +03:00
|
|
|
|
|
|
|
<Target
|
|
|
|
Name="SetMvcRazorViewCompilationBinaryPath"
|
|
|
|
BeforeTargets="MvcRazorPrecompile"
|
|
|
|
Condition="'$(TestIncludeViewCompilationTargets)'=='true'">
|
|
|
|
<PropertyGroup>
|
2017-11-15 22:03:08 +03:00
|
|
|
<_MvcViewCompilationBinaryPath Condition="'$(TargetFramework)'!='net461'">$(MSBuildThisFileDirectory)..\src\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation\bin\$(SolutionConfiguration)\netcoreapp2.0\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.dll</_MvcViewCompilationBinaryPath>
|
|
|
|
<_MvcViewCompilationBinaryPath Condition="'$(TargetFramework)'=='net461'">$(MSBuildThisFileDirectory)..\src\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation\bin\$(SolutionConfiguration)\net461\win7-x86\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation-x86.exe</_MvcViewCompilationBinaryPath>
|
2017-03-11 20:25:24 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
</Target>
|
2017-02-15 03:03:54 +03:00
|
|
|
</Project>
|