Skip to content

Fix building on 15.3 - #19331

Merged
jmarolf merged 3 commits into
dotnet:masterfrom
jmarolf:fix-15.3-build
May 8, 2017
Merged

jmarolf merged 3 commits into
dotnet:masterfrom
jmarolf:fix-15.3-build

Conversation

@jmarolf

@jmarolf jmarolf commented May 7, 2017

Copy link
Copy Markdown
Contributor

dogfooding 15.3 I ran into a lot of instances of BC40057 being offered due to default namespace imports of assemblies that don't exist (introduced [here](this dotnet/sdk#1127)). These seem safe to ignore.

BasicCodeAnalysis.vbproj has a few new implicit conversion warning under 15.3 due to overload resolution on Interlocked.CompareExchange which I have fixed but I would like @dotnet/roslyn-compiler to review these changes.

BasicScriptingTest.vbproj also has implicit conversion errors that needed to be fixed up. I am not too concerned about these fixes in the test project but would like @dotnet/roslyn-interactive to take a look all the same.

<AssemblyName>Microsoft.CodeAnalysis.VisualBasic.CodeStyle</AssemblyName>
<TargetFramework>netstandard1.3</TargetFramework>
<PackageTargetFallback>portable-net45+win8;dotnet</PackageTargetFallback>
<NoWarn>$(NoWarn);40057</NoWarn>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmarolf Could you open an issue so that we turn it back on when the fix is in the product

@basoundr

basoundr commented May 8, 2017

Copy link
Copy Markdown
Contributor

LGTM as far as the nowarn change goes

@jmarolf

jmarolf commented May 8, 2017

Copy link
Copy Markdown
Contributor Author

merging as these contain no changes to code behavior

@jmarolf
jmarolf merged commit e25fd7c into dotnet:master May 8, 2017
@jaredpar

jaredpar commented May 9, 2017

Copy link
Copy Markdown
Member

Changes to the compiler code base require explicit compiler sign off. This change does not have this. Also where is the ask mode approval for this bug?

@jaredpar

jaredpar commented May 9, 2017

Copy link
Copy Markdown
Member

has a few new implicit conversion warning under 15.3 due to overload resolution on Interlocked.CompareExchange which I have fixed but I would like

This is due to a bug in the SDK. They are unconditionally disabling option strict in the VB targets file that is included with the current 15.3 builds. The proper fix is not to make a code change. It is to re-enable Option Strict in the props files to work around the issue.

Please open a bug to undo this change and put the proper fix into the code base.

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.

4 participants