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

msbuild-roslyn-csc-15.3-r1 compilation failure #426

Open
fluffynuts opened this issue May 13, 2019 · 4 comments
Open

msbuild-roslyn-csc-15.3-r1 compilation failure #426

fluffynuts opened this issue May 13, 2019 · 4 comments

Comments

@fluffynuts
Copy link

I'm seeing this at the end of emerging dotnetcore-sdk-bin: msbuild-roslyn-csc fails to compile with the error:

/var/tmp/portage/dev-dotnet/msbuild-roslyn-csc-15.3-r1/work/roslyn-ec1cde8b77c7bca654888681037f55aa0e62dd19/src/Compilers/Core/MSBuildTask/mono-MSBuildTask.csproj (default targets) ->                                                                             
/usr/lib64/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->                                                              
                                                                                                                                  
        CopyRefAssembly.cs(53,21): error CS0165: Use of unassigned local variable 'source'

eix msbuild-roslyn-csc only reveals one available version:

* dev-dotnet/msbuild-roslyn-csc [1]
     Available versions:  (~)15.3-r1^m {(+)debug developer doc (+)net45}
     Homepage:            https://github.com/dotnet/roslyn
     Description:         C# compiler with rich code analysis APIs

so I can't compare with any prior build. Any suggestions?

@fluffynuts
Copy link
Author

BTW, I can still dotnet build on a dotnet core .sln, so I'm not sure what I should be missing?

@kalinjul
Copy link

Same error here...

@bradley-jarvis
Copy link

Same error, here is a patch just put it into /etc/portage/patches/dev-dotnet/msbuild-roslyn-csc directory and maybe remove the txt extension which I had to add to upload it.

99-CopyRefAssemblyFix.patch.txt

@fluffynuts
Copy link
Author

@bradley-jarvis see #378 for more discussion. Your patch has come in handy and I've included it in a "hackaround" script which has enabled me to install msbuild successfully.

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

No branches or pull requests

3 participants