Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
fa5cdbfb
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fa5cdbfb
编写于
12月 20, 2016
作者:
O
Omar Tawfik
提交者:
GitHub
12月 20, 2016
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #15970 from dotnet/feature/add-csc-vbc-to-path
Add csc and vbc to PATH
上级
96e16e61
5ffe7976
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
57 addition
and
0 deletion
+57
-0
src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swr
...six/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swr
+3
-0
src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj
...mpilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj
+5
-0
src/Setup/MSBuildScripts/roslyn.bat
src/Setup/MSBuildScripts/roslyn.bat
+49
-0
未找到文件。
src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swr
浏览文件 @
fa5cdbfb
...
...
@@ -60,3 +60,6 @@ folder InstallDir:\MSBuild\15.0\Bin\Roslyn
file
source
=$(
OutputPath
)\
Vsix
\
CompilerExtension
\
System
.
Xml
.
XmlDocument
.
dll
vs
.
file
.
ngenArchitecture
=
all
file
source
=$(
OutputPath
)\
Vsix
\
CompilerExtension
\
System
.
Xml
.
XPath
.
dll
vs
.
file
.
ngenArchitecture
=
all
file
source
=$(
OutputPath
)\
Vsix
\
CompilerExtension
\
System
.
Xml
.
XPath
.
XDocument
.
dll
vs
.
file
.
ngenArchitecture
=
all
folder
InstallDir
:\
Common7
\
Tools
\
vsdevcmd
\
ext
file
source
=$(
OutputPath
)\
Insertion
\
roslyn
.
bat
src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj
浏览文件 @
fa5cdbfb
...
...
@@ -14,7 +14,12 @@
<Import
Project=
"$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildCoreVersion)\build\MicroBuild.Core.props"
/>
<Import
Project=
"$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildCoreVersion)\build\MicroBuild.Core.targets"
/>
<ItemGroup>
<RoslynVsixFileToCopy
Include=
"..\..\MSBuildScripts\roslyn.bat"
/>
</ItemGroup>
<Target
Name=
"BeforeBuild"
>
<Copy
SourceFiles=
"@(RoslynVsixFileToCopy)"
DestinationFolder=
"$(OutputPath)"
OverwriteReadOnlyFiles=
"true"
SkipUnchangedFiles=
"true"
/>
<MSBuild
Projects=
"Microsoft.CodeAnalysis.Compilers.swixproj"
Targets=
"Build"
/>
</Target>
...
...
src/Setup/MSBuildScripts/roslyn.bat
0 → 100644
浏览文件 @
fa5cdbfb
set
__VSCMD_script_err_count
=
0
if
"
%VSCMD_TEST%
"
NEQ
""
goto
:test
if
"
%VSCMD_ARG_CLEAN_ENV%
"
NEQ
""
goto
:clean
_env
@REM ------------------------------------------------------------------------
:start
set
"PATH=
%VSINSTALLDIR%
MSBuild\15.0\bin\Roslyn;
%PATH%
"
goto
:end
@REM ------------------------------------------------------------------------
:test
setlocal
@REM Test whether csc.exe is now on PATH
where
csc
.exe
>
nul
2
>&
1
if
"
%ERRORLEVEL%
"
NEQ
"0"
(
@echo
[
ERROR
:
%~nx0
]
'where csc.exe'
failed
set
/A
__VSCMD_script_err_count
=
__VSCMD_script_err_count
+
1
)
@REM exports the value of _vscmd_script_err_count from the 'setlocal' region
endlocal
&
set
__VSCMD_script_err_count
=
%__VSCMD_script_err_count%
goto
:end
@REM ------------------------------------------------------------------------
:clean
_env
@REM Since this script only adds to PATH, the vsdevcmd.bat core infrastructure
@REM will handle clean-up of PATH.
goto
:end
@REM ------------------------------------------------------------------------
:end
@REM return value other than 0 if tests failed.
if
"
%__VSCMD_script_err_count%
"
NEQ
"0"
(
set
__VSCMD_script_err_count
=
exit
/B
1
)
set
__VSCMD_script_err_count
=
exit
/B
0
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录