Skip to content

Commit b307825

Browse files
committed
Use ReadOnlySourceTree
1 parent aa12256 commit b307825

File tree

8 files changed

+23
-13
lines changed

8 files changed

+23
-13
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on_success:
3232
- ps: >-
3333
if ($env:NuGetApiKey -and $env:APPVEYOR_REPO_TAG_NAME -match "^v\d") {
3434
Write-Output "Publishing release packages to nuget.org due to pushed tag $env:APPVEYOR_REPO_TAG_NAME"
35-
Get-ChildItem bin\Release\*.nupkg -exclude *.symbols.nupkg |% {
35+
Get-ChildItem bin\Release\Nerdbank.GitVersioning.NuGet\*.nupkg -exclude *.symbols.nupkg |% {
3636
nuget push $_ -ApiKey $env:NuGetApiKey
3737
}
3838
}

src/NerdBank.GitVersioning.Tests/NerdBank.GitVersioning.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
<DebugSymbols>true</DebugSymbols>
2020
<DebugType>full</DebugType>
2121
<Optimize>false</Optimize>
22-
<OutputPath>..\..\bin\Debug\</OutputPath>
22+
<OutputPath>bin\Debug\</OutputPath>
2323
<DefineConstants>DEBUG;TRACE</DefineConstants>
2424
<ErrorReport>prompt</ErrorReport>
2525
<WarningLevel>4</WarningLevel>
2626
</PropertyGroup>
2727
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2828
<DebugType>pdbonly</DebugType>
2929
<Optimize>true</Optimize>
30-
<OutputPath>..\..\bin\Release\</OutputPath>
30+
<OutputPath>bin\Release\</OutputPath>
3131
<DefineConstants>TRACE</DefineConstants>
3232
<ErrorReport>prompt</ErrorReport>
3333
<WarningLevel>4</WarningLevel>

src/NerdBank.GitVersioning.Tests/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"xunit.runner.visualstudio": "2.1.0"
1212
},
1313
"frameworks": {
14-
".NETFramework,Version=v4.5.2": {}
14+
"net452": {}
1515
},
1616
"runtimes": {
1717
"win": {}

src/NerdBank.GitVersioning/NerdBank.GitVersioning.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@
1717
<DebugSymbols>true</DebugSymbols>
1818
<DebugType>full</DebugType>
1919
<Optimize>false</Optimize>
20-
<OutputPath>..\..\bin\Debug\</OutputPath>
20+
<OutputPath>bin\Debug\</OutputPath>
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
24-
<DocumentationFile>..\..\bin\Debug\Nerdbank.GitVersioning.xml</DocumentationFile>
24+
<DocumentationFile>bin\Debug\Nerdbank.GitVersioning.xml</DocumentationFile>
2525
</PropertyGroup>
2626
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2727
<DebugType>pdbonly</DebugType>
2828
<Optimize>true</Optimize>
29-
<OutputPath>..\..\bin\Release\</OutputPath>
29+
<OutputPath>bin\Release\</OutputPath>
3030
<DefineConstants>TRACE</DefineConstants>
3131
<ErrorReport>prompt</ErrorReport>
3232
<WarningLevel>4</WarningLevel>
33-
<DocumentationFile>..\..\bin\Release\Nerdbank.GitVersioning.xml</DocumentationFile>
33+
<DocumentationFile>bin\Release\Nerdbank.GitVersioning.xml</DocumentationFile>
3434
</PropertyGroup>
3535
<ItemGroup>
3636
<Reference Include="System" />

src/NerdBank.GitVersioning/project.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"version": "0.11.14-beta",
1414
"suppressParent": "none"
1515
},
16+
"ReadOnlySourceTree": {
17+
"version": "0.1.37-beta",
18+
"suppressParent": "none"
19+
},
1620
"Validation": "2.0.6.15003"
1721
},
1822
"frameworks": {

src/Nerdbank.GitVersioning.NuGet/Nerdbank.GitVersioning.NuGet.nuproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@
5050
<ItemGroup>
5151
<None Include="project.json" />
5252
</ItemGroup>
53-
<Target Name="PackageLibGit2SharpNativeBinaries" BeforeTargets="ConvertItems">
53+
<Target Name="PackageLibGit2SharpNativeBinaries" BeforeTargets="ConvertItems;GetCopyToOutputDirectoryItems">
5454
<ItemGroup>
5555
<!-- Adapt the copy behavior -->
56-
<Content Include="@(None)" Condition=" '%(None.CopyToOutputDirectory)' == 'PreserveNewest' ">
57-
<Link>build\%(None.Link)</Link>
56+
<NoneToContentPort Include="@(None)" Condition=" '%(None.CopyToOutputDirectory)' == 'PreserveNewest' " />
57+
<None Remove="@(NoneToContentPort)" />
58+
<Content Include="@(NoneToContentPort)">
59+
<Link>build\%(NoneToContentPort.Link)</Link>
5860
<CopyToOutputDirectory />
5961
<PackageDirectory>build</PackageDirectory>
6062
</Content>

src/Nerdbank.GitVersioning.NuGet/project.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"version": "1.5.46",
99
"suppressParent": "none"
1010
},
11+
"ReadOnlySourceTree": {
12+
"version": "0.1.37-beta",
13+
"suppressParent": "none"
14+
},
1115
"NuProj": "0.11.14-beta"
1216
},
1317
"runtimes": {

src/Nerdbank.GitVersioning.Tasks/Nerdbank.GitVersioning.Tasks.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
<DebugSymbols>true</DebugSymbols>
1818
<DebugType>full</DebugType>
1919
<Optimize>false</Optimize>
20-
<OutputPath>..\..\bin\Debug\</OutputPath>
20+
<OutputPath>bin\Debug\</OutputPath>
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
2424
</PropertyGroup>
2525
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2626
<DebugType>pdbonly</DebugType>
2727
<Optimize>true</Optimize>
28-
<OutputPath>..\..\bin\Release\</OutputPath>
28+
<OutputPath>bin\Release\</OutputPath>
2929
<DefineConstants>TRACE</DefineConstants>
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>

0 commit comments

Comments
 (0)