GithubHelp home page GithubHelp logo

Comments (6)

KevinRansom avatar KevinRansom commented on July 21, 2024

Hey Omer,

Per … https://github.com/dotnet/roslyn/wiki/Building-Testing-and-Debugging you should build, test and debug against the branch releases/Dev14Preview.

There is work currently underway will make master branch suitable for testing and debugging, however, currently our internal processes are so different from our open source ones that the OSS master branch will not work with the released toolsets. Our goal is to have our Dev team using the exact same processes and tools as the OSS community, but, we are not quite there yet.

I hope this helps,

Kevin
From: OmerRaviv [mailto:[email protected]]
Sent: Saturday, January 17, 2015 7:20 AM
To: dotnet/roslyn
Cc: Kevin Ransom
Subject: [roslyn] Build and Unit test failures in 'master' branch (#22)

To carry on the CodePlex discussionhttp://roslyn.codeplex.com/discussions/571919 with @MattGertzhttps://github.com/MattGertz and @KevinRansomhttps://github.com/KevinRansom, I'm still seeing many unit test failures on the GitHub master branch. I assume you are still working on this as part of the move to GitHub but I thought it might be helpful to report the issues I'm seeing right now.

I created a clean VS2015 CTP5 machine on Azure today, installed the CTP SDK, cloned Roslyn (at the time master's HEAD was 7fed8e87fed8e8) and ran msbuild /m BuildAndTest.proj /p:DeployExtension=false.

Here are the problems I saw:

Build Failure

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5): error : CreatePkgDef : error : FileLoadException: Could not load file or assembly 'OpenSourceDebug, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) [c:\dev\roslyn\Src\Tools\Source\OpenSourceDebug\OpenSourceDebug.csproj]

I ran sn -Vr *,31bf3856ad364e35 to work around this.

Crashes during test run

When the tests run, for every test tries to launch the command line compiler (and there are many), a crash dialog pops up saying that "VBCSCompiler has stopped working" or "csc.exe has stopped working". I also got an error saying:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'csc,Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) ---

Again, this seems to be related to strong name validations, and this time the fact I SN -Vr'ed that same public key didn't help. To get past the crash dialogs, I manually deleted Roslyn.Compilers.CompilerServer.UnitTests.dll Roslyn.Compilers.CSharp.CommandLine.UnitTests.dll and Roslyn.Compilers.VisualBasic.CommandLine.UnitTests.dll, and then ran:
msbuild /target:test /m BuildAndTest.proj /p:DeployExtension=false

Remaining unit test failures

Finally, the resulting UnitTestResults.html filehttps://drive.google.com/file/d/0B_DL7JsBKCwiVkpjVFlTQ180ZDg/view?usp=sharing reported 2 unit test failures, while the command-line window consistently reported 39.


Reply to this email directly or view it on GitHubhttps://github.com//issues/22.

from roslyn.

OmerRaviv avatar OmerRaviv commented on July 21, 2024

Thank you for the clarification! I actually just finished porting my two pull requests from CodePlex to GitHub as per @Pilchie's request on Twitter, made sure they do not cause any failures on top of what was already failing, and was about to send them in. I assumed it would be more convenient to the team if I send them on master. I hope that's okay?

from roslyn.

KevinRansom avatar KevinRansom commented on July 21, 2024

I expect it will be fine.

And thanks for your contributions.

Kevin

from roslyn.

jaredpar avatar jaredpar commented on July 21, 2024

This is a problem I'm actively working on at the moment. I'm hoping to get the signing issue fixed over the weekend.

Once that's done I'm going to be hooking up a CI system to the repo to prevent this and other breaks in the future.

from roslyn.

codespare avatar codespare commented on July 21, 2024

You could maybe introduce a Dev branch for bleeding edge that can break build and track it with Master but only when it builds?
git pull can make you feel like a lemming otherwise: you realize you're falling before you notice there was a cliff.

from roslyn.

jaredpar avatar jaredpar commented on July 21, 2024

These should be fixed now.

from roslyn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.