Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
bc24e05d
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,发现更多精彩内容 >>
提交
bc24e05d
编写于
2月 03, 2017
作者:
J
Jared Parsons
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Changed the debugger package generation
上级
3a574121
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
42 addition
and
36 deletion
+42
-36
build/Targets/Dependencies.props
build/Targets/Dependencies.props
+2
-2
src/ExpressionEvaluator/Core/Source/Concord/Concord.csproj
src/ExpressionEvaluator/Core/Source/Concord/Concord.csproj
+3
-3
src/Tools/GenerateSdkPackages/change-all.ps1
src/Tools/GenerateSdkPackages/change-all.ps1
+2
-1
src/Tools/GenerateSdkPackages/engine.nuspec
src/Tools/GenerateSdkPackages/engine.nuspec
+3
-3
src/Tools/GenerateSdkPackages/make-all.ps1
src/Tools/GenerateSdkPackages/make-all.ps1
+30
-25
src/Tools/GenerateSdkPackages/metadata.nuspec
src/Tools/GenerateSdkPackages/metadata.nuspec
+2
-2
未找到文件。
build/Targets/Dependencies.props
浏览文件 @
bc24e05d
...
...
@@ -25,8 +25,8 @@
<MicrosoftDiaSymReaderPortablePdbVersion>
1.2.0
</MicrosoftDiaSymReaderPortablePdbVersion>
<MicrosoftNETCoreRuntimeCoreCLRVersion>
1.1.0
</MicrosoftNETCoreRuntimeCoreCLRVersion>
<MicrosoftVisualBasicVersion>
10.1.0
</MicrosoftVisualBasicVersion>
<MicrosoftVisualStudioDebuggerEngineVersion>
15.0.2
5824-RC
</MicrosoftVisualStudioDebuggerEngineVersion>
<MicrosoftVisualStudioDebuggerMetadataVersion>
15.0.2
5824-RC
</MicrosoftVisualStudioDebuggerMetadataVersion>
<MicrosoftVisualStudioDebuggerEngineVersion>
15.0.2
6201-alpha
</MicrosoftVisualStudioDebuggerEngineVersion>
<MicrosoftVisualStudioDebuggerMetadataVersion>
15.0.2
6201-alpha
</MicrosoftVisualStudioDebuggerMetadataVersion>
<MicrosoftVisualStudioInteractiveWindowVersion>
2.0.0-rc3-61304-01
</MicrosoftVisualStudioInteractiveWindowVersion>
<MicrosoftVisualStudioVsInteractiveWindowVersion>
2.0.0-rc3-61304-01
</MicrosoftVisualStudioVsInteractiveWindowVersion>
<MicrosoftVSSDKBuildToolsVersion>
15.0.26124-RC3
</MicrosoftVSSDKBuildToolsVersion>
...
...
src/ExpressionEvaluator/Core/Source/Concord/Concord.csproj
浏览文件 @
bc24e05d
...
...
@@ -22,10 +22,10 @@
<None
Include=
"project.json"
/>
</ItemGroup>
<ItemGroup>
<Content
Include=
"$(NuGetPackageRoot)\Microsoft.VisualStudio.Debugger.Engine\
15.0.25824-RC
\lib\portable-net45+win8\Microsoft.VisualStudio.Debugger.Engine.dll"
>
<Content
Include=
"$(NuGetPackageRoot)\Microsoft.VisualStudio.Debugger.Engine\
$(MicrosoftVisualStudioDebuggerEngineVersion)
\lib\portable-net45+win8\Microsoft.VisualStudio.Debugger.Engine.dll"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</Content>
<Content
Include=
"$(NuGetPackageRoot)\Microsoft.VisualStudio.Debugger.Metadata\
15.0.25824-RC
\lib\portable-net45+win8\Microsoft.VisualStudio.Debugger.Metadata.dll"
>
<Content
Include=
"$(NuGetPackageRoot)\Microsoft.VisualStudio.Debugger.Metadata\
$(MicrosoftVisualStudioDebuggerMetadataVersion)
\lib\portable-net45+win8\Microsoft.VisualStudio.Debugger.Metadata.dll"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</Content>
</ItemGroup>
...
...
@@ -33,4 +33,4 @@
<Exec
Command=
""$(FakeSignToolPath)" -f "$(OutDir)%(Content.Filename)%(Extension)""
/>
</Target>
<Import
Project=
"..\..\..\..\..\build\Targets\Imports.targets"
/>
</Project>
\ No newline at end of file
</Project>
src/Tools/GenerateSdkPackages/change-all.ps1
浏览文件 @
bc24e05d
...
...
@@ -31,7 +31,8 @@ try {
}
$changeFilePath
=
[
IO.Path
]::
GetTempFileName
()
$changeList
|
out-file
$changeFilePath
$changeList
-join
[
Environment
]::
NewLine
|
out-file
$changeFilePath
write-host
(
gc
-raw
$changeFilePath
)
$fullSln
=
join-path
$rootPath
"..\Roslyn.sln"
if
(
test-path
$fullSln
)
{
...
...
src/Tools/GenerateSdkPackages/engine.nuspec
浏览文件 @
bc24e05d
...
...
@@ -17,8 +17,8 @@
<tags>
VSSDK
</tags>
</metadata>
<files>
<file
src=
"$
enginePath$\ReferenceDLL\v2.
0\Microsoft.VisualStudio.Debugger.Engine.dll"
target=
"lib\net20"
/>
<file
src=
"$
enginePath$\ReferenceDLL\v4.
5\Microsoft.VisualStudio.Debugger.Engine.dll"
target=
"lib\net45"
/>
<file
src=
"$
enginePath$\ReferenceDLL
\portable\Microsoft.VisualStudio.Debugger.Engine.dll"
target=
"lib\portable-net45+win8"
/>
<file
src=
"$
debuggerPath$\net2
0\Microsoft.VisualStudio.Debugger.Engine.dll"
target=
"lib\net20"
/>
<file
src=
"$
debuggerPath$\net4
5\Microsoft.VisualStudio.Debugger.Engine.dll"
target=
"lib\net45"
/>
<file
src=
"$
debuggerPath$
\portable\Microsoft.VisualStudio.Debugger.Engine.dll"
target=
"lib\portable-net45+win8"
/>
</files>
</package>
src/Tools/GenerateSdkPackages/make-all.ps1
浏览文件 @
bc24e05d
...
...
@@ -24,38 +24,41 @@ function package-normal() {
&
$nuget
pack
$baseNuspecPath
-OutputDirectory
$packagePath
-Properties
name
=
$simpleName
`
;
version
=
$packageVersion
`
;
filePath
=
$filePath
}
# Used to package Microsoft.VisualStudio.Debugger.Engine
function
package-engine
()
{
# The debugger DLLs have a more complex structure and it's easier to special case
# copying them over.
function
copy-debugger
()
{
$refRootPath
=
[
IO.Path
]::
GetFullPath
((
join-path
$dropPath
"..\..\Debugger\ReferenceDLL"
))
$engineDllPath
=
join-path
$dllPath
"engine"
$engineNespecPath
=
join-path
$PSScriptRoot
"engine.nuspec"
mkdir
$engineDllPath
-ErrorAction
SilentlyContinue
|
out-null
cp
-fo
-re
$refRootPath
$engineDllPath
pushd
$engineDllPath
$debuggerDllPath
=
join-path
$dllPath
"debugger"
$net20Path
=
join-path
$debuggerDllPath
"net20"
$net45Path
=
join-path
$debuggerDllPath
"net45"
$portablePath
=
join-path
$debuggerDllPath
"portable"
mkdir
$debuggerDllPath
-ErrorAction
SilentlyContinue
|
out-null
mkdir
$net20Path
-ErrorAction
SilentlyContinue
|
out-null
mkdir
$net45Path
-ErrorAction
SilentlyContinue
|
out-null
mkdir
$portablePath
-ErrorAction
SilentlyContinue
|
out-null
pushd
$debuggerDllPath
try
{
$d
=
join-path
$dropPath
"..\..\Debugger"
cp
(
join-path
$d
"RemoteDebugger\Microsoft.VisualStudio.Debugger.Engine.dll"
)
$net20Path
cp
(
join-path
$d
"IDE\Microsoft.VisualStudio.Debugger.Engine.dll"
)
$net45Path
cp
(
join-path
$d
"x-plat\coreclr.windows\mcg\Microsoft.VisualStudio.Debugger.Engine.dll"
)
$portablePath
cp
(
join-path
$dropPath
"Microsoft.VisualStudio.Debugger.Metadata.dll"
)
$net20Path
cp
(
join-path
$dropPath
"Microsoft.VisualStudio.Debugger.Metadata.dll"
)
$portablePath
gci
-re
-in
*.
dll
|
%
{
&
$fakeSign
-f
$_
}
&
$nuget
pack
$engineNespecPath
-OutputDirectory
$packagePath
-Properties
version
=
$packageVersion
`
;
enginePath
=
$engineDllPath
}
finally
{
popd
}
}
# Used to package Microsoft.VisualStudio.Debugger.Metadata
function
package-metadata
()
{
$refRootPath
=
[
IO.Path
]::
GetFullPath
((
join-path
$dropPath
"..\..\Debugger\ReferenceDLL"
))
$metadataDllPath
=
join-path
$dllPath
"metadata"
$metadataNespecPath
=
join-path
$PSScriptRoot
"metadata.nuspec"
mkdir
$metadataDllPath
-ErrorAction
SilentlyContinue
|
out-null
cp
-fo
-re
$refRootPath
$metadataDllPath
pushd
$metadataDllPath
try
{
gci
-re
-in
*.
dll
|
%
{
&
$fakeSign
-f
$_
}
&
$nuget
pack
$metadataNespecPath
-OutputDirectory
$packagePath
-Properties
version
=
$packageVersion
`
;
metadataPath
=
$metadataDllPath
}
finally
{
popd
}
# Used to package debugger nugets
function
package-debugger
()
{
param
(
[
string
]
$kind
)
$debuggerPath
=
join-path
$dllPath
"debugger"
$nuspecPath
=
join-path
$PSScriptRoot
"
$kind
.nuspec"
&
$nuget
pack
$nuspecPath
-OutputDirectory
$packagePath
-Properties
version
=
$packageVersion
`
;
debuggerPath
=
$debuggerPath
}
try
{
...
...
@@ -87,13 +90,15 @@ try {
mkdir
$packagePath
-ErrorAction
SilentlyContinue
|
out-null
pushd
$outPath
try
{
copy-debugger
foreach
(
$item
in
$list
)
{
$name
=
split-path
-leaf
$item
$simpleName
=
[
IO.Path
]::
GetFileNameWithoutExtension
(
$name
)
write-host
"Packing
$simpleName
"
switch
(
$simpleName
)
{
"Microsoft.VisualStudio.Debugger.Engine"
{
package-
engine
}
"Microsoft.VisualStudio.Debugger.Metadata"
{
package-
metadata
}
"Microsoft.VisualStudio.Debugger.Engine"
{
package-
debugger
"engine"
}
"Microsoft.VisualStudio.Debugger.Metadata"
{
package-
debugger
"metadata"
}
default
{
package-normal
}
}
}
...
...
src/Tools/GenerateSdkPackages/metadata.nuspec
浏览文件 @
bc24e05d
...
...
@@ -17,7 +17,7 @@
<tags>
VSSDK
</tags>
</metadata>
<files>
<file
src=
"$
metadataPath$\ReferenceDLL\v2.
0\Microsoft.VisualStudio.Debugger.Metadata.dll"
target=
"lib\net20"
/>
<file
src=
"$
metadataPath$\ReferenceDLL
\portable\Microsoft.VisualStudio.Debugger.Metadata.dll"
target=
"lib\portable-net45+win8"
/>
<file
src=
"$
debuggerPath$\net2
0\Microsoft.VisualStudio.Debugger.Metadata.dll"
target=
"lib\net20"
/>
<file
src=
"$
debuggerPath$
\portable\Microsoft.VisualStudio.Debugger.Metadata.dll"
target=
"lib\portable-net45+win8"
/>
</files>
</package>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录