diff --git a/eng/Build.props b/eng/Build.props index 775c6719703266870b91dfa75fbe528f34183613..fd3736f50d0ddf5ba9d742531a3b60abdfeaca71 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -16,25 +16,25 @@ <!-- Exclude the websockets samples for now because they use classic .csproj, which is not yet supported in our build. --> <ProjectToExclude Include="$(RepoRoot)src\Middleware\WebSockets\samples\**\*.csproj" /> - <!-- These projects are meant to be executed by tests. --> - <ProjectToExclude Include=" - $(RepoRoot)src\Tools\dotnet-watch\test\TestProjects\**\*.csproj; - $(RepoRoot)src\Tools\Tests.Common\TestProjects\**\*.csproj; - $(RepoRoot)src\Razor\Razor.Design\test\testassets\**\*.*proj; - $(RepoRoot)src\Razor\test\testassets\**\*.*proj; - $(RepoRoot)src\Components\Web.JS\node_modules\**\*.*proj; - $(RepoRoot)src\Components\WebAssembly\Sdk\testassets\**\*.csproj; - " /> + <!-- These projects are meant to be referenced only by tests. --> + <ProjectToExclude Include="$(RepoRoot)src\**\testassets\**\*.*proj" + Exclude="$(RepoRoot)src\Components\WebAssembly\testassets\WasmLinkerTest\*.*proj; + $(RepoRoot)src\Components\WebView\Samples\PhotinoPlatform\testassets\PhotinoTestApp\*.*proj; + $(RepoRoot)src\Http\Routing\test\testassets\RoutingSandbox\*.*proj; + $(RepoRoot)src\Security\Authentication\Negotiate\test\testassets\Negotiate.Client\*.*proj; + $(RepoRoot)src\Security\Authentication\Negotiate\test\testassets\Negotiate.Server\*.*proj; + " /> <!-- These projects are not meant to be built in this repo. In the Installers case, must explicitly opt in. --> <!-- On the other hand, the main spa-templates project is just another project in this repo. --> <ProjectToExclude Include=" $(RepoRoot)src\submodules\googletest\**\*.*proj; $(RepoRoot)src\submodules\MessagePack-CSharp\**\*.*proj; + $(RepoRoot)src\submodules\spa-templates\src\content\**\*.csproj; + $(RepoRoot)src\Components\Web.JS\node_modules\**\*.*proj; $(RepoRoot)src\Installers\**\*.*proj; - $(RepoRoot)src\SignalR\clients\ts\**\node_modules\**\*.*proj; $(RepoRoot)src\ProjectTemplates\Web.ProjectTemplates\content\**\*.*proj; - $(RepoRoot)src\submodules\spa-templates\src\content\**\*.csproj; + $(RepoRoot)src\SignalR\clients\ts\**\node_modules\**\*.*proj; " /> <!-- Exclude the benchmarks because they use <PackageReference>. --> diff --git a/src/Hosting/test/FunctionalTests/Microsoft.AspNetCore.Hosting.FunctionalTests.csproj b/src/Hosting/test/FunctionalTests/Microsoft.AspNetCore.Hosting.FunctionalTests.csproj index c08ed3c7f32417233b438e27ba7e31e970d6327b..9102baf5c706d7a03c06f9e59b1be535960dea41 100644 --- a/src/Hosting/test/FunctionalTests/Microsoft.AspNetCore.Hosting.FunctionalTests.csproj +++ b/src/Hosting/test/FunctionalTests/Microsoft.AspNetCore.Hosting.FunctionalTests.csproj @@ -1,5 +1,4 @@ <Project Sdk="Microsoft.NET.Sdk"> - <PropertyGroup> <TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework> @@ -17,13 +16,20 @@ <ItemGroup> <ProjectReference Include="$(RepoRoot)src\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj" /> + <ProjectReference Include="$(RepoRoot)src\Hosting\test\testassets\BasicLinkedApp\BasicLinkedApp.csproj" + Private="false" + ReferenceOutputAssembly="false" + SkipGetTargetFrameworkProperties="true" /> <ProjectReference Include="$(RepoRoot)src\Hosting\test\testassets\IStartupInjectionAssemblyName\IStartupInjectionAssemblyName.csproj" Private="false" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> + <ProjectReference Include="$(RepoRoot)src\Hosting\test\testassets\Microsoft.AspNetCore.Hosting.TestSites\Microsoft.AspNetCore.Hosting.TestSites.csproj" + Private="false" + ReferenceOutputAssembly="false" + SkipGetTargetFrameworkProperties="true" /> <Reference Include="Microsoft.AspNetCore.Hosting" /> <Reference Include="Microsoft.Extensions.Logging.Console" /> </ItemGroup> - </Project> diff --git a/src/Servers/HttpSys/test/NonHelixTests/Microsoft.AspNetCore.Server.HttpSys.NonHelixTests.csproj b/src/Servers/HttpSys/test/NonHelixTests/Microsoft.AspNetCore.Server.HttpSys.NonHelixTests.csproj index 58ca1a4d3baab66601961e4ae4a14ebdc83aa1c2..43ed463c244986c6086e3ed1dc63348d8a0eb012 100644 --- a/src/Servers/HttpSys/test/NonHelixTests/Microsoft.AspNetCore.Server.HttpSys.NonHelixTests.csproj +++ b/src/Servers/HttpSys/test/NonHelixTests/Microsoft.AspNetCore.Server.HttpSys.NonHelixTests.csproj @@ -1,5 +1,4 @@ <Project Sdk="Microsoft.NET.Sdk"> - <PropertyGroup> <TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework> <TestGroupName>HttpSys.NonHelixTests</TestGroupName> @@ -25,6 +24,9 @@ <ItemGroup> <Content Include="testroot\**\*" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" /> <ProjectReference Include="$(RepoRoot)src\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj" /> + <ProjectReference Include="$(RepoRoot)src\Servers\HttpSys\test\testassets\DelegationSite\DelegationSite.csproj" + Private="false" + ReferenceOutputAssembly="false" + SkipGetTargetFrameworkProperties="true" /> </ItemGroup> - </Project>