Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit b23d1b9

Browse files
Merged project file
1 parent 2cb81db commit b23d1b9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/Our.Umbraco.DocTypeGridEditor/Our.Umbraco.DocTypeGridEditor.csproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,22 @@
258258
</ItemGroup>
259259
<ItemGroup />
260260
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
261+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
262+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
263+
<PropertyGroup>
264+
<ErrorText>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=322105. The missing file is {0}.</ErrorText>
265+
</PropertyGroup>
266+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
267+
</Target>
268+
<PropertyGroup>
269+
<PostBuildEvent>IF %25ComputerName%25 == MBP13-PC-BC (
270+
IF NOT "$(SolutionDir)" == "*Undefined*" (
271+
xcopy /s /y "$(TargetPath)" "C:\Users\Matt\Work\TheOutfield\Umbrella\Carlsberg\Pegasus2\carlsberggroup.com\bin"
272+
xcopy /s /y "$(TargetDir)$(ProjectName).pdb" "C:\Users\Matt\Work\TheOutfield\Umbrella\Carlsberg\Pegasus2\carlsberggroup.com\bin"
273+
xcopy /s /y "$(ProjectDir)Web\UI\*.*" "C:\Users\Matt\Work\TheOutfield\Umbrella\Carlsberg\Pegasus2\carlsberggroup.com"
274+
)
275+
)</PostBuildEvent>
276+
</PropertyGroup>
261277
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
262278
Other similar extension points exist, see Microsoft.Common.targets.
263279
<Target Name="BeforeBuild">

0 commit comments

Comments
 (0)