diff options
Diffstat (limited to 'external/rx/Rx/NET/Source/System.Reactive.Core/System.Reactive.Core.csproj')
-rw-r--r-- | external/rx/Rx/NET/Source/System.Reactive.Core/System.Reactive.Core.csproj | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/external/rx/Rx/NET/Source/System.Reactive.Core/System.Reactive.Core.csproj b/external/rx/Rx/NET/Source/System.Reactive.Core/System.Reactive.Core.csproj index a6938ffbc5..ebf057a4b8 100644 --- a/external/rx/Rx/NET/Source/System.Reactive.Core/System.Reactive.Core.csproj +++ b/external/rx/Rx/NET/Source/System.Reactive.Core/System.Reactive.Core.csproj @@ -12,6 +12,8 @@ <FileAlignment>512</FileAlignment> <ProductSignAssembly>true</ProductSignAssembly> <CodeAnalysisRuleSet>..\Rx.ruleset</CodeAnalysisRuleSet> + <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> + <RestorePackages>true</RestorePackages> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseXBLV|AnyCPU'"> <OutputPath>bin\ReleaseXBLV\</OutputPath> @@ -119,5 +121,14 @@ <ItemGroup> <EmbeddedResource Include="Strings_Core.resx" /> </ItemGroup> + <ItemGroup> + <None Include="packages.config" /> + </ItemGroup> <Import Project="..\Import.targets" /> + <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> + <Import Project="..\packages\Microsoft.Bcl.Build.1.0.10\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.10\tools\Microsoft.Bcl.Build.targets')" /> + <Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''"> + <Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.10\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" /> + <Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.10\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" /> + </Target> </Project>
\ No newline at end of file |