开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
1 Star 0 Fork 1

WPF 界面/SharpDevelop

forked from KribKing/SharpDevelop
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
master
分支 (14)
标签 (60)
master
4.x
nuget-3.0-ctp
reports
filemodels
newNR
newNRILSpyDebugger
addin-manager-package-subdirectories
newNRvisualizers
4.2
4.1
formsdesignerappdomain
4.0
shortcuts
v5.1-archival
5.0.0
5.0-RC1
5.0-Beta5
5.0-Beta4
5.0-Beta3
5.0-Beta2
4.4.1
5.0-Beta1
4.4.0
4.3.3
4.3.2
4.3.1
4.3.0
4.3-Beta1
4.2.2
4.2.1
4.2.0
4.2-RC1
4.2-Beta2
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
项目仓库所选许可证以仓库主分支所使用许可证为准
master
分支 (14)
标签 (60)
master
4.x
nuget-3.0-ctp
reports
filemodels
newNR
newNRILSpyDebugger
addin-manager-package-subdirectories
newNRvisualizers
4.2
4.1
formsdesignerappdomain
4.0
shortcuts
v5.1-archival
5.0.0
5.0-RC1
5.0-Beta5
5.0-Beta4
5.0-Beta3
5.0-Beta2
4.4.1
5.0-Beta1
4.4.0
4.3.3
4.3.2
4.3.1
4.3.0
4.3-Beta1
4.2.2
4.2.1
4.2.0
4.2-RC1
4.2-Beta2
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (14)
标签 (60)
master
4.x
nuget-3.0-ctp
reports
filemodels
newNR
newNRILSpyDebugger
addin-manager-package-subdirectories
newNRvisualizers
4.2
4.1
formsdesignerappdomain
4.0
shortcuts
v5.1-archival
5.0.0
5.0-RC1
5.0-Beta5
5.0-Beta4
5.0-Beta3
5.0-Beta2
4.4.1
5.0-Beta1
4.4.0
4.3.3
4.3.2
4.3.1
4.3.0
4.3-Beta1
4.2.2
4.2.1
4.2.0
4.2-RC1
4.2-Beta2
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
File empty ...
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

SharpDevelop Setup Build Server Rules 
-------------------------------------
All new .msi files are treated as major upgrades on the build server:
http://msdn.microsoft.com/library/en-us/msi/setup/major_upgrades.asp
1) Package code always changes for a new revision.
2) Product version is updated with the revision number.
3) Product code changed for a new revision.
4) Msi filename changed on each build. It includes the SharpDevelop version and revision.
Guid generation
---------------
The Guid generation is done by WiX itself. Only the version number is generated by
the buildSetup.bat file. This file runs the UpdateSetupInfo tool. 
The UpdateSetupInfo tool reads the current revision number and updates the installation. 
This information is stored in the SharpDevelop.Setup.wixproj.user file which is
generated each time when run from the build server. The Wix setup documents
have preprocessor variables $(var) that map to MSBuild properties. These MSBuild
properties are stored in the SharpDevelop.Setup.wixproj.user file. 
The SharpDevelop.Setup.wixproj.user file is in the repository since but it is not
committed on each build. Therefore the Product Code guid is not stored anywhere 
apart from the .msi itself. This maybe a problem. The Upgrade Code is the 
important guid and that is in the main Setup.wxs file and should not be changed. 
It will be changed for SharpDevelop 3.0.
The UpdateSetupInfo tool is not used when building the SharpDevelop.Setup project.
The buildSetup.bat does use the tool. The build server also uses the tool.
The UpdateSetupInfo tool uses a template file SharpDevelop.Setup.wixproj.user.template 
which is stored in the repository and has a placeholder for the revision
number.
If the build server generates two installer packages with the same revision number 
but different Product code guids then the user can install two instances of
SharpDevelop 2.1 on their machine which we do not want. However the installer
is only generated on the build server if the revision has changed.
Why major instead of minor?
---------------------------
It allows us to make large changes to the installer, completely restructuring the
features, components, and renaming the .msi filename. Just renaming the .msi filename on
its own means the product code guid has to change. However the main reason is that
to use a minor upgrade so it upgrades the existing installation you have to use a command 
line like:
msiexec /i SharpDevelop.msi REINSTALL=ALL REINSTALLMODE=vomus
Otherwise you just get a message informing you that there is an existing installation.
A major upgrade is more user friendly and will not need such a command line, it should
install just by double clicking the .msi.
SharpDevelop Setup Rules
------------------------
1) Each assembly (.exe, .dll) added gets its own Component. This includes any files that 
logically belong to it (e.g. .config, .addin), but not any assemblies it uses (.exe, .dll).
For an added assembly the File element should look like:
<File Id="SharpDevelopExeId" 
	Name="SharpDev.exe" 
	LongName="SharpDevelop.exe" 
	Source="..\..\bin\SharpDevelop.exe" 
	Assembly=".net" 
	AssemblyApplication="SharpDevelopExeId" 
	AssemblyManifest="SharpDevelopExeId" 
	KeyPath="yes"/>
	
