Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-04-2003, 01:02 AM
gribble gribble is online now
Registered User
 
Join Date: 06-04-2003
Posts: 21
Exclamation User Actions - Sample .NET Components

I am trying to use the prompt.bld sample project to setup User Actions for the c# and VB.NET sample components that come with the sample


The COM register step for the .action file works, and after reloading the tools I can add them to my build scripts etc.


but the COM register step for the dll's themself fail with:

--------------------Starting Build: 'Prompt.bld'--------------------
Building project step 'Reg .NET Component'...
Failed to locate registration entry point: The specified procedure could not be found.
Step 'Reg .NET Component' failed
Build ended.

--------------------Starting Build: 'Prompt.bld'--------------------
Building project step 'Reg VB.NET Component'...
Failed to locate registration entry point: The specified procedure could not be found.
Step 'Reg VB.NET Component' failed
Build ended.



It works fine for the provided VB6 action...


I also tried opening the projects (vbproj and csproj) and building them there (which registers them i think)

Checking in the registry in HKEY_CLASSES_ROOT and NetAction.Test, VBNETAction.Test and VB6Action.Test are all there and appear to be registered. But the .NET ones are probably only there because i built them myself which registered as well... since the visbuildpro register step failed.


The only weird thing is that the VB.NET and c# projects didnt have a .sln solution file, and wouldnt build wihtout one, so i let it create one. Cant see how that would affect anything anyway.

Also why in the c# example is it explicitly setting the GUID etc?

Last edited by gribble; 06-04-2003 at 01:24 AM.
Reply With Quote
  #2  
Old 06-04-2003, 06:03 PM
gribble gribble is online now
Registered User
 
Join Date: 06-04-2003
Posts: 21
Ignore my noobish post hehe

It has been pointed out by support that there is actually a "User Actions.bld" sample project, and to register .NET dlls you need to use regasm.exe and not thew stanard "Register COM" step in VBPro

Thanks to Kinook for the help
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:22 PM.


Copyright © 1999-2023 Kinook Software, Inc.