Nate McMaster 7 лет назад
Родитель
Сommit
a6b04bf969

+ 3 - 0
src/MusicStore/build.cmd

@@ -0,0 +1,3 @@
+@ECHO OFF
+SET RepoRoot=%~dp0..\..
+%RepoRoot%\build.cmd -LockFile %RepoRoot%\korebuild-lock.txt -projects %~dp0**\*.*proj %*

+ 1 - 0
src/MusicStore/samples/MusicStore/MusicStore.csproj

@@ -8,6 +8,7 @@
     <RuntimeIdentifiers Condition="'$(Configuration)' != 'RuntimeStore'">win7-x86;win7-x64;linux-x64;osx-x64</RuntimeIdentifiers>
     <Configurations>Debug;Release;RuntimeStore</Configurations>
     <DebugType Condition="'$(TargetFramework)' == 'net461'">full</DebugType>
+    <InProcessTestSite>true</InProcessTestSite>
   </PropertyGroup>
 
   <Import Project="$(RepositoryRoot)src\Servers\IIS\build\testsite.props" />

+ 1 - 1
src/Servers/IIS/IIS/test/testassets/TestTasks/TestTasks.csproj

@@ -6,7 +6,7 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <Reference Include="Newtonsoft.Json" />
+    <Reference Include="Newtonsoft.Json" PrivateAssets="All" Publish="true" />
   </ItemGroup>
 
 </Project>

+ 2 - 0
src/Servers/IIS/IntegrationTesting.IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj

@@ -40,6 +40,8 @@
 
   <ItemGroup>
     <ProjectReference Include="$(RepositoryRoot)src\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj" />
+    <ProjectReference Include="$(RepositoryRoot)src\Servers\IIS\IIS\test\testassets\TestTasks\TestTasks.csproj" ReferenceOutputAssembly="false" />
+
     <Reference Include="Microsoft.NETCore.Windows.ApiSets" />
     <Reference Include="Microsoft.Web.Administration" />
     <Reference Include="System.ServiceProcess.ServiceController" />