Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unused dependencies and set copies to only happen on windows.

  • Loading branch information...
commit ddfdf6a1a3714223a7296d41eeaec0a859e5a046 1 parent 2f84c51
@davidfowl davidfowl authored
View
24 samples/SignalR.Hosting.AspNet.Samples/SignalR.Hosting.AspNet.Samples.csproj
@@ -51,26 +51,8 @@
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.4.5.1\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
- <Reference Include="System.ComponentModel.DataAnnotations" />
- <Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="System.Data.Entity" />
- <Reference Include="System.ServiceModel" />
- <Reference Include="System.ServiceModel.Activation" />
- <Reference Include="System.ServiceModel.Web" />
- <Reference Include="System.Transactions" />
- <Reference Include="System.Web.DynamicData" />
- <Reference Include="System.Web.Entity" />
- <Reference Include="System.Web.ApplicationServices" />
<Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="System.Web.Extensions" />
- <Reference Include="System.Drawing" />
<Reference Include="System.Web" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Configuration" />
- <Reference Include="System.Web.Services" />
- <Reference Include="System.EnterpriseServices" />
- <Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Content Include="Content\bg.jpg" />
@@ -245,7 +227,7 @@
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" />
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" Condition=" '$(OS)' != 'Windows_NT'" />
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition=" '$(OS)' != 'Windows_NT'" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349C5851-65DF-11DA-9384-00065B846F21}">
@@ -279,7 +261,7 @@
</Target>
-->
<Target Name="BeforeBuild">
- <Copy SourceFiles="..\..\SignalR\Scripts\jquery.signalR.js" DestinationFiles="Scripts\jquery.signalR.js" />
- <Copy SourceFiles="..\..\SignalR\Scripts\jquery.signalR.min.js" DestinationFiles="Scripts\jquery.signalR.min.js" />
+ <Copy SourceFiles="..\..\SignalR\Scripts\jquery.signalR.js" DestinationFiles="Scripts\jquery.signalR.js" Condition=" '$(OS)' == 'Windows_NT' " />
+ <Copy SourceFiles="..\..\SignalR\Scripts\jquery.signalR.min.js" DestinationFiles="Scripts\jquery.signalR.min.js" Condition=" '$(OS)' == 'Windows_NT' " />
</Target>
</Project>
View
4 samples/SignalR.Hosting.Owin.Samples/SignalR.Hosting.Owin.Samples.csproj
@@ -215,7 +215,7 @@
</PostBuildEvent>
</PropertyGroup>
<Target Name="BeforeBuild">
- <Copy SourceFiles="..\..\SignalR\Scripts\jquery.signalR.js" DestinationFiles="Content\Scripts\jquery.signalR.js" />
- <Copy SourceFiles="..\..\SignalR\Scripts\jquery.signalR.min.js" DestinationFiles="Content\Scripts\jquery.signalR.min.js" />
+ <Copy SourceFiles="..\..\SignalR\Scripts\jquery.signalR.js" DestinationFiles="Content\Scripts\jquery.signalR.js" Condition=" '$(OS)' == 'Windows_NT' " />
+ <Copy SourceFiles="..\..\SignalR\Scripts\jquery.signalR.min.js" DestinationFiles="Content\Scripts\jquery.signalR.min.js" Condition=" '$(OS)' == 'Windows_NT' " />
</Target>
</Project>
Please sign in to comment.
Something went wrong with that request. Please try again.