Note that the Id is typically just the filename, but the in the example I have 
emphasised that AssemblyApplication and AssemblyManifest refer to the file id.
		
Windows Installer References
----------------------------
Windows Installer has a lot of rules that need to be followed when creating
setup packages. The main ones to look at the rules for adding/removing components.
The documentation is a bit confusing, some parts say that you need to generate
a new Component Guid when you add/remove a resource (file, registry, etc)
to/from a component. Other parts say that with Windows Installer v2 you can 
add/remove resources without needing to regenerate a new guid.
SharpDevelop's installer will not allow side-by-side installations of
SharpDevelop 2.1. Each new installer will be able to upgrade all previous versions
from 2.1.0 upwards. Disallowing side-by-side installations should prevent any 
problems if component Guids are not altered when they should be (see 
What Happens if the Component Rules are Broken?) 
SharpDevelop component rules:
1) Never the same resource into two different components.
2) All resources in a component must be installed into the same directory.
3) When adding a new file to an existing directory put it inside its own new
component. That is if a previous version of the installer has been released.
If you're adding a completely new addin this does not apply, each .exe and .dll
should be in its own component, but other files can be grouped.
4) Removing a file. According to the docs:
"you must also change the name or target location every resource in the component."
This is not a problem for .exe and .dlls since they should be in their own
component so you just remove the entire component. If you may remove
the resource at some point in the future, put it into its own component.
If you have to remove a file from an existing component change its guid and
hope nothing breaks.
Setup Package Validation
------------------------
Orca is no longer required as building the installer runs a post build task that
validates the generated installer. Do not ignore any errors. Warnings need to be understood
before being ignored. ICE33 warnings can be ignored - see the Setup.wxs
file for more details.
http://msdn.microsoft.com/library/en-us/msi/setup/organizing_applications_into_components.asp
http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_component_code.asp
http://msdn.microsoft.com/library/en-us/msi/setup/what_happens_if_the_component_rules_are_broken.asp
http://msdn.microsoft.com/library/en-us/msi/setup/defining_installer_components.asp
http://msdn.microsoft.com/library/en-us/msi/setup/assemblies.asp
http://msdn.microsoft.com/library/en-us/msi/setup/patching_and_upgrades.asp
http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_product_code.asp
http://msdn.microsoft.com/library/en-us/msi/setup/minor_upgrades.asp
Rob Mensching also has some information about the component rules on his blog:
Windows Installer Components Introduction 
http://blogs.msdn.com/robmen/archive/2003/10/04/56479.aspx 
Component Rules 101
http://blogs.msdn.com/robmen/archive/2003/10/18/56497.aspx
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wpf-interface/SharpDevelop.git
git@gitee.com:wpf-interface/SharpDevelop.git
wpf-interface
SharpDevelop
SharpDevelop
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /