Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / April 2006

Tip: Looking for answers? Try searching our database.

Question on Managed Package and CTC file...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fred Heida - 12 Apr 2006 23:15 GMT
Hi ,

I have created managed package, added a ctc file, set it's build action to
ctcFile
but how does this now get build and or merged into my package assembly..??

i can see that works when i create a new project using the wizird.. but how
can i verify or see
why my project does seem to build or include ctc file ... when or where does
the magic happen...:-)

Cheers,

Fred
Robert Simpson - 12 Apr 2006 23:51 GMT
In the project file, typically near the bottom, you'll see the magic.
Here's an example from my vcproj file:

 <ItemGroup>
   <CtcFile Include="CtcComponents\PkgCmd.ctc">
     <ResourceName>1000</ResourceName>
   </CtcFile>
   <None Include="CtcComponents\Guids.h" />
   <None Include="CtcComponents\PkgCmdID.h" />
 </ItemGroup>

 <Import Project="C:\Program Files\Visual Studio 2005
SDK\2006.03\VisualStudioIntegration\Tools\Build\Microsoft.VsSDK.targets" />

The <import/> information above is responsible for making the smoke and
mirrors work.

Robert

> Hi ,
>
[quoted text clipped - 10 lines]
>
> Fred
Fred Heida - 13 Apr 2006 00:45 GMT
Hi Robert,

thx! that did the trick!

Regards,

Fred

> In the project file, typically near the bottom, you'll see the magic.
> Here's an example from my vcproj file:
[quoted text clipped - 31 lines]
>>
>> Fred

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.