31 lines
1.5 KiB
XML
31 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<Import Project="..\..\build\common.props" />
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>netcoreapp1.1;net46</TargetFrameworks>
|
|
|
|
<!-- TODO remove when https://github.com/dotnet/sdk/issues/396 is resolved -->
|
|
<RuntimeIdentifier Condition=" '$(TargetFramework)' != 'netcoreapp1.1' ">win7-x64</RuntimeIdentifier>
|
|
<RuntimeFrameworkVersion>1.2.0-*</RuntimeFrameworkVersion>
|
|
<PreserveCompilationContext>true</PreserveCompilationContext>
|
|
<OutputType>Exe</OutputType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.SignalR\Microsoft.AspNetCore.SignalR.csproj" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.2.0-*" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.2.0-*" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.2.0-*" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.2.0-*" />
|
|
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.2.0-*" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="BuildTSClient" BeforeTargets="BeforeBuild">
|
|
<Exec Command="npm install" />
|
|
<Exec Command="npm run gulp -- --gulpfile $(MSBuildProjectDirectory)/gulpfile.js copy-jasmine" />
|
|
<Exec Command="npm run gulp -- --gulpfile $(MSBuildProjectDirectory)/../../src/Microsoft.AspNetCore.SignalR.Client.TS/gulpfile.js bundle-client --bundleOutDir $(MSBuildProjectDirectory)/wwwroot/lib/signalr-client/" />
|
|
</Target>
|
|
|
|
</Project>
|