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.
没有合适的资源?快使用搜索试试~ 我知道了~
Paint.Net源码
共1098个文件
cs:664个
png:204个
resx:67个
5星 · 超过95%的资源 需积分: 10 612 下载量 114 浏览量
2008-02-04
09:16:43
上传
评论 10
收藏 2.88MB RAR 举报
温馨提示
值得一看的图片处理代码,使用.NET2008进行开发。
资源推荐
资源详情
资源评论
收起资源包目录
Paint.Net源码 (1098个子文件)
count.bat 297B
prejit.bat 292B
zeroresx.bat 178B
signfile.bat 177B
embedManifest.bat 54B
update.bat 50B
register.bat 21B
bzip2 34KB
bzip2_solid 34KB
ChangeLog 2KB
wiaaut.chi 24KB
config 406B
PdnShellExtension.cpp 21KB
clusterfit.cpp 12KB
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
UserBlendOps.Generated.cs 162KB
ToolConfigStrip.cs 123KB
Utility.cs 105KB
DocumentWorkspace.cs 102KB
AppWorkspace.cs 91KB
ColorsForm.cs 83KB
Surface.cs 80KB
ResizeDialog.cs 70KB
NativeErrors.cs 67KB
Document.cs 63KB
DocumentView.cs 61KB
TextTool.cs 54KB
NativeConstants.cs 53KB
Tool.cs 50KB
NativeInterfaces.cs 49KB
LevelsEffectConfigDialog.cs 48KB
ColorBgra.cs 47KB
ImageStrip.cs 46KB
MainForm.cs 45KB
EffectMenuBase.cs 43KB
MoveToolBase.cs 39KB
RotateZoomEffectConfigDialog.cs 38KB
MemoryBlock.cs 36KB
PdnBaseForm.cs 35KB
DdsFile.cs 35KB
PdnGraphicsPath.cs 34KB
SaveConfigDialog.cs 33KB
RecoloringTool.cs 32KB
Shell.cs 30KB
HistoryControl.cs 28KB
Startup.cs 28KB
UnaryPixelOps.cs 28KB
TgaFileType.cs 27KB
GradientTool.cs 27KB
AppEnvironment.cs 27KB
UI.cs 25KB
PdnToolBar.cs 25KB
SnapManager.cs 25KB
Startup.cs 24KB
FileSystem.cs 24KB
MoveTool.cs 23KB
MaskedSurface.cs 23KB
ShapeTool.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 22KB
LineTool.cs 21KB
SelectionRenderer.cs 21KB
FileMenu.cs 21KB
OctreeQuantizer.cs 21KB
LayerControl.cs 20KB
PaletteCollection.cs 20KB
SurfaceBox.cs 20KB
CurveControl.cs 20KB
PdnRegion.cs 20KB
Selection.cs 19KB
UpdatesDialog.cs 19KB
DocumentStrip.cs 19KB
TwoAmountsConfigDialog.cs 19KB
VistaFileOpenDialog.cs 19KB
ChooseToolDefaultsDialog.cs 19KB
Ruler.cs 19KB
CurvesEffectConfigDialog.cs 18KB
FileType.cs 18KB
MotionBlurEffectConfigDialog.cs 18KB
RollControl.cs 18KB
PdnGraphics.cs 17KB
PasteAction.cs 17KB
ViewConfigStrip.cs 17KB
共 1098 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
yemalv
- 粉丝: 1
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页