34 lines
1.8 KiB
XML
34 lines
1.8 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/Microsoft/vstest/issues/428 is resolved -->
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
|
|
<!-- TODO remove when https://github.com/dotnet/sdk/issues/396 is resolved -->
|
|
<RuntimeIdentifier Condition=" '$(TargetFramework)' != 'netcoreapp1.1' ">win7-x64</RuntimeIdentifier>
|
|
<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"
|
|
Condition=" '$(TargetFramework)' == '' ">
|
|
<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>
|