File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11<!-- https://natemcmaster.com/blog/2017/11/11/build-tools-in-nuget/ -->
22<Project >
33 <PropertyGroup >
4- <MSBuildRazorCompilerExe >dotnet "$(MSBuildThisFileDirectory)/netcoreapp3.1/MSBuildRazorCompiler.dll"</MSBuildRazorCompilerExe >
4+ <BuildPath Condition =" '$(BuildPath)' == ''" >$(MSBuildThisFileDirectory)</BuildPath >
5+ <MSBuildRazorCompilerExe >dotnet "$(BuildPath)netcoreapp3.1\MSBuildRazorCompiler.dll"</MSBuildRazorCompilerExe >
56 <MsBuildRazorCompilerPath >$(MSBuildProjectDirectory)</MsBuildRazorCompilerPath >
67 <MsBuildRazorCompilerRootNamespace >$(RootNamespace)</MsBuildRazorCompilerRootNamespace >
78 </PropertyGroup >
Original file line number Diff line number Diff line change 44 <OutputType >Exe</OutputType >
55 <TargetFramework >netcoreapp3.1</TargetFramework >
66 <PreserveCompilationContext >true</PreserveCompilationContext >
7+ <BuildPath >$(MSBuildThisFileDirectory)..\MSBuildRazorCompiler\bin\$(Configuration)\</BuildPath >
78 </PropertyGroup >
89
910 <ItemGroup >
1920 <ProjectReference Include =" ..\RazorRenderer\RazorRenderer.csproj" />
2021 </ItemGroup >
2122
23+ <Import Project =" ../MSBuildRazorCompiler/CompileRazorFiles.targets" />
24+
2225</Project >
You can’t perform that action at this time.
0 commit comments