File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 3030 <PackageReference Include =" xunit.runner.visualstudio" Version =" $(XunitVersion)" />
3131
3232 <PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" $(RoslynVersion)" />
33+ </ItemGroup >
3334
34- <!-- We need this to compile but don't want it referenced by the project.
35- It is included dynamically in CodeGeneration tests. -->
35+ < ItemGroup >
36+ <!-- We need this to compile but don't want it referenced by the project. It is included dynamically in CodeGeneration tests. -->
3637 <ProjectReference Include =" ..\Microsoft.AspNetCore.Razor.Test.MvcShim\Microsoft.AspNetCore.Razor.Test.MvcShim.csproj" >
3738 <ReferenceOutputAssembly >false</ReferenceOutputAssembly >
3839 <OutputItemType >Content</OutputItemType >
3940 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
4041 <Targets >Build</Targets >
4142 </ProjectReference >
43+
44+ <!-- Due to how DependencyContext.Load handles our special MvcShim reference above we need to also reference the MvcShim's DiagnosticSource dependency -->
45+ <PackageReference Include =" System.Diagnostics.DiagnosticSource" Version =" $(DiagnosticSourceVersion)" />
4246 </ItemGroup >
4347
4448 <ItemGroup >
45- <MvcShim
46- Condition =" $(TargetFramework) != ''"
47- Include =" ..\Microsoft.AspNetCore.Razor.Test.MvcShim\bin\$(Configuration)\$(TargetFramework)\Microsoft.AspNetCore.Razor.Test.MvcShim.deps.json" />
49+ <MvcShim Condition =" $(TargetFramework) != ''" Include =" ..\Microsoft.AspNetCore.Razor.Test.MvcShim\bin\$(Configuration)\$(TargetFramework)\Microsoft.AspNetCore.Razor.Test.MvcShim.deps.json" />
4850 </ItemGroup >
4951
5052 <Target Name =" CopyDepsFromShims" AfterTargets =" Build" >
You can’t perform that action at this time.
0 commit comments