Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Instance not available
Message
De
29/09/2011 14:54:40
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01525048
Message ID:
01525194
Vues:
40
Bob,

Since I use nUnit for testing, I don't use the test bench. I did just do a search on Test Bench in the mm Dev guide and I didn't find any hits. Where do you see in the latest version it still references it? I just tried and found the same as you, and the link seems to indicate this also.


>Tim,
>
>This is the link that alerted me to the fact that this is not avalable:
>
>http://blogs.msdn.com/b/habibh/archive/2009/07/27/visual-studio-2010-rip-list-partial.aspx
>
>The information on this link says to use the Immediate Window to replace the Object Test Bench functionality that no longer exists but I haven't figured this out yet.
>
>The main reason I posted this in the MM forum is that the documentation for MM.NET 4.0 still instructs users to use the Object Test Bench. So, if MM.NET 4.0 requires VS 2010, why would the documentation still instruct you to use something that is not available?
>
>>Hi Tim,
>>
>>This is not the issue for me. I opened the Business project and it is set as the startup project. I searched for this issue and found that the create instance feature was a "RIP" item in VS 2010. Are you saying you can open a business project in VS 2010, put AAppTest.cs in a class diagram, right click it and you see 'Create Instance' as one of your options?
>>
>>Bob
>>
>>>>Hello all,
>>>>
>>>>I don't think this is an MM.NET issue but since the documentation mentions object test bench capabilities, I thought I would post it here. Basically, it appears that the 'Create Instance' option is not available when right clicking on a class in a class diagram in VS 2010. Is this the case? And if so, how can I test business object functions in a test bench environment?
>>>>
>>>>TIA
>>>>
>>>>Bob
>>>
>>>It is available, but you need to have the Business object project set as the startup project to do that. Once you have added another project and set it as the startup project you won't be able unless you set the business project back as the startup.
>>>
>>>The idea being that all that would be done before you add the application projects. I don't know if that is your issue, but I suspect so.
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform