This repository was archived by the owner on Jan 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
src/Build/NuGet.Build.Packaging.Tests/Scenarios/given_a_packaging_project_with_netstandard Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+ <Import Project =" $(NuGetAuthoringPath)\NuGet.Packaging.Authoring.props" Condition =" Exists('$(NuGetAuthoringPath)\NuGet.Packaging.Authoring.props')" />
5+
6+ <PropertyGroup >
7+ <!-- This will be the right path when we run from xunit in the bin/$(Configuration) folder -->
8+ <NuGetTargetsPath Condition =" '$(NuGetTargetsPath)' == ''" >$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), NuGet.Build.Packaging.props))</NuGetTargetsPath >
9+ <!-- This will be the right path when we run from MSBuild from the source location inside the tests project -->
10+ <NuGetTargetsPath Condition =" !Exists('$(NuGetTargetsPath)\NuGet.Build.Packaging.props')" >$(MSBuildThisFileDirectory)..\..\..\NuGet.Build.Packaging.Tasks\bin\$(Configuration)</NuGetTargetsPath >
11+ </PropertyGroup >
12+ <Import Project =" $(NuGetTargetsPath)\NuGet.Build.Packaging.props" Condition =" Exists('$(NuGetTargetsPath)\NuGet.Build.Packaging.props')" />
13+
14+ <PropertyGroup >
15+ <PackageId >a.package</PackageId >
16+ <PackageVersion >1.0.0</PackageVersion >
17+
18+ <!-- From the Authoring.targets -->
19+ <RestoreProjectStyle >PackageReference</RestoreProjectStyle >
20+ <TargetFrameworkMoniker >NuGet,Version=v1.0</TargetFrameworkMoniker >
21+ <PackageTargetFallback >net11;net20;net35;net40;net403;net45;net451;net452;net46;net461;net462;netcore;netcore45;netcore451;netcore50;win8;win81;win10;sl4;sl5;wp;wp7;wp75;wp8;wp81;wpa81;uap;uap10;netstandard1.0;netstandard1.1;netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;netstandard1.6;netstandard2.0;netcoreapp1.0;netcoreapp2.0;monoandroid;monotouch;monomac;xamarinios;xamarinmac;xamarinpsthree;xamarinpsfour;xamarinpsvita;xamarinwatchos;xamarintvos;xamarinxboxthreesixty;xamarinxboxone</PackageTargetFallback >
22+ </PropertyGroup >
23+
24+ <ItemGroup >
25+ <ProjectReference Include =" b\b.csproj" >
26+ <Project >$(GuidB)</Project >
27+ <Name >b</Name >
28+ </ProjectReference >
29+ </ItemGroup >
30+
31+ <Import Project =" $(MSBuildToolsPath)\Microsoft.Common.targets" />
32+ <Import Project =" $(NuGetTargetsPath)\NuGet.Build.Packaging.targets" Condition =" Exists('$(NuGetTargetsPath)\NuGet.Build.Packaging.targets')" />
33+ </Project >
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+ <PropertyGroup >
3+ <TargetFramework >netstandard1.6</TargetFramework >
4+ <ProjectGuid >{BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB}</ProjectGuid >
5+ </PropertyGroup >
6+
7+ <PropertyGroup >
8+ <!-- This will be the right path when we run from xunit in the bin/$(Configuration) folder -->
9+ <NuGetTargetsPath Condition =" '$(NuGetTargetsPath)' == ''" >$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), NuGet.Build.Packaging.props))</NuGetTargetsPath >
10+ <!-- This will be the right path when we run from MSBuild from the source location inside the tests project -->
11+ <NuGetTargetsPath Condition =" !Exists('$(NuGetTargetsPath)\NuGet.Build.Packaging.props')" >$(MSBuildThisFileDirectory)..\..\..\..\NuGet.Build.Packaging.Tasks\bin\$(Configuration)</NuGetTargetsPath >
12+ </PropertyGroup >
13+ <Import Project =" $(NuGetTargetsPath)\NuGet.Build.Packaging.props" Condition =" Exists('$(NuGetTargetsPath)\NuGet.Build.Packaging.props')" />
14+
15+ <ItemGroup >
16+ <PackageReference Include =" Newtonsoft.Json" Version =" 10.0.2" />
17+ </ItemGroup >
18+
19+ <Import Project =" $(NuGetTargetsPath)\NuGet.Build.Packaging.targets" Condition =" Exists('$(NuGetTargetsPath)\NuGet.Build.Packaging.targets')" />
20+ </Project >
You can’t perform that action at this time.
0 commit comments