VS 2013 template with references not working properly

I'm trying to create a set of templates that contain references to dlls. When I create a project with references and then export it the references are saved into the template but the files aren't copied.
I have created a class that implements iWizard and copies the remaining file types (.dll, .xml etc.) in the correct folder when you create a new template. This is also working.
Now the problem was that I needed the project to know that it should use the dlls that are copied into the project folder. So I edited the .vbproj file and inserted the path manually, i.e. I found the reference tags and removed the path information so they
only referred to the file itself. Like this:
  <Reference Include="MyDll"><HintPath>MyDll.dll</HintPath></Reference>
This workaround is almost working. VS finds the dlls and lets me use them, but only if I go to project -> properties and then clock on the reference tab. The classes are not recognized until I do this. I get the usual  type or class not defined error
until I simply click on the reference tab in project properties.
It seems to me that I have missed a step when I was doing my workaround and Visual Studio completes it when I click on references. I just don't know what that is or what a good alternative to my solution would be.

Hi Mongan,
I have been researching this issue these days. You can check whether there are some differences in MyTemplate file and the project file before and after you click the references tab in project properties? Maybe you will get some information.
In addition, I doubt maybe you missed something in your iWizard extension. the following link introduced detailed ways and code to create project template using IWizard interface, you can reference it to check whether it can help you.
http://www.codeproject.com/Articles/391989/Working-with-Project-Template-and-Wizard-Extension
The following threads suggested adding the project reference in the ProjectFinishedGenerating() method to add a reference to project template:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/f57d8eed-ba7a-4e82-bed4-1dd4b8a3a288/custom-wizard-adding-references-dlls-to-a-project?forum=vsx
https://social.msdn.microsoft.com/Forums/vstudio/en-US/b4d4f816-70b6-4042-bb34-324a7da1a3e2/custom-wizard-is-it-possible-to-add-a-dll-reference-to-a-project-on-creation-from-a-custom-wizard?forum=vsx
If the suggestions above does not help you, I find that
Visual Studio Integrate forum:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsx is a better forum because you are using iWizard to create project template. You can open a new thread about
your current issue and post some code about iWizard  there, Visual Studio Extension experts will provide you better support.
Thank you for your understanding.
Have a nice day:)
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Document templates with reference not working anymore with CRM2007 on SP7

    Since we upgraded our CRM system(v 2007) to SP7 we are facing a serious problem with our document templates. The document templates do not contain any reference anymore (e.g. BP name and address details). This issue is a showstopper for the SP upgrade to go live in production.
    We have taken the following actions to get it work again but all without any success:
    - We have regenerated the webservice again (CRMOST_GENERATION);
    - Created the webservice again and generate it (CRMOST_GENERATION);
    - Run CRMOST_GENSTATUS_MONITOR for correponding webservice: status OK
        -> when debugging /CRMOST/Z_D007_READ I see in table LT_MESSAGES: "Invalid mainobject: GDCOIRoot
    Also, we investigated SAP note: 1329961 and notes related to CRM-BF-COM in SAPKU70007.
    It looks like a bug in the new programming. When using standard SAP mainobject GDCOI no reference is taking into account anymore.
    To visualize the issue for you, I will describe for you the steps how we can reproduce the issue:
    - Within Account ID we identify an account and confirm account;
    - Now when we create a service ticket we can enter some additional information in fields;
    - We save the ticket and select the "Create a new letter" icon and select a document template;
    - Now Word with XML is openened but WITHOUT taking any reference from confirmed account and service ticket.
    I can not imagine we are the only customer with CRM2007 on SP7 and is using document templates who is facing this issue.
    I really would appreciate it if anyone could help us in any way.
    Regards,
    Harrië

    I had the same problem and solved it by doing this 2 stepa:
    1. Run report CRMOST_CREATE_PACKAGE, because after upgrade, package $WS_BOL_GEN is missing.
    2. Run report CRMOST_GENERATION to generate webservice again.
    Regards.

  • Cross reference not working properly in epub exported from IDCC

    Hi,
    I'm not sure whether this is a known issue within ID so forgive me for bringing it up if it is. I couldn't find any satisfying answer on this forum, hence my question.
    It seems that cross references between the xhtml-docs created from split ID document during the epub export don't work properly. They link to the text anchors specified as relative links. My editor uses software compliant to many e-reader platforms that removes all the relative links between the xhtml files within any epub and replaces them by absolute hyperlinks (http://). The result is... broken links all over. Their specification asks for the the anchor entires in the content.opf file instead of the relative links. Is there a way to work it out in InDesign and have the content.opf file contain the navigation to the anchors in xhtml files within the epub?
    I'm working with IDCC 9.1 btw. Would appreciate any help...
    Kind regards, Kasia

    Hi,
       Not sure exactly where you gone wrong.
       If you want the running sum to start from beginning for each YEAR and each LINES. Use this
               =RunningSum([Sales revenue]; ([Year];[Lines]))   => Need Square brackets around Year and Lines. This forum site doesn't display square bracket correctly
       If you want the running sum to start from beginning only for each LINES (regardless of YEARS). Use this
                =RunningSum([Sales revenue]; ([Lines]))
       Not sure why you added ROW in your functions. Hope this help. Works for me, just tested using my efashion with the same structure are yours.
    Regards,
    Ken
    Edited by: Ken Low on May 9, 2011 8:15 AM
    Edited by: Ken Low on May 9, 2011 8:17 AM

  • Binding gateway service with List not working properly with expand

    Hi all,
    We have an orderlist with details, we use the splitapp for it, it's working nicely with a gatewayservice. We have now added with expand 2 orderpartners. I see the 2 partners, only is it completly the same data. I checked the oData structure and I see indeed that the 2 partners are the same. This is weird, because when I execute the service, via my browser, I see 2 different partners.
    If I execute the service directly via the read function, I see in the oData that I also have 2 different partners. So my conclusion is that the direct read of the service is working and executing the service via the sap.m.List is not working with the expand.
    Now my question is, does somebody know what's going wrong here, or is it a bug in the sap.m.List? Below you find code snippets how I call the service.
    This call is working:
    oModel.read("/OrderListSet", null, ["$orderby=BegTstmp asc&$filter=Userid eq 'user' and DateFrom eq datetime'2014-04-20T00:00:00' and DateTo eq datetime'2014-04-27T00:00:00'&$expand=OrderPartners"], null, function(oData, oResponse){  
      }, null );
    The binding via the sap.m.list is:
    var oList = new sap.m.List("orderList", {
      mode: "{device>/listMode}",
                items: {
            path: "/OrderListSet",
               parameters: {expand: "OrderPartners"},
            template : new sap.m.StandardListItem({
            title: {
                   parts: [
                           {path: "BegTstmp", type: new sap.ui.model.type.DateTime({pattern: "H:mm"})},
                           {path: "DataCol2"}
                   formatter : function(strDate, strDescription) { return strDate + " - " + strDescription; }
            description: {
            parts: [
                          "DataCol3",
                          "DataCol4",
                          "DataCol5",
                          "DataCol6"
            type: sap.m.ListType.Navigation,
            icon: "{icon}",
            customData: [
            new sap.ui.core.CustomData({
            key: "orderId",
            value: "{Orderid}"
            new sap.ui.core.CustomData({
            key: "type",
            value: "{Type}"
            // Sort the list on date and group the list on day
                   sorter: new sap.ui.model.Sorter("BegTstmp", false, oGrouper),
                   // Filter the list, this directly refrenced to the gatewayservice
            filters: [
                     util.Filter.getUserId(),
                     util.Filter.getCurrentWeekFromFilter(),
                     util.Filter.getCurrentWeekToFilter(),

    Fine. If you're trying to bind any attributes of OrderPartners, bind it as OrderPartners/attribute-name. Say if "BegTstmp" an attribute of OrderPartners bind it as OrderPartners/BegTstmp.
    Regards
    Sakthivel

  • Can anyone help with Terminal not working properly on 2013 (late) mac pro?

    New 2013 (late) mac pro. 10.9.2 osx
    Using Terminal utility and giving "cat" command, I get a return message of "file or directory not found" even though the files are right there. This is a little procedure I have performed with older mac pro and laptops (also Mavericks) and never had a problem.

    Thank you for posting Linc. I worked it out, it is a case of user error.

  • Publishing site with Workflow not working properly

    Hello All
    I have created a Publishing Site Collection on SharePoint 2013 on-premises and when I create a new sub-site using the "Publishing site with Workflow" template, I get redirected to
    the site home page and I get the option to PUBLISH the page. But, when I try to publish the page, I get a server error. Now, instead of trying to publish the page, if I refresh the page I this time get an option to check-in the page, after checking the page
    in, i get the option to publish it, now I can publish the page without any error. This does not happen on my DEV server, but only on QA. I am using the "Publishing site with Workflow" template,
    which associates an OOB Page Approval workflow with the Pages Library.
    Please help me guys!
    Parth

    Hi Parth,
    Based on your description, you encountered the issue with Publishing site with worklfow site template.
    Please provide more detail information about error returned, and see if there is related error message in ULS log.
    Could you please recreate a new site on DEV server to see if the issue still occurs?
    I wonder if there is difference on Workflow related settings between DEV server and QA server.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • VS 2013 - Add Service Reference - not working

    Hi,
    I have Service References correctly installed and running under IIS on a Win 8.1 machine.
    It is under Default Web Site
    On the tree it is named VCIWCFServicesSite
    Basic Settings:
    Site Name: Default Web Site
    Path: /
    Alias: VCIWCFServicesSite
    Application Pool: DefaultAppPool
    With VS 2013, I try to "add service reference"
    http://localhost GO
    I get:
    There was an error downloading 'http://localhost/_vti_bin/ListData.svc/$metadata'.
    The request failed with HTTP status 404: Not Found.
    Metadata contains a reference that cannot be resolved: 'http://localhost/'.
    The remote server returned an unexpected response: (405) Method Not Allowed.
    The remote server returned an error: (405) Method Not Allowed.
    If the service is defined in the current solution, try building the solution and adding the service reference again.
    No surprise: there is no c:\inetpub\wwwroot\_vti_bin directory.
    Ok, Now what?
    Boyd
    BDM  - it ( the service ) was published by vs2010

    Hi Boyd,
    Thank you for posting in the MSDN forum.
    Since this issue is related to the service references in web site, to help you resolve this issue as soon as possible,
    you could ask this question in the ASP.NET forum: http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
    I think this forum would be better like this
    case:
    http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Exchange 2010/2013 coexistence: OWA proxy not working properly ":-( Something went wrong"

    Hi
    Exchange 2010 users are NOT able to connect to their mailboxes when they go through exchange 2013 OWA address.  We get a message that says following ---> "Something went wrong"
    Following is our URL.  The address is pointing to 2013 CAS loadbalancer VIP.  Outlook anywhere is working fine.  What is going on?
    Important: All my exchange 2010 / 2013 URIs are the same as suggested by Microsoft (Owa, ecp, activesync, ews, autodiscover): --> mail.domain.com/XXX

    Hello Rawa,
    Can you log on Exchange 2010 OWA using its localhost address?
    Please make sure the intenralurl value is set to Exchange 2010’s local host name and set the Externalurl to Null.
    http://technet.microsoft.com/en-us/library/bb310763(v=exchg.141).aspx
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Headphone with mic not working properly on Bootcamp Windows 7

    Hey, guys. I have a Macbook Air mid-2012, installed Windows 7 (Bootcamp) and I wish a I could use my Sony Stereo Headset DR-EX12iP with mic for chatting while playing some games. But the microphone isn't working in Windows 7 and I don't know why. I already searched over the internet about an answer but found none. The build-in microphone of MBA is too much sensitive and bother my friends. Just for information, I use the same headset in Mac OS X and it works perfectly with facetime and skype.
    I hope somebody can help me out. Thanks!

    I found this after doing this post: https://discussions.apple.com/thread/3369017?start=0&tstart=0
    Apparently there is no good answer for the problem...

  • Website built with iWeb not working properly on PC

    How can I ensure that everything that I build in Iweb will open correctly if someone goes to my website on a PC? In particular, people have had problems listening to music that I have put on my site. I tried embedding a music player, and I have also tried using hyper links to my songs - but this continues to pose problems fir PC users.

    Have you read this page from Roddy's iWeb for Musicians site: How to get your iWeb Site to load in Internet Explorer?
    He also has several pages dedicated to flash audio players.
    OT

  • After Security updation of Windows 7 in Boot Camp (Mac Book Pro with Retina Display) on 13-Nov-2013, Windows 7 Desktop Gadgets are not working properly.

    After Security updation of Windows 7 in Boot Camp (Mac Book Pro with Retina Display) on 13-Nov-2013, Windows 7 Desktop Gadgets are not working properly.
    This is boot camp problem, because in other normal notebooks (e.g. SONY VAIO, Lenovo with Windows 7) the gadgets are working normally.
    I am attaching the screen shot of Desktop Gadgets and Security updates of Windows 7.
    Kindly solve this issue ASAP.
    Shailendra Gupta
    <edited by host>

    You are not addressing Apple, but a community of unpaid volunteers. So ASAP won't cut it. Also, you should refrain from posting personal information (like your email address) in the body of your comments, as this is part of the community usage guidelines.
    Have you reinstalled the latest Boot Camp Windows 7 drivers, just in case Microsoft overwrote some of them during the Windows 7 security update?
    If you want to communicate issues with Apple about Boot Camp and OS X, click on the link. Just don't hold your breath on receiving a response.

  • RFC adapter in XI 3.0 not working properly with BAPI in R/3 4.6C

    Here is the scenario.
    An XML file is received from our customer. This file contains purchase order information that is used to create a sales order in our SAP 4.6C system. Once the sales order is created an acknowledgement is generated and this is returned back to our customer in an XML format.  This scenario is working perfectly fine in our XI 2.0 system but is not working properly in our XI 3.0 test environment. Our custom function module in R/3 is a wrapper function that uses a standard SAP BAPI to create the sales order. Part of the function module does use the statement
    call function 'BAPI_TRANSACTION_COMMIT'
    The last thing the BAPI does is call another function module that using an RFC destination that will return and order acknowledgement.
    Here is what happens within XI and our SAP system.
    The XML file is received and mapped to our imported RFC. The RFC adapter is called and the information is passed onto SAP where our customer function module executed. The sales order is created within SAP without any problems and the second function module is called which references an RFC destination assigned to our XI 3.0 system. The information is sent back to XI and an appropriate file is created for our customer.  All seems to be working properly except that when the original RFC is sent from XI to SAP,  SAP creates a short dump stating
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:" Then it is put back into the que where 5 minutes later it executes again and trys to recreate the sales order in SAP. (again, this same function module executing from XI 2.0 works fine)
    I believe I have everything configured properly because the SAP side is being executed and I am successfully passing information back from SAP to XI. However the original function module in SAP is failing with the above error message. It appears that the original function module cannot communicate back with XI. I have had SAP looking at this issue and they have not been successful yet in solving this problem.
    Any ideas.
    Thanks,
    Jim d'Hulst

    Hi,
    I think the problem is with the send back of acknowledgement to XI. Does the DeliveryException state something about the sender agreement? I guess you are using a statement like below:
    CALL FUNCTION 'ZABCD'
    destination <tcp/ip destination>
    exporting
    input = ack.
    In that case, check whether the TCP/IP destination is working fine. Also, to be able to exchange message, the structure of the Function Module ZABCD needs to be identified as the sender in XI Configuration (Integration Directory).
    Also, check your config with the blog mentioned below:
    <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit">/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit</a>
    Regards,
    Amitabha

  • Java Script Code not working properly for visios in sharepoint 2013

    Hi all ,
                 I have few visios and I am using the visio web part to display and to redirect from one visio to other visio I am using the java script code through content editor web part . 
    In share point 2010 it's working fine , I was able to redirect to all the visios and code is working fine .
    In share point 2013 its not the same , Its not working properly . only for the first time the code is working fine . once it goes to next visio the code stops working . 
    For example if i click in visio A it gets redirect to Visio B and its stops working , it wont allow to do any other steps . 
    I have checked with the URL its correct , I am not able to find any error also .
    Indresh

    This will be likely caused by the Minimal Download Strategy not registering the Javascript on the page reload. You can turn off the MDS feature to test this.
    You can either turn off MDS in your site, or register your Javascript functions with MDS to ensure they are called. To do this, you'll need all of your code to be wrapped in a javascript file (Embed this on the page using a <script> tag and
    inside that file in a function, which you then register with MDS as follows (I usually do this in the first line of the javascript file):-
    RegisterModuleInit("/SiteAssets/YourJavaScriptFile.js", NameOfYourFunction);
    Regards
    Paul.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • TS1702 When I update to IOS6 on my 4S Facebook does not work properly, the news feed never updates it only says no new storeys and shows a picture of an antenna. When I reset my phone and go back to IOS5 Facebook works fine. What's up with IOS6 ????

    When I update my iPhone 4S to iOS six Facebook does not work properly the newsfeed doesn't load properly and I can never see what's going on all I see is a picture of an antenna and a little thing underneath it says no new stories when I reset my phone back to iOS 5 then it works just fine and I don't have any issues so there must be something wrong with iOS six that isn't letting Facebook load properly

    No I did not use any unauthorized methods for anything, I simply reset my phone back to factory.
    <Edited By Host>

  • My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to lissen I had to put on loud speaker or to use handsfree please help me out with this problem if some body have answer?

    My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to listen I had to put on loud speaker or to use hands free please help me out with this problem if some body have answer?

    Hi Venkata from NZ,
    If you are having an issue with the speaker on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

Maybe you are looking for

  • Connecting Macbook to Samsung TV

    I purchased a mini dvi to video adapter, a yellow video cable and headphone to red/white audio cable. However when attempting to connect to my Samsung tv all I get is 'no signal'. I am unable to change the tv source to PC as this remains greyed out o

  • OBIEE 10.1.3.4.1 installations on AIX 6.1

    Hi Experts, Need your help, urgent need!!! I'm plannig to install OBIEE 10.1.3.4.1,BI Apps 7.9.6 ,Informatica,DAC, on AIX 6.1. Can you please help me installing OBIEE on AIX, If you have any screen shots that will be more helpful. Please help me in r

  • After effects CC says quicktime not installed

    Hi after effects CC 2014 says quicktime not installed what can I do? This error comes on startup. RUNNING: Mac Pro (Early 2009) OSX 10.9.4 AE CC 2014 12GB Ram no external hardware

  • CC App shows Acrobat but actual install has nothing

    In the upper right-hand of my Mac, the CC app that runs there in the "toolbar?" displays the Adobe Acrobat icon, fully updated. But Acrobat does not work on my computer. So I went to look at the actual installation and there is no Acrobat installed t

  • FBL1N issue......

    Hi,      I am having issue with downloading of data from FBL1N and also from some other reports where i am saving data in Excel to desktop and then it is appearing as blank when i am opening that excel. But same file if i open from other computer, th