Skip to content

Commit

Permalink
Switch to using <ReferenceOutputAssembly>false</> rather than changin…
Browse files Browse the repository at this point in the history
…g the build system.
  • Loading branch information
alistairjevans committed Feb 25, 2023
1 parent f3f4bef commit 6e00847
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ try {
Write-Message "Building projects and packages"
Get-DotNetProjectDirectory -RootPath $PSScriptRoot\src | Invoke-DotNetPack -PackagesPath $packagesPath -VersionSuffix $versionSuffix

# Build scenario projects
Write-Message "Building scenario projects"
Get-DotNetProjectDirectory -RootPath $PSScriptRoot\test | Where-Object { $_ -ilike "*Autofac.Test.Scenarios.*" } | Invoke-DotNetBuild

# Test
Write-Message "Executing unit tests"
Get-DotNetProjectDirectory -RootPath $PSScriptRoot\test | Where-Object { $_ -inotlike "*Autofac.Test.Scenarios.*" } | Invoke-Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
<ItemGroup>
<ProjectReference Include="..\..\src\Autofac\Autofac.csproj" />
<ProjectReference Include="..\Autofac.Test.Scenarios.ScannedAssembly\Autofac.Test.Scenarios.ScannedAssembly.csproj" />
<ProjectReference Include="..\Autofac.Test.Scenarios.LoadContext\Autofac.Test.Scenarios.LoadContext.csproj" Condition="'$(TargetFramework)' != 'netcoreapp3.1'">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 6e00847

Please sign in to comment.