-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCodeLab.csproj
105 lines (105 loc) · 5.45 KB
/
CodeLab.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0-windows</TargetFramework>
<RootNamespace>PdnCodeLab</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWindowsForms>true</UseWindowsForms>
<UseWPF>true</UseWPF>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
<Configurations>Debug;Release;FastDebug</Configurations>
<Deterministic>false</Deterministic>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<ForceDesignerDPIUnaware>true</ForceDesignerDPIUnaware>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputType>Library</OutputType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputType>Library</OutputType>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'FastDebug|AnyCPU' ">
<OutputType>WinExe</OutputType>
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<OutputPath>bin\FastDebug\</OutputPath>
<DefineConstants>FASTDEBUG;DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<StartupObject></StartupObject>
</PropertyGroup>
<ItemGroup>
<Compile Remove="References\**" />
<EmbeddedResource Remove="References\**" />
<None Remove="References\**" />
<Page Remove="References\**" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Icons\*.png" />
<EmbeddedResource Include="Resources\*.png" />
<Content Include="Icons\CodeLab.64.png" />
</ItemGroup>
<ItemGroup>
<None Remove=".gitattributes" />
<None Remove=".gitignore" />
</ItemGroup>
<ItemGroup>
<Reference Include="PaintDotNet.Base">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Base.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Collections">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Collections.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.ComponentModel">
<HintPath>C:\Program Files\paint.net\PaintDotNet.ComponentModel.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Core">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Core.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Data">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Data.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Effects.Core">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Effects.Core.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Framework">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Framework.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Fundamentals">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Fundamentals.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.ObjectModel">
<HintPath>C:\Program Files\paint.net\PaintDotNet.ObjectModel.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Primitives">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Primitives.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.PropertySystem">
<HintPath>C:\Program Files\paint.net\PaintDotNet.PropertySystem.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Windows">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Windows.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Windows.Core">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Windows.Core.dll</HintPath>
</Reference>
<Reference Include="PaintDotNet.Windows.Framework">
<HintPath>C:\Program Files\paint.net\PaintDotNet.Windows.Framework.dll</HintPath>
</Reference>
<Reference Include="ScintillaNET">
<HintPath>References\ScintillaNET.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ILRepack" Version="2.0.35">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0-3.final" PrivateAssets="all" />
<PackageReference Include="PlatformSpellCheck" Version="1.1.0" PrivateAssets="all" />
<PackageReference Include="PluralizeService.Core" Version="1.2.21147.2" PrivateAssets="all" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if $(ConfigurationName)==FastDebug goto end

if not exist "$(TargetDir)Merged\" mkdir "$(TargetDir)Merged\"

set deps=ScintillaNET.dll Microsoft.CodeAnalysis.CSharp.dll Microsoft.CodeAnalysis.dll PluralizeService.Core.dll PlatformSpellCheck.dll

cd "$(TargetDir)"

if $(ConfigurationName)==Release (
 $(ILRepack) /ndebug /out:Merged\$(TargetFileName) $(TargetFileName) %25deps%25
 cmd /c explorer "$(TargetDir)Merged"
) else if $(ConfigurationName)==Debug (
 $(ILRepack) /out:Merged\$(TargetFileName) $(TargetFileName) %25deps%25
 copy "$(TargetDir)Merged\$(TargetFileName)" "C:\Program Files\Paint.NET\Effects\"
 copy "$(TargetDir)Merged\$(TargetName).pdb" "C:\Program Files\Paint.NET\Effects\"
)

:end
exit 0" />
</Target>
</Project>