Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Cannot create references to test project!

$
0
0

Can someone explain to my what has to be done to incorpoatarte the refrences into my fiorst ProjectBank.cs that needs to serve the reference to the secodn project? I am following instrcution from MSDN  for the following tutorial: Walkthrough: Creating and Running Unit Tests for Managed Code.... The problem is that I cannot create the Unit Test for my project. The part I am having problems is all the way up to the second parts of instruction. It seems like my visual studio will not allow me to create the unit test for some unapparent reason(Create a unit test project). Step 5 will not create in the proejct but my diffciulty is understanding the whole idealism because I am trying to learn unit testing for the first time. Thank you, Markus33

Create a unit test project

To create a unit test project

<div class="subSection">

  1. On the File menu, choose Add, and then choose New Project ....

  2. In the New Project dialog box, expand Installed, expand Visual C#, and then choose Test.

  3. From the list of templates, select Unit Test Project.

  4. In the Name box, enter BankTest, and then choose OK.

    The BankTests project is added to the the Bank solution.

  5. In the BankTests project, add a reference to the Bank solution.

    In Solution Explorer, select References in the BankTests project and then choose Add Reference... from the context menu.

  6. In the Reference Manager dialog box, expand Solution and then check the Bank item.

Walkthrough: Creating and Running Unit Tests for Managed Code

https://msdn.microsoft.com/en-us/library/ms182532.aspx#bkmk_prepare_the_walkthrough

</div> </div>


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>