Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Portable server #25449

Merged
merged 2 commits into from
Mar 14, 2018
Merged

Conversation

agocke
Copy link
Member

@agocke agocke commented Mar 13, 2018

This code was built as a prototype for porting the compiler server to
other platforms. VBCSCompiler has now been ported to CoreCLR and multiple OSes
through multitargeting. The portable server cannot meet our security
requirements and will never ship, so it's continued existence in our
code is merely confusing to anyone who happens upon it.

@agocke agocke requested a review from a team as a code owner March 13, 2018 18:13
@agocke
Copy link
Member Author

agocke commented Mar 13, 2018

cc @jaredpar This doesn't touch any shipping code and is not expected to result in any product changes, so I don't believe it needs ask mode approval.

@agocke agocke requested a review from jaredpar March 13, 2018 18:13
This code was built as a prototype for porting the compiler server to
other platforms. It has now been ported to CoreCLR and multiple OSes
through multitargeting. The portable server cannot meet our security
requirements and will never ship, so it's continued existence in our
code is merely confusing to anyone who happens upon it.
@agocke agocke force-pushed the remove-portable-compilerserver branch from 51ca863 to d6704d5 Compare March 13, 2018 19:37
@agocke agocke requested a review from a team as a code owner March 13, 2018 23:13
@agocke agocke merged commit b2bd77b into dotnet:dev15.7.x Mar 14, 2018
@agocke agocke deleted the remove-portable-compilerserver branch March 14, 2018 17:52
@jcouv
Copy link
Member

jcouv commented Mar 15, 2018

@agocke I just refreshed the tuple-equality branch with latest dev15.7.x bits and I'm getting a build error that seems related to this change.

TouchedFileLoggingTests.cs(85,47): error CS0122: 'CSharpCompiler' is inaccessible due to its protection level [C:\repos\roslyn\src\Compilers\Server\VBCSCompilerTests\VBCSCompilerTests.csproj]
TouchedFileLoggingTests.cs(85,47): error CS0122: 'CSharpCompiler' is inaccessible due to its protection level [C:\repos\roslyn\src\Compilers\Server\VBCSCompilerTests\VBCSCompilerTests.csproj]

Any ideas?

@jcouv
Copy link
Member

jcouv commented Mar 15, 2018

Fixed it locally with following change. No idea why this would not be blocked in CI.

diff --git a/src/Compilers/CSharp/Portable/CSharpCodeAnalysis.csproj b/src/Compilers/CSharp/Portable/CSharpCodeAnalysis.csproj
index adfd6c5..e71c150 100644
--- a/src/Compilers/CSharp/Portable/CSharpCodeAnalysis.csproj
+++ b/src/Compilers/CSharp/Portable/CSharpCodeAnalysis.csproj
@@ -66,6 +66,7 @@
     <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CompilerServer" />
     <InternalsVisibleTo Include="VBCSCompiler" />
     <InternalsVisibleTo Include="VBCSCompilerPortable" />
+    <InternalsVisibleToTest Include="VBCSCompilerTests" />
     <InternalsVisibleToTest Include="Roslyn.Compilers.UnitTests" />
     <InternalsVisibleToTest Include="Roslyn.Compilers.CompilerServer.UnitTests" />
     <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.CommandLine.UnitTests" />

@jcouv
Copy link
Member

jcouv commented Mar 15, 2018

Never mind, I reverted the "fix" and things are building fine. I must have messed something up locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants