Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
cd5b8ecd
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,发现更多精彩内容 >>
未验证
提交
cd5b8ecd
编写于
10月 30, 2017
作者:
K
khyperia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Revert some changes
上级
56e5b75d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
15 addition
and
16 deletion
+15
-16
CrossPlatform.sln
CrossPlatform.sln
+7
-7
src/Compilers/CSharp/csc/csc.csproj
src/Compilers/CSharp/csc/csc.csproj
+1
-1
src/Compilers/Server/VBCSCompiler/VBCSCompiler.csproj
src/Compilers/Server/VBCSCompiler/VBCSCompiler.csproj
+1
-1
src/Compilers/Server/VBCSCompilerTests/DesktopBuildClientTests.cs
...ilers/Server/VBCSCompilerTests/DesktopBuildClientTests.cs
+2
-2
src/Compilers/Shared/BuildServerConnection.cs
src/Compilers/Shared/BuildServerConnection.cs
+3
-4
src/Compilers/VisualBasic/vbc/vbc.csproj
src/Compilers/VisualBasic/vbc/vbc.csproj
+1
-1
未找到文件。
CrossPlatform.sln
浏览文件 @
cd5b8ecd
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.2
7018.1
VisualStudioVersion = 15.0.2
6228.10
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeAnalysis", "src\Compilers\Core\Portable\CodeAnalysis.csproj", "{1EE8CAD3-55F9-4D91-96B2-084641DA9A6C}"
EndProject
...
...
@@ -124,6 +125,7 @@ Global
src\Compilers\VisualBasic\BasicAnalyzerDriver\BasicAnalyzerDriver.projitems*{2523d0e6-df32-4a3e-8ae0-a19bffae2ef6}*SharedItemsImports = 4
src\Dependencies\PooledObjects\Microsoft.CodeAnalysis.PooledObjects.projitems*{5f8d2414-064a-4b3a-9b42-8e2a04246be5}*SharedItemsImports = 4
src\Compilers\Core\CommandLine\CommandLine.projitems*{7ad4fe65-9a30-41a6-8004-aa8f89bcb7f3}*SharedItemsImports = 4
src\Compilers\Core\CommandLine\CommandLine.projitems*{8ce3a581-2969-4864-a803-013e9d977c3a}*SharedItemsImports = 4
src\Compilers\Core\CommandLine\CommandLine.projitems*{ad6f474e-e6d4-4217-91f3-b7af1be31ccc}*SharedItemsImports = 13
src\Dependencies\CodeAnalysis.Debugging\Microsoft.CodeAnalysis.Debugging.projitems*{afde6bea-5038-4a4a-a88e-dbd2e4088eed}*SharedItemsImports = 4
src\Dependencies\PooledObjects\Microsoft.CodeAnalysis.PooledObjects.projitems*{afde6bea-5038-4a4a-a88e-dbd2e4088eed}*SharedItemsImports = 4
...
...
@@ -131,6 +133,7 @@ Global
src\Dependencies\PooledObjects\Microsoft.CodeAnalysis.PooledObjects.projitems*{c1930979-c824-496b-a630-70f5369a636f}*SharedItemsImports = 13
src\Compilers\Core\AnalyzerDriver\AnalyzerDriver.projitems*{d0bc9be7-24f6-40ca-8dc6-fcb93bd44b34}*SharedItemsImports = 13
src\Dependencies\CodeAnalysis.Debugging\Microsoft.CodeAnalysis.Debugging.projitems*{d73adf7d-2c1c-42ae-b2ab-edc9497e4b71}*SharedItemsImports = 13
src\Compilers\Core\CommandLine\CommandLine.projitems*{e3cd2895-76a8-4d11-a316-ea67cb5ea42c}*SharedItemsImports = 4
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -323,7 +326,10 @@ Global
{909B656F-6095-4AC2-A5AB-C3F032315C45} = {FD0FAF5F-1DED-485C-99FA-84B97F3A8EEC}
{21B239D0-D144-430F-A394-C066D58EE267} = {55A62CFA-1155-46F1-ADF3-BEEE51B58AB5}
{57CA988D-F010-4BF2-9A2E-07D6DCD2FF2C} = {55A62CFA-1155-46F1-ADF3-BEEE51B58AB5}
{14118347-ED06-4608-9C45-18228273C712} = {FED79E76-76A7-48A1-B0F1-E5E56B5E7FE4}
{6E62A0FF-D0DC-4109-9131-AB8E60CDFF7B} = {FED79E76-76A7-48A1-B0F1-E5E56B5E7FE4}
{D0BC9BE7-24F6-40CA-8DC6-FCB93BD44B34} = {A41D1B99-F489-4C43-BBDF-96D61B19A6B9}
{E58EE9D7-1239-4961-A0C1-F9EC3952C4C1} = {C65C6143-BED3-46E6-869E-9F0BE6E84C37}
{AD6F474E-E6D4-4217-91F3-B7AF1BE31CCC} = {A41D1B99-F489-4C43-BBDF-96D61B19A6B9}
{CCBD3438-3E84-40A9-83AD-533F23BCFCA5} = {50509463-6012-4061-99BF-6C5C8262E643}
{2DAE4406-7A89-4B5F-95C3-BC5472CE47CE} = {A6F70573-57FE-49F9-A26C-75B8D202B795}
...
...
@@ -331,9 +337,6 @@ Global
{066F0DBD-C46C-4C20-AFEC-99829A172625} = {A6F70573-57FE-49F9-A26C-75B8D202B795}
{3E7DEA65-317B-4F43-A25D-62F18D96CFD7} = {A6F70573-57FE-49F9-A26C-75B8D202B795}
{2DAE4406-7A89-4B5F-95C3-BC5422CE47CE} = {A6F70573-57FE-49F9-A26C-75B8D202B795}
{14118347-ED06-4608-9C45-18228273C712} = {FED79E76-76A7-48A1-B0F1-E5E56B5E7FE4}
{6E62A0FF-D0DC-4109-9131-AB8E60CDFF7B} = {FED79E76-76A7-48A1-B0F1-E5E56B5E7FE4}
{E58EE9D7-1239-4961-A0C1-F9EC3952C4C1} = {C65C6143-BED3-46E6-869E-9F0BE6E84C37}
{D73ADF7D-2C1C-42AE-B2AB-EDC9497E4B71} = {A18BACE1-BB66-4156-8E89-81429A5814C6}
{C1930979-C824-496B-A630-70F5369A636F} = {A18BACE1-BB66-4156-8E89-81429A5814C6}
{7AD4FE65-9A30-41A6-8004-AA8F89BCB7F3} = {A41D1B99-F489-4C43-BBDF-96D61B19A6B9}
...
...
@@ -352,7 +355,4 @@ Global
{E512C6C1-F085-4AD7-B0D9-E8F1A0A2A510} = {6B83F334-CB79-47C8-8EA9-5391DA1601F4}
{28026D16-EB0C-40B0-BDA7-11CAA2B97CCC} = {32A48625-F0AD-419D-828B-A50BDABA38EA}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {593FEA1B-99C9-4898-88FE-644A045E8351}
EndGlobalSection
EndGlobal
src/Compilers/CSharp/csc/csc.csproj
浏览文件 @
cd5b8ecd
...
...
@@ -24,7 +24,7 @@
<ItemGroup>
<PackageReference
Include=
"Microsoft.NETCore.App"
Version=
"$(MicrosoftNETCoreAppVersion)"
Condition=
"'$(TargetFramework)' == 'netcoreapp2.0'"
/>
<PackageReference
Include=
"Microsoft.DiaSymReader.Native"
Version=
"$(MicrosoftDiaSymReaderNativeVersion)"
/>
<PackageReference
Include=
"System.
Security.AccessControl"
Version=
"$(SystemSecurityAccessControlVersion)
"
/>
<PackageReference
Include=
"System.
IO.Pipes.AccessControl"
Version=
"$(SystemIOPipesAccessControlVersion)"
Condition=
"'$(TargetFramework)' == 'netcoreapp2.0'
"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"..\..\Shared\BuildClient.cs"
>
...
...
src/Compilers/Server/VBCSCompiler/VBCSCompiler.csproj
浏览文件 @
cd5b8ecd
...
...
@@ -25,7 +25,7 @@
<ItemGroup>
<Reference
Include=
"System.Configuration"
Condition=
"'$(TargetFramework)' != 'netcoreapp2.0'"
/>
<PackageReference
Include=
"Microsoft.NETCore.App"
Version=
"$(MicrosoftNETCoreAppVersion)"
Condition=
"'$(TargetFramework)' == 'netcoreapp2.0'"
/>
<PackageReference
Include=
"System.IO.Pipes.AccessControl"
Version=
"$(SystemIOPipesAccessControlVersion)"
/>
<PackageReference
Include=
"System.IO.Pipes.AccessControl"
Version=
"$(SystemIOPipesAccessControlVersion)"
Condition=
"'$(TargetFramework)' == 'netcoreapp2.0'"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"..\..\Shared\BuildClient.cs"
>
...
...
src/Compilers/Server/VBCSCompilerTests/DesktopBuildClientTests.cs
浏览文件 @
cd5b8ecd
...
...
@@ -60,9 +60,9 @@ protected override Task<BuildResponse> RunServerCompilation(List<string> argumen
public
bool
TryConnectToNamedPipeWithSpinWait
(
int
timeoutMs
,
CancellationToken
cancellationToken
)
{
using
(
var
connection
=
BuildServerConnection
.
TryConnectToServer
(
_pipeName
,
timeoutMs
,
cancellationToken
))
using
(
var
pipeStream
=
new
NamedPipeClientStream
(
"."
,
_pipeName
,
PipeDirection
.
InOut
,
PipeOptions
.
Asynchronous
))
{
return
connection
!=
null
;
return
BuildServerConnection
.
TryConnectToNamedPipeWithSpinWait
(
pipeStream
,
timeoutMs
,
cancellationToken
)
;
}
}
}
...
...
src/Compilers/Shared/BuildServerConnection.cs
浏览文件 @
cd5b8ecd
...
...
@@ -327,10 +327,9 @@ internal sealed class BuildServerConnection
}
}
private
static
bool
TryConnectToNamedPipeWithSpinWait
(
NamedPipeClientStream
pipeStream
,
int
timeoutMs
,
CancellationToken
cancellationToken
)
internal
static
bool
TryConnectToNamedPipeWithSpinWait
(
NamedPipeClientStream
pipeStream
,
int
timeoutMs
,
CancellationToken
cancellationToken
)
{
Debug
.
Assert
(
timeoutMs
==
Timeout
.
Infinite
||
timeoutMs
>
0
);
...
...
src/Compilers/VisualBasic/vbc/vbc.csproj
浏览文件 @
cd5b8ecd
...
...
@@ -23,7 +23,7 @@
<ItemGroup>
<PackageReference
Include=
"Microsoft.NETCore.App"
Version=
"$(MicrosoftNETCoreAppVersion)"
Condition=
"'$(TargetFramework)' == 'netcoreapp2.0'"
/>
<PackageReference
Include=
"Microsoft.DiaSymReader.Native"
Version=
"$(MicrosoftDiaSymReaderNativeVersion)"
/>
<PackageReference
Include=
"System.
Security.AccessControl"
Version=
"$(SystemSecurityAccessControlVersion)
"
/>
<PackageReference
Include=
"System.
IO.Pipes.AccessControl"
Version=
"$(SystemIOPipesAccessControlVersion)"
Condition=
"'$(TargetFramework)' == 'netcoreapp2.0'
"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"..\..\Shared\BuildClient.cs"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录