This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from kzu/vsts
Auto-push for versioned branches, improve TFS support
- Loading branch information
Showing
9 changed files
with
112 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ temp | |
NuGet.exe | ||
packages | ||
project.lock.json | ||
.nuget | ||
*.nuget.props | ||
*.nuget.targets | ||
|
||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.1.0 | ||
0.2.0-dev |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<!-- Instruct NuGet to perform a NETCore-like restore --> | ||
<TargetFramework>netcore50</TargetFramework> | ||
<!-- Instruct NuGet that we use PackageReference, rather than project.json --> | ||
<RestoreProjectStyle>PackageReference</RestoreProjectStyle> | ||
<!-- Specify a well-known usually ignored directory for the generated targets --> | ||
<RestoreOutputPath>$(MSBuildThisFileDirectory).nuget</RestoreOutputPath> | ||
<ETag>9f31d2c2a2dcddd79bfc28ddb5217663b761a17c</ETag> | ||
<CoreBuildPropsImported>true</CoreBuildPropsImported> | ||
</PropertyGroup> | ||
|
||
<!-- NuGet generated targets --> | ||
<Import Project="$(RestoreOutputPath)\$(MSBuildProjectFile).nuget.g.props" Condition="Exists('$(RestoreOutputPath)\$(MSBuildProjectFile).nuget.g.props')" /> | ||
</Project> |
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,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!-- Import NuGet.targets for Restore --> | ||
<PropertyGroup> | ||
<NuGetRestoreTargets Condition="'$(NuGetRestoreTargets)'==''">$(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets</NuGetRestoreTargets> | ||
</PropertyGroup> | ||
<Import Condition="Exists('$(NuGetRestoreTargets)')" Project="$(NuGetRestoreTargets)" /> | ||
<Import Condition="'$(CoreBuildPropsImported)' == ''" Project="corebuild.props" /> | ||
|
||
<Import Project="$(RestoreOutputPath)\$(MSBuildProjectFile).nuget.g.targets" Condition="Exists('$(RestoreOutputPath)\$(MSBuildProjectFile).nuget.g.targets')" /> | ||
|
||
<!-- Unfortunately, NuGet restore depends on this target for its _GenerateRestoreProjectReferencePaths target --> | ||
<Target Name="_SplitProjectReferencesByFileExistence" /> | ||
|
||
<Target Name="GetVsInstallRoot" Returns="$(VsInstallRoot)"> | ||
<Message Importance="high" Text="$(VsInstallRoot)" /> | ||
</Target> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="CoreBuild.Updater" Version="*"> | ||
<PrivateAssets>All</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="MSBuilder.XmlPoke" Version="*"> | ||
<PrivateAssets>All</PrivateAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<ETag>cdac7d6eaa07b64767e32bcb207a7dbdce1caf07</ETag> | ||
</PropertyGroup> | ||
|
||
<!-- If we're being imported from another project, import the update-all version of Update --> | ||
<Import Project="update.targets" Condition="'$(MSBuildProjectFullPath)' != '(MSBuildThisFileFullPath)' And '$(IsUpdating)' != 'true'" /> | ||
</Project> |
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,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<UpdateBaseUrl>https://raw.githubusercontent.com/kzu/corebuild/master/src/corebuild</UpdateBaseUrl> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<_Updatable Include="$(MSBuildThisFileDirectory)corebuild.props" /> | ||
<_Updatable Include="$(MSBuildThisFileDirectory)corebuild.targets" /> | ||
</ItemGroup> | ||
|
||
<Target Name="Update" Returns="@(_Updated)"> | ||
<MSBuild Projects="$(MSBuildProjectFullPath)" | ||
Targets="Update" | ||
Properties="UpdateTarget=%(_Updatable.FullPath);UpdateUrl=$(UpdateBaseUrl)/%(_Updatable.Filename)%(_Updatable.Extension);IsUpdating=true"> | ||
<Output TaskParameter="TargetOutputs" ItemName="_Updated" /> | ||
</MSBuild> | ||
</Target> | ||
</Project> |
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