Microsoft.VisualStudio.QualityTools.UnitTestFramework not found at runtime#68
Merged
danielli90 merged 1 commit intomicrosoft:masterfrom Nov 19, 2015
Merged
Microsoft.VisualStudio.QualityTools.UnitTestFramework not found at runtime#68danielli90 merged 1 commit intomicrosoft:masterfrom
danielli90 merged 1 commit intomicrosoft:masterfrom
Conversation
Contributor
|
The other way to deal with this type of problem is to switch to using a different "Assertions" package from NuGet rather than
I personally like the "fluent" style of writing assertion because it is so much easier to read and get right. With the old-school Assert.Blah(..) methods I often have to keep checking which way round the paramaters go, and it is different for AreEquals and IsInstanceOfType for example. :( |
Member
Author
….Net Framework (just part of VS IDE); by enabling "Copy Local" to true in the reference, the DLL will be included as part of final build, which avoids the exception of missing UnitTestFramework.dll when running on servers without VS IDE installed.
danielli90
added a commit
that referenced
this pull request
Nov 19, 2015
Microsoft.VisualStudio.QualityTools.UnitTestFramework not found at runtime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Microsoft.VisualStudio.QualityTools.UnitTestFramework is not part of .Net Framework (just part of VS IDE); by enabling "Copy Local" to true in the reference, the DLL will be included as part of final build, which avoids the exception of missing UnitTestFramework.dll when running on servers without VS IDE installed.
Running "sparkclr.samples.torun PiSample" in the cluster without VS IDE installed repro's this issue.