Paint.NET Source Code Readme
Prerequisites
-------------
1. Windows XP or Windows Server 2003, or newer.
2. Visual Studio .NET 2005 with Service Pack 1
You should install the C++ x64 compiler as well, which may not come installed
by default.
3. .NET Framework 2.0
4. Tablet PC SDK v1.7
Download and install this from Microsoft:
http://www.microsoft.com/downloads/details.aspx?FamilyID=b46d4b83-a821-40bc-aa85-c9ee3d6e9699&DisplayLang=en
Instructions
------------
1. Open src/paintdotnet.sln with Microsoft Visual Studio .NET 2005.
2. Make sure the project configuration is set to "Release and Package."
This can be done by going to the "Build" menu, selecting "Configuration
Manager...", selecting "Release and Package" under "Active Solution
Configuration:" and then clicking Close.
3. Go to the "Build" menu and click "Rebuild Solution."
4. Assuming all went well, the output files are now in src/Setup/Release:
* PaintDotNet.msi
This is the MSI that installs Paint.NET, but you shouldn't launch it
directly, otherwise certain MSI properties won't be set up right.
* PaintDotNet_M_m.exe
The "real" installer, where M is the major version and m is the minor
version, i.e. PaintDotNet_2_6.exe
Suitable for web-based distribution. This is fairly small and installs
just Paint.NET.
* PaintDotNet_M_m_Full.exe
This is the "full" installer that will install .NET 2.0 if it is not
already installed. This file is much larger than PaintDotNetSetup.exe
but provides a very convenient all-in-one installation package.
For normal development work, use either the 'Release' or 'Debug' configuration.
This will skip the process of building all the setup packages, help file, and
merge modules. When you are working in this mode, you should make sure that
the /skipRepairAttempt command line parameter is present in the Debug tab of
the 'paintdotnet' project's properties. Otherwise, Paint.NET will see that some
files are missing and attempt to repair itself. Not all of these files are
necessary when doing development or debugging.
Also, you will need to make sure that mt.exe and signtool.exe are in a
directory that is in your PATH. These are available as part of the Windows SDK
which can be found at Microsoft's website. Usually it's sufficient to copy
these to %SYSTEMROOT%, which is usually C:\Windows.
Directory Layout
----------------
src/
The main folder containing all the Paint.NET source code.
src/Base
This assembly houses base framework-style code. This assembly was introduced
because there was code in Core that SystemLayer could not access and thus
had to duplicate.
src/bin
This is where the main Paint.NET executable and DLLs will be placed.
When you build PDN, you should be able to run PaintDotNet.exe from this
directory.
src/BuildTools
Some exe's that are used by the build process.
src/Data
Contains all data-related code, including loading and saving of images.
src/Effects
Contains the code that is built for the PaintDotNet.Effects.dll. This is
the Effects subsystem of Paint.NET that plugins will have to reference.
src/GeneratedCode
Contains a project with build events that generate code for other projects
in the paintdotnet solution. Currently it only generates the user blend
ops in the Data project.
src/Help
Contains all the help files that are compiled into PaintDotNet.chm.
src/Interop.WIA
Contains the .NET interop DLL for the Windows Image Acquisition (WIA)
Automation Layer.
src/Manifests
Contains XML manifests that are embedded in some of the EXE's that are
built. These are used in Windows Vista to mark the executable as either
requiring administrator privilege, or to run with the privilege that
the calling process has. The latter is important for the installer so
that the executable is not deemed 'legacy', and thus certain
compatibility modes are bypassed.
src/obj
Intermediate files used during compilation go here.
src/PdnLib
Contains the Paint.NET "library." This is code that is plausibly usable
either outside of Paint.NET or required for plugins to link against.
src/Resources
Contains all the resources for Paint.NET, and some code for managing them.
src/Setup
Contains a project that is used to build PaintDotNet.msi. Note that the
MSI file is not complete until the "Setup-Config" project has finished!
src/Setup-Config
This is the final stage of the build process. It modifies PaintDotNet.msi
using a VBS script so that it defaults to "Install for Everyone" instead
of "Install for Just Me." It then packages together PaintDotNet.msi with
dotnetfx.exe using NSIS (Nullsoft Scriptable Installation System).
src/SetupFrontEnd
Contains our front-end to the setup MSI. This was written so that we can
localize (translate) the setup wizard, and also so that the installation
options can be preserved when updating or reinstalling.
src/SetupNgen
This is a program that is run as part of install and uninstall that "pre-
JITs" our DLLs, as well as performing a few other tasks.
src/SetupShim
This is the setup "shim" which determines if .NET is installed and tries
to install it if required. If .NET is already installed, it launches
SetupFrontEnd.
src/SharpZipLib
Contains the DLL for #ziplib, by Mike Krueger.
src/ShellExtension
Contains the code for a Windows Explorer shell extension that displays
thumbnails. This is a COM object written in C++.
src/Strings
Contains the strings.resx for English/neutral locales.
src/StylusReader
Contains the code for interfacing with the Tablet PC SDK.
src/SystemLayer
All P/Invoke and "system dependent" code, as well as hacks or workarounds,
go in to the SystemLayer assembly.
src/WIAAutSDK
Contains the WIA 2.0 Automation library.
src/WIAProxy32
Contains the code for the WIA proxy executable.
没有合适的资源?快使用搜索试试~ 我知道了~
pdn_src_3_10.rar_pdn_pdn_src_3_10_photoshop
共1307个文件
cs:609个
png:191个
onetoc2:80个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 44 浏览量
2022-09-14
14:48:50
上传
评论
收藏 7.55MB RAR 举报
温馨提示
C#开发,可媲美photoshop的程序
资源详情
资源评论
资源推荐
收起资源包目录
pdn_src_3_10.rar_pdn_pdn_src_3_10_photoshop (1307个子文件)
ShellExtension.aps 33KB
Squish.aps 33KB
SetMsiProperties.bat 627B
count.bat 297B
prejit.bat 292B
signfile.bat 249B
zeroresx.bat 178B
installGAC.bat 158B
build.bat 67B
embedManifest.bat 54B
update.bat 50B
uninstallGAC.bat 36B
register.bat 21B
logo.bmp 5KB
SharpZlib.build 918B
bzip2 34KB
bzip2_solid 34KB
ChangeLog 2KB
wiaaut.chi 24KB
config 406B
PdnShellExtension.cpp 21KB
clusterfit.cpp 12KB
SetupShim.cpp 10KB
MemoryStream.cpp 9KB
alpha.cpp 8KB
squish.cpp 8KB
maths.cpp 6KB
colourblock.cpp 5KB
rangefit.cpp 5KB
singlecolourfit.cpp 4KB
colourset.cpp 3KB
PdnShell.cpp 3KB
ClassFactory.cpp 3KB
squishinterface.cpp 2KB
colourfit.cpp 2KB
dummy.cpp 2KB
UserBlendOps.Generated.cs 162KB
Utility.cs 103KB
DocumentWorkspace.cs 102KB
ToolConfigStrip.cs 97KB
AppWorkspace.cs 84KB
ColorsForm.cs 83KB
Surface.cs 81KB
ResizeDialog.cs 70KB
NativeErrors.cs 67KB
DocumentView.cs 61KB
Document.cs 57KB
TextTool.cs 54KB
NativeConstants.cs 53KB
Tool.cs 50KB
NativeInterfaces.cs 49KB
LevelsEffectConfigDialog.cs 48KB
ImageStrip.cs 46KB
ColorBgra.cs 45KB
MainForm.cs 45KB
RotateZoomEffectConfigDialog.cs 38KB
MoveToolBase.cs 38KB
MemoryBlock.cs 36KB
SaveConfigDialog.cs 36KB
DdsFile.cs 35KB
PdnGraphicsPath.cs 34KB
SetupWizard.cs 34KB
EffectMenuBase.cs 34KB
PdnBaseForm.cs 34KB
RecoloringTool.cs 32KB
Shell.cs 30KB
UnaryPixelOps.cs 28KB
HistoryControl.cs 27KB
TgaFileType.cs 27KB
GradientTool.cs 27KB
Startup.cs 26KB
SetupNgen.cs 25KB
SnapManager.cs 25KB
PdnToolBar.cs 25KB
FileSystem.cs 24KB
InstallingPage.cs 24KB
MoveTool.cs 23KB
MaskedSurface.cs 23KB
ShapeTool.cs 23KB
AppEnvironment.cs 23KB
CodeLabConfigDialog.cs 23KB
CheckingState.cs 22KB
Layer.cs 22KB
CloneStampTool.cs 22KB
UserBlendOps.Generated.H.cs 22KB
ColorGradientControl.cs 22KB
LayerForm.cs 22KB
DdsSaveConfigWidget.cs 21KB
SelectionRenderer.cs 21KB
LineTool.cs 21KB
Startup.cs 21KB
OctreeQuantizer.cs 21KB
UI.cs 20KB
LayerControl.cs 20KB
PaletteCollection.cs 20KB
SurfaceBox.cs 20KB
CurveControl.cs 20KB
PdnRegion.cs 20KB
Selection.cs 19KB
DocumentStrip.cs 19KB
共 1307 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
alvarocfc
- 粉丝: 111
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0