|
-
Nov 22nd, 2016, 11:27 AM
#1
Change "Embed Interop Types" for a reference from a compiler directive?
Hey all,
I'm building an application that uses the MS Excel 15.0 Object Libraries and I want to embed them for a release configuration, but not for debugging. If they are embedded, edit and continue breaks which makes it a PITA.
I'm just curious is someone know how to use a compiler directive to change the embedding of the reference.
Code:
#If CONFIG = "Debug"
'don't embed the reference
#Else
'embed the reference
#End If
Based on my limited knowledge of linkers and complires, it doesn't seem like that is possible, but maybe a different way using the VS configuration?
thanks for your time
kevin
Last edited by kebo; Nov 22nd, 2016 at 12:02 PM.
Process control doesn't give you good quality, it gives you consistent quality.
Good quality comes from consistently doing the right things.
Vague general questions have vague general answers. A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.
______________________________ Last edited by kebo : Now. Reason: superfluous typo's
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|