CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2010
    Posts
    10

    [RESOLVED] Compiletime file extention

    Hi.
    Can anyone please tell me how to give my assembly a custom file extention eg "*.plugin". Im using sharp develop 4 and i dont mind haveing to create a new output type if thats what it takes.
    I know i can just rename the files from file.exe/file.dll to file.customext, but this can take some time. Thankyou

  2. #2
    Join Date
    Oct 2010
    Posts
    10

    Resolved Re: Compiletime file extention

    OK I found it.

    For those who want to know, Go to the build events in your project properties.
    in the Post-Build events type
    rename $(TargetFileName) $(TargetName).ext

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured