SimplyVBUnit icon indicating copy to clipboard operation
SimplyVBUnit copied to clipboard

Project template (.vbp and .frm) should have good references

Open gotoh opened this issue 5 years ago • 0 comments

I'm using ver. 5.0.4, no previous version used. On creating new SimpleVBUnit project via wizard, test runner form are not created correctly and I got error dialog about .tlb reference. It is because template .vbp and .frm has bad references of component and type library. Project template (.vbp and .frm) should have good references like this, I guess: (I'm happy with these templates copied into C:\Program Files (x86)\Microsoft Visual Studio\VB98\Template\Projects\)

diff --git a/Source/Projects/SimplyVBUnit Project.vbp b/Source/Projects/SimplyVBUnit Project.vbp                          
index 0275626..40ba2a0 100644                                                                                             
--- a/Source/Projects/SimplyVBUnit Project.vbp                                                                            
+++ b/Source/Projects/SimplyVBUnit Project.vbp                                                                            
@@ -1,7 +1,7 @@                                                                                                           
 Type=Exe                                                                                                                 
 Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\..\Windows\SysWOW64\stdole2.tlb#OLE Automatio
n                                                                                                                         
-Reference=*\G{923925AC-1013-4D27-9FB1-4FF0B3B47BA2}#4.0#0#..\..\..\..\..\..\..\Windows\SysWow64\SimplyVBUnitType.tlb#Simp
lyVBUnit Type Library 4.0                                                                                                 
-Object={7983BD3B-752A-43EA-9BFF-444BBA1FC293}#4.0#0; SimplyVBUnit.Component.ocx                                          
+Reference=*\G{3E4F7CEC-C640-49F1-80D9-8DD42421CB1B}#5.0#0#..\..\..\..\..\..\..\Windows\SysWOW64\SimplyVBUnitType.tlb#Simp
lyVBUnit 5.0 Type Library                                                                                                 
+Object={7983BD3B-752A-43EA-9BFF-444BBA1FC293}#5.0#0; SimplyVBUnit.Component.ocx                                          
 Form=frmTestRunner.frm                                                                                                   
 Startup="frmTestRunner"                                                                                                  
 Command32=""                                                                                                             
diff --git a/Source/Projects/frmTestRunner.frm b/Source/Projects/frmTestRunner.frm                                        
index 303644d..2fda3b7 100644                                                                                             
--- a/Source/Projects/frmTestRunner.frm                                                                                   
+++ b/Source/Projects/frmTestRunner.frm                                                                                   
@@ -1,5 +1,5 @@                                                                                                           
 VERSION 5.00                                                                                                             
-Object = "{7983BD3B-752A-43EA-9BFF-444BBA1FC293}#3.2#0"; "SimplyVBUnit.Component.ocx"                                    
+Object = "{7983BD3B-752A-43EA-9BFF-444BBA1FC293}#5.0#0"; "SimplyVBUnit.Component.ocx"                                    
 Begin VB.Form frmTestRunner                                                                                              
    ClientHeight    =   5535                                                                                              
    ClientLeft      =   120                                                                                               

gotoh avatar Feb 27 '20 01:02 gotoh