-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #2520 new option to control interproject references version const…
…raints
- Loading branch information
Showing
34 changed files
with
414 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
integrationtests/scenarios/i002520-interproject-references-constraint/before/A/A.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<OutputPath>bin\</OutputPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<OutputPath>bin\</OutputPath> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\B\B.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
12 changes: 12 additions & 0 deletions
12
integrationtests/scenarios/i002520-interproject-references-constraint/before/A/ClassA.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using B; | ||
|
||
namespace A | ||
{ | ||
public class ClassA | ||
{ | ||
public ClassA() | ||
{ | ||
var classB = new ClassB(); | ||
} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...narios/i002520-interproject-references-constraint/before/A/bin/netstandard2.0/A.deps.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"runtimeTarget": { | ||
"name": ".NETStandard,Version=v2.0/", | ||
"signature": "cfe1dc2a80602aef150a12815387068463a61a0d" | ||
}, | ||
"compilationOptions": {}, | ||
"targets": { | ||
".NETStandard,Version=v2.0": {}, | ||
".NETStandard,Version=v2.0/": { | ||
"A/1.0.0": { | ||
"dependencies": { | ||
"B": "1.0.0", | ||
"NETStandard.Library": "2.0.3" | ||
}, | ||
"runtime": { | ||
"A.dll": {} | ||
} | ||
}, | ||
"Microsoft.NETCore.Platforms/1.1.0": {}, | ||
"NETStandard.Library/2.0.3": { | ||
"dependencies": { | ||
"Microsoft.NETCore.Platforms": "1.1.0" | ||
} | ||
}, | ||
"B/1.0.0": { | ||
"runtime": { | ||
"B.dll": {} | ||
} | ||
} | ||
} | ||
}, | ||
"libraries": { | ||
"A/1.0.0": { | ||
"type": "project", | ||
"serviceable": false, | ||
"sha512": "" | ||
}, | ||
"Microsoft.NETCore.Platforms/1.1.0": { | ||
"type": "package", | ||
"serviceable": true, | ||
"sha512": "sha512-WV99Ot6CEKqaIpW+ErjGXmbE3HX6bSoS7tqcOc7k1evmarPPENlLWDPlMx8lHXPltWXot0H45nhmSxtvy577Cg==", | ||
"path": "microsoft.netcore.platforms/1.1.0", | ||
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512" | ||
}, | ||
"NETStandard.Library/2.0.3": { | ||
"type": "package", | ||
"serviceable": true, | ||
"sha512": "sha512-s2Ei89UeBS1EmfipIvE+LAocCvKOWSVk+hMkPu8KXAYun9/5AS8m1u+7OIc9ZnAcM0aPGvNNcLSZpf0gCdaE9Q==", | ||
"path": "netstandard.library/2.0.3", | ||
"hashPath": "netstandard.library.2.0.3.nupkg.sha512" | ||
}, | ||
"B/1.0.0": { | ||
"type": "project", | ||
"serviceable": false, | ||
"sha512": "" | ||
} | ||
} | ||
} |
Binary file added
BIN
+4 KB
...ts/scenarios/i002520-interproject-references-constraint/before/A/bin/netstandard2.0/A.dll
Binary file not shown.
Binary file added
BIN
+452 Bytes
...ts/scenarios/i002520-interproject-references-constraint/before/A/bin/netstandard2.0/A.pdb
Binary file not shown.
Binary file added
BIN
+3.5 KB
...ts/scenarios/i002520-interproject-references-constraint/before/A/bin/netstandard2.0/B.dll
Binary file not shown.
Binary file added
BIN
+244 Bytes
...ts/scenarios/i002520-interproject-references-constraint/before/A/bin/netstandard2.0/B.pdb
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
...ests/scenarios/i002520-interproject-references-constraint/before/A/paket.templatetemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type project | ||
description test | ||
authors test | ||
|
||
interproject-references keep-major |
15 changes: 15 additions & 0 deletions
15
integrationtests/scenarios/i002520-interproject-references-constraint/before/B/B.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<OutputPath>bin\</OutputPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<OutputPath>bin\</OutputPath> | ||
</PropertyGroup> | ||
|
||
</Project> |
6 changes: 6 additions & 0 deletions
6
integrationtests/scenarios/i002520-interproject-references-constraint/before/B/ClassB.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace B | ||
{ | ||
public class ClassB | ||
{ | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...narios/i002520-interproject-references-constraint/before/B/bin/netstandard2.0/B.deps.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"runtimeTarget": { | ||
"name": ".NETStandard,Version=v2.0/", | ||
"signature": "cfe1dc2a80602aef150a12815387068463a61a0d" | ||
}, | ||
"compilationOptions": {}, | ||
"targets": { | ||
".NETStandard,Version=v2.0": {}, | ||
".NETStandard,Version=v2.0/": { | ||
"B/1.0.0": { | ||
"dependencies": { | ||
"NETStandard.Library": "2.0.3" | ||
}, | ||
"runtime": { | ||
"B.dll": {} | ||
} | ||
}, | ||
"Microsoft.NETCore.Platforms/1.1.0": {}, | ||
"NETStandard.Library/2.0.3": { | ||
"dependencies": { | ||
"Microsoft.NETCore.Platforms": "1.1.0" | ||
} | ||
} | ||
} | ||
}, | ||
"libraries": { | ||
"B/1.0.0": { | ||
"type": "project", | ||
"serviceable": false, | ||
"sha512": "" | ||
}, | ||
"Microsoft.NETCore.Platforms/1.1.0": { | ||
"type": "package", | ||
"serviceable": true, | ||
"sha512": "sha512-WV99Ot6CEKqaIpW+ErjGXmbE3HX6bSoS7tqcOc7k1evmarPPENlLWDPlMx8lHXPltWXot0H45nhmSxtvy577Cg==", | ||
"path": "microsoft.netcore.platforms/1.1.0", | ||
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512" | ||
}, | ||
"NETStandard.Library/2.0.3": { | ||
"type": "package", | ||
"serviceable": true, | ||
"sha512": "sha512-s2Ei89UeBS1EmfipIvE+LAocCvKOWSVk+hMkPu8KXAYun9/5AS8m1u+7OIc9ZnAcM0aPGvNNcLSZpf0gCdaE9Q==", | ||
"path": "netstandard.library/2.0.3", | ||
"hashPath": "netstandard.library.2.0.3.nupkg.sha512" | ||
} | ||
} | ||
} |
Binary file added
BIN
+3.5 KB
...ts/scenarios/i002520-interproject-references-constraint/before/B/bin/netstandard2.0/B.dll
Binary file not shown.
Binary file added
BIN
+244 Bytes
...ts/scenarios/i002520-interproject-references-constraint/before/B/bin/netstandard2.0/B.pdb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...ests/scenarios/i002520-interproject-references-constraint/before/B/paket.templatetemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type project | ||
version 1.2.3 | ||
description test | ||
authors test |
22 changes: 22 additions & 0 deletions
22
...rios/i002520-interproject-references-constraint/before/InterprojectVersionConstraints.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "A", "A\A.csproj", "{77D9C98B-BE20-4F46-96D3-A9813F8E9549}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B", "B\B.csproj", "{64DD343C-CC8E-4FDF-8776-59E37EAF690D}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{77D9C98B-BE20-4F46-96D3-A9813F8E9549}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{77D9C98B-BE20-4F46-96D3-A9813F8E9549}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{77D9C98B-BE20-4F46-96D3-A9813F8E9549}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{77D9C98B-BE20-4F46-96D3-A9813F8E9549}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{64DD343C-CC8E-4FDF-8776-59E37EAF690D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{64DD343C-CC8E-4FDF-8776-59E37EAF690D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{64DD343C-CC8E-4FDF-8776-59E37EAF690D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{64DD343C-CC8E-4FDF-8776-59E37EAF690D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
1 change: 1 addition & 0 deletions
1
...ationtests/scenarios/i002520-interproject-references-constraint/before/paket.dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source https://www.nuget.org/api/v2 |
1 change: 1 addition & 0 deletions
1
integrationtests/scenarios/i002520-interproject-references-constraint/before/paket.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.