Skip to content

Commit e02bc66

Browse files
committed
add paket and reference Controlz.PopupEx
1 parent 904ff09 commit e02bc66

File tree

10 files changed

+423
-2
lines changed

10 files changed

+423
-2
lines changed

.paket/paket.bootstrapper.exe

25 KB
Binary file not shown.

.paket/paket.exe

3.72 MB
Binary file not shown.

.paket/paket.targets

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<!-- Enable the restore command to run before builds -->
5+
<RestorePackages Condition=" '$(RestorePackages)' == '' ">true</RestorePackages>
6+
<!-- Download Paket.exe if it does not already exist -->
7+
<DownloadPaket Condition=" '$(DownloadPaket)' == '' ">true</DownloadPaket>
8+
<PaketToolsPath>$(MSBuildThisFileDirectory)</PaketToolsPath>
9+
<PaketRootPath>$(MSBuildThisFileDirectory)..\</PaketRootPath>
10+
<MonoPath Condition="'$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')">/Library/Frameworks/Mono.framework/Commands/mono</MonoPath>
11+
<MonoPath Condition="'$(MonoPath)' == ''">mono</MonoPath>
12+
</PropertyGroup>
13+
<PropertyGroup>
14+
<!-- Paket command -->
15+
<PaketExePath Condition=" '$(PaketExePath)' == '' ">$(PaketToolsPath)paket.exe</PaketExePath>
16+
<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' ">$(PaketToolsPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
17+
<PaketCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketExePath)"</PaketCommand>
18+
<PaketCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"</PaketCommand>
19+
<PaketBootStrapperCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketBootStrapperExePath)"</PaketBootStrapperCommand>
20+
<PaketBootStrapperCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 $(PaketBootStrapperExePath)</PaketBootStrapperCommand>
21+
<!-- Commands -->
22+
<PaketReferences Condition="!Exists('$(MSBuildProjectFullPath).paket.references')">$(MSBuildProjectDirectory)\paket.references</PaketReferences>
23+
<PaketReferences Condition="Exists('$(MSBuildProjectFullPath).paket.references')">$(MSBuildProjectFullPath).paket.references</PaketReferences>
24+
<RestoreCommand>$(PaketCommand) restore --references-files "$(PaketReferences)"</RestoreCommand>
25+
<DownloadPaketCommand>$(PaketBootStrapperCommand)</DownloadPaketCommand>
26+
<!-- We need to ensure packages are restored prior to assembly resolve -->
27+
<BuildDependsOn Condition="$(RestorePackages) == 'true'">RestorePackages; $(BuildDependsOn);</BuildDependsOn>
28+
</PropertyGroup>
29+
<Target Name="CheckPrerequisites">
30+
<!-- Raise an error if we're unable to locate paket.exe -->
31+
<Error Condition="'$(DownloadPaket)' != 'true' AND !Exists('$(PaketExePath)')" Text="Unable to locate '$(PaketExePath)'" />
32+
<MsBuild Targets="DownloadPaket" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadPaket=$(DownloadPaket)" />
33+
</Target>
34+
<Target Name="DownloadPaket">
35+
<Exec Command="$(DownloadPaketCommand)" IgnoreStandardErrorWarningFormat="true" Condition=" '$(DownloadPaket)' == 'true' AND !Exists('$(PaketExePath)')" />
36+
</Target>
37+
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
38+
<Exec Command="$(RestoreCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(PaketRootPath)" Condition="Exists('$(PaketReferences)')" />
39+
</Target>
40+
</Project>

MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
<Name>MaterialDesignThemes.Wpf</Name>
102102
</ProjectReference>
103103
</ItemGroup>
104-
<ItemGroup />
105104
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
106105
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
107106
Other similar extension points exist, see Microsoft.Common.targets.

MaterialDesignThemes.Wpf/MaterialDesignThemes.Wpf.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
4242
</PropertyGroup>
4343
<ItemGroup>
44+
<Compile Include="..\paket-files\punker76\Controlz\src\Controlz\Controlz\PopupEx.cs">
45+
<Paket>True</Paket>
46+
<Link>Controlz/PopupEx.cs</Link>
47+
</Compile>
4448
<Reference Include="System" />
4549
<Reference Include="System.Data" />
4650
<Reference Include="System.Xml" />
@@ -289,7 +293,6 @@
289293
<Name>MaterialDesignColors.Wpf</Name>
290294
</ProjectReference>
291295
</ItemGroup>
292-
<ItemGroup />
293296
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
294297
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
295298
Other similar extension points exist, see Microsoft.Common.targets.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
File:PopupEx.cs Controlz

0 commit comments

Comments
 (0)