Thread: Custom Actions
View Single Post
  #3  
Old 08-28-2007, 04:40 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
I have converted my Custom action to VS2005 and I am getting warning about not being CLS-compliant.

Below is a code snippit:
<System.Runtime.InteropServices.ProgId("ACE.Visual Build.SelectVersion")> Public Class SelectVersion
Implements VisBuildSvr.ICustomAction

Public Function BuildStep(ByVal Builder As VisBuildSvr.Builder, ByVal [step] As VisBuildSvr.IStep) As VisBuildSvr.StepStatusEnum Implements VisBuildSvr.ICustomAction.BuildStep

In the function Decleration "BuildStep", "Builder", "[step]" are underlined in the VS2005 IDE with a warning about CLS-compliant. I know I can ignore the warning and everthing compiles but I was wondering why I am getting this? I found the following on MSD that describes the warning in more detail

http://msdn2.microsoft.com/en-us/lib...y6(vs.80).aspx

Any thoughts?
Reply With Quote