从 visual studio 2015 年构建原子文本编辑器
Building atom text editor from visual studio 2015
我一直在尝试从 github 上发布的源代码为原子文本编辑器做出贡献。我正在从源代码构建应用程序。
这是一些快速的系统信息。
操作系统:
Windows10(x64)
命令结果:
apm -v
apm 1.16.1
npm 3.10.5
node 6.9.5 x64
python 2.7.13
git 2.11.0.windows.3
visual studio 2015
我有 运行 原子 documentation (windows build) 给出的命令,它已经正确地创建了一个输出文件。(命令列在下面)
cd C:\
git clone https://github.com/atom/atom.git
cd atom
script\build
我在 visual studio 2015 年打开了 atom 文件夹作为网站。我认为这是正确的,但我不完全确定。下面是我在 visual studio 2015 年的解决方案资源管理器的图像。对于项目 atom,如前所述,它作为网站打开。
现在,当我尝试在 visual studio 中构建此应用程序时(它表明构建成功),但我收到错误 HTTP 错误 403.14 - 禁止访问(visual studios 打开本地主机)。我遵循了 Microsoft 支持 website 的方法,但这些解决方案并没有解决我的错误。我想知道是否应该在 visual studio 中将应用程序构建为网站。这可能是导致此错误的原因吗?
其他信息:
Web.config内容:
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
</system.web>
</configuration>
我在原子讨论区Link Here上又问了这个问题。这是其他人的回答,所有学分都归于 Wliu 和学者的回答。
使用script\build。如果 Visual Studio 有一个嵌入式终端,那么您可以使用它,这样您就不必离开编辑器。 Atom 确实有一个嵌入式终端。
out\ 应在 运行ning script\build 时自动为您清除:https://github.com/atom/atom/blob/071ee3a06076f67e7708f4fdeffe85ac0e9d89c6/script/lib/clean-output-directory.js1
如果您经常对 Atom 核心进行更改并希望快速测试您的更改,您可以 运行 开发人员模式下的 Atom,这比重建要快得多:atom --dev.
我一直在尝试从 github 上发布的源代码为原子文本编辑器做出贡献。我正在从源代码构建应用程序。
这是一些快速的系统信息。
操作系统: Windows10(x64)
命令结果: apm -v
apm 1.16.1
npm 3.10.5
node 6.9.5 x64
python 2.7.13
git 2.11.0.windows.3
visual studio 2015
我有 运行 原子 documentation (windows build) 给出的命令,它已经正确地创建了一个输出文件。(命令列在下面)
cd C:\
git clone https://github.com/atom/atom.git
cd atom
script\build
我在 visual studio 2015 年打开了 atom 文件夹作为网站。我认为这是正确的,但我不完全确定。下面是我在 visual studio 2015 年的解决方案资源管理器的图像。对于项目 atom,如前所述,它作为网站打开。
现在,当我尝试在 visual studio 中构建此应用程序时(它表明构建成功),但我收到错误 HTTP 错误 403.14 - 禁止访问(visual studios 打开本地主机)。我遵循了 Microsoft 支持 website 的方法,但这些解决方案并没有解决我的错误。我想知道是否应该在 visual studio 中将应用程序构建为网站。这可能是导致此错误的原因吗?
其他信息:
Web.config内容:
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
</system.web>
</configuration>
我在原子讨论区Link Here上又问了这个问题。这是其他人的回答,所有学分都归于 Wliu 和学者的回答。
使用script\build。如果 Visual Studio 有一个嵌入式终端,那么您可以使用它,这样您就不必离开编辑器。 Atom 确实有一个嵌入式终端。
out\ 应在 运行ning script\build 时自动为您清除:https://github.com/atom/atom/blob/071ee3a06076f67e7708f4fdeffe85ac0e9d89c6/script/lib/clean-output-directory.js1 如果您经常对 Atom 核心进行更改并希望快速测试您的更改,您可以 运行 开发人员模式下的 Atom,这比重建要快得多:atom --dev.