Wizard based Visual Studio project template selection

I wish to create a wizard based solution, which would allow a user to choose the type of project template he would wish to load.
In Visual Studio, for example, upon selecting a Win32 console project, the user has a chance to have MFC / ATL support, SDL support etc, or he may not.
On similar lines, I wish to provide a user the choice of selecting a 64 or 32 bit project template,with or without MFC support.
I can create a wizard for such an endeavour, and I can associate this wizard with the root project of a multi project solution, and can capture the input of the user. But how do I then select that particular project to be loaded for the user?
How does Visual Studio achieve this project selection, and what would I need to do to achieve the same?
Kindly advise. Thank you.

VC++ project system now supports the same .vstemplate based wizards, its just that they never bothered to convert the old ones, as they are rather large, and people that use them are familiar with them.
But if you poke around the ....\Common7\IDE\ProjectTemplates\VC directory, you'll see some examples of the newer style of templates in the Phone and Store directories, which contain the newer style templates.
If you want to build a project template that allows for selecting different (or multiple) project types, I'd recommend starting with a stock project template, and then create and add a custom IWizard assembly to it (much like that walkthrough I mentioned),
then add your additional "hidden" templates. To keep the hidden templates out of the New Project dialog. Then you can programmatically add them to your solution, per whatever
the user selects, in the UI you display in your
IWizard.RunStarted implementation.
I don't have an example of this finished, but I hope to have one done here shortly. It's basically a set of templates that will generate a Project or Item Template Project, and a VSIX wizard assembly project. Essentially, it's a template that will give you
the same results if you do that walkthrough on the VSX Arcana blog I mentioned earlier. I'm in the final stages of cleaning it up, and will hopefully have it posted up on codeplex and the VSX Arcana blog later this week.
Sincerely,
Ed Dore

Similar Messages

  • Customize Styles for Report Wizard in Visual Studio 2013

    I'd like to customize the styles defined for the Reporting Wizard in Visual Studio 2013.
    There was a writeup for doing so that pointed to editing the following:  C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Business Intelligence Wizards\Reports\Styles\en\StyleTemplates.xml
    However, there is no Business Intelligence Wizards folder under 12.0\Common7\IDE\PrivateAssemblies - yet when selected, the report wizard is picking up a list of styles from somewhere.
    Could someone point me to where the style definition is?
    Thanks in advance.
    Doug.

    Hi Doug,
    >>However, there is no Business Intelligence Wizards folder under 12.0\Common7\IDE\PrivateAssemblies - yet when selected, the report wizard is picking up a list of styles from somewhere.
    Just to make this issue clearly, whether this issue is related to the SSRS?
    Reference:
    http://forums.asp.net/t/2006554.aspx?How+to+make+Business+Intelligence+available+for+VS+2013+Express
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/7948fda2-c43b-48ad-8f4a-05fe0d528bf8/custom-styles-in-report-builder-20-table-or-matrix-wizard?forum=sqlreportingservices
    You said that it is related to the Business Intelligence, do you mean that you want to install the SSDT-BI?
    http://www.microsoft.com/en-hk/download/details.aspx?id=42313
    Like the second link in above references, if it is related to the SSRS, this forum would be better for you:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=sqlreportingservices
    If not, please feel free to let me know more information about this issue.
    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.

  • Getting error when updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1

    Hi,
    I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
    the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
    updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
    any help in this regard is highly appreciated
    Thanks,
    Santosh Sutar  

    Hi Satosh Sutar,
    Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
    From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
    And here is an article about updating apps for Office and menifest schema files in the project for your reference:
    How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
    Regards & Fei
    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.

  • Add WSDL to Visual Studio Project  - Please help !

    Hi,
    In this address there is explained how to add wsdl class to our project (sheet 7)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0123164-9b30-2b10-a086-b8a7f973b3e1
    However, after "Add New Item" = SAP Connector Proxy,  Visual Studio is not asked me a question to select the u201CWSDL file from SAP IFRu201D. It operates this phase automatically. How can I do this manually?
    Briefly, how can I add my wsdl to visual studio project?
    Thanks,
    Johnson.
    Edited by: asdasd asda on Oct 9, 2008 12:41 PM
    Edited by: asdasd asda on Oct 9, 2008 12:42 PM

    Hi,
    did you find a solution to this?
    thanks

  • Dynamic Image Displays Blank When Using In Visual Studio Project

    I am trying to simply display a dynamic image in a report. I am using Crystal Reports XI Release 2.
    I have two different environments: Local via Progress where reports are called using Crystal Viewer ActiveX, and over the web where reports are called from Open Laszlo and Visual Studio project.
    The image is set to a blank image as default, and Graphic Location Forumla loads the image from the database (site.logo_location + site.logo_filename) which results in an image http:
    www.vetinfo3.com\a.jpg.
    When I run the reports locally using the ActiveX control, it works just fine and displays the image.
    When I run over the web using OpenLaszlo, it displays a blank.
    Troubleshooting
    We are using Visual Studio 2005, which is bundled with an older version of Crystal that doesn't support dynamic images.
    To address this, I loaded Crystal XI Release 2, which updated the version in Visual Studio and enabled the Graphic Location formula field on the dev machine.
    I verified the Graphic Location field was set correctly.
    This caused a Version error, so we loaded cr_net_2005_mm_mlb_x86.zip on server and specified the Version in web.Config.
    No errors now, but when I build and publish the code, the image still displays as blank.
                From Fiddler
                   GET http://www.vetinfo3.com/mdsol1/CrystalImageHandler.aspx?dynamicimage=cr_tmp_image_c5d6a923-293b-4f1e-8739-4e698f83b087.png
                   Creates C:\Documents and Settings\Curtis\Local Settings\Temporary Internet Files\Content.IE5\PWRUX2XW\CrystalImageHandler[1].png
                   Blank Image
    According to issues within Visual Studio, they say the fix to this is to add the <httpHandler> in web.Config, but it is already there; added when we add the viewer to the project:
    In web.Config I have some questions about this line:
        <httpHandlers>
          <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
        </httpHandlers>
    There are more service packs for Crystal XI Release 2:
    crXIr2sp2_net_server_install.zip
    crXIr2sp3_net_server_install.zip
    crXIr2sp4_net_server_install.zip
    I have not loaded these yet, but the readme files do not indicate they fix any dynamic image issues.
    I am out of ideas on this; does anyone have any ideas?

    What about if you take OpenLaszlo out of the picture? E.g.; use one of our samples from here;
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    I'd recommend vbnet_web_simplepreviewreport
    Also, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80] article.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How can I double-click a file to open it in default app in my Visual Studio project without creating an installer?

    I have an app with code to open a file by double-clicking on it. The app in my Visual Studio project file should start automatically and then open the file automatically. I double-click on the file, then look for the app in my solution folder (I choose the
    .exe in the Debug folder). Am I choosing the correct .exe file?
    What I'm trying to do is test some code I wrote that will open the associated file type when I double click on it, as opposed to creating an installer, installing the app and then double-clicking on the file to see if it will open in the associated app automatically.

    Hi dudefromthebronx,
    Yes, I think you could doubt click the .exe file in your local machine.
    Of course, maybe you could get it in Bin\Debug or Bin\Release folder, it is related to the current project settings.
    But we would know some differences between them:
    http://stackoverflow.com/questions/11600162/difference-between-bin-debug-and-bin-release
    https://social.msdn.microsoft.com/Forums/en-US/0cde96e6-8dd8-4aa9-adcf-d7f45da13b66/debug-bin-release-folders?forum=vbide
    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.

  • How to modify a Visual Studio project for having traces at the beginning and the ending of a function

    Good afternoon,
    I am working on a Visual Studio project (written in C) and in order to do some debugging, I would like to add traces.
    This can be done in different ways:
    int function_1();
    { #ifdef DEBUG
    printf("function_1\n");
    #endif... }
    =>But as this implies that I need to copy the name of the functions everywhere, this is a lot of work.
    A better approach:
    int function_1();
    { #ifdef DEBUG
        printf("%s \n", __FUNCTION__);
      #endif... }
    => This is already better, but I still need to add those lines of code everywhere at the beginning (and the end) of my functions.
    So I'm wondering, would it be possible to modify my Visual Studio project in such a way that some lines of code are added at the beginning and the ending of a function, and this for a whole file, project, solution? Does somebody know how to do this?
    Thanks
    Dominique

    Probably you are looking for
    /Gh (Enable _penter Hook Function)
    https://msdn.microsoft.com/en-us/library/c63a9b7h.aspx
    Besides there exists also
    /GH (Enable _pexit Hook Function)
    https://msdn.microsoft.com/en-us/library/xc11y76y.aspx
    With kind regards

  • RouteConfig.cs for older (2008), now converted (2013) Visual Studio Project?

    I have a Visual Studio 2008 ASP.NET Web Application.  I'm using Visual Studio 2013 now, so this older project was converted.  Great!
    But, to get around some Crystal Reports issues, they have suggested doctoring RouteTables.Routes.  They are thinking specifically of making adjustments to it inside of RegisterRoutes (RouteConfig.cs).  But let's take a step back:
    When someone creates a brand new project in VS2013, you see this in Global.asax:
    RouteConfig.RegisterRoutes(RouteTable.Routes);
    Then when you look at "RegisterRoutes" (RouteConfig.cs), you see:
    public static void RegisterRoutes(RouteCollection routes)
    var settings = new FriendlyUrlSettings();
    settings.AutoRedirectMode = RedirectMode.Permanent;
    routes.EnableFriendlyUrls(settings);
    OK.  So who is using RouteTable.Routes?  I bet in a brand new VS2013 project, one that creates this RouteConfig.cs template, some underlying code is examining RouteTable.Routes and doing something with it.  But I'm not so sure about an existing
    project, that was converted.  That's the situation I'm in.
    Now, because I had this older project, I didn't have a RouteConfig.cs.  But that's OK, it looks like I can do this in Global.asax.  So I can do something like this:
    public class Global : System.Web.HttpApplication
    protected void Application_Start(object sender, EventArgs e)
    RouteCollection routes = RouteTable.Routes;
    var settings = new FriendlyUrlSettings();
    settings.AutoRedirectMode = RedirectMode.Off;
    routes.EnableFriendlyUrls(settings);
    routes.IgnoreRoute("{resource}.aspx/{*pathInfo}");
    Applying both of the suggested fixes (I tried just one - the change to RedirectMode.Off, then the other - adding routes.IgnoreRoutes, then trying both - and neither three worked, or fixed the issue).  This is why I'm questioning if I can do what I'm
    trying to do with a converted project.  Again, wouldn't the underlying architecture have to know to do something with RouteTable.Routes?  For this to work?  Would I get that functionality on a converted project vs. a new project?
    Thanks!

    Hello,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Best regards,
    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.

  • Implementing admob banners in unity 3d visual studio project

    Hi everyone, first i admit that i don't really Know how
     to use visual studio express.
    I have a compiled project from unity 3d and i would implement admob banners only in selected levels.
    I tryed to follow the tutorial on the admob page and to insert them in the main page.xmal but it doesn't work.
    Where and How can i insert banners in the game? In the project i have a folder full of levels but i can't open them to edit and insert banners.

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because you want to know how to implement admob banners in unity 3d project in Visual Studio, I suggest you should reopen a thread on Unity Community:
    http://unity3d.com/community like this thread:
    http://forum.unity3d.com/threads/58620-Unity-Android-amp-Banner-Ads-(AdMob)
    Thank you for your understanding.
    Best regards,
    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.

  • Visual Studio Projects Not Showing FileVesion Leading Zeroes in File Properties

    I created a simple Visual Studio 2013 windows form application setting the AssemblyInfo.cs file as show below.
    // You can specify all the values or you can default the Build and Revision Numbers
    // by using the '*' as shown below:
    // [assembly: AssemblyVersion("1.0.*")]
    [assembly: AssemblyVersion("1.0.0.0227")]
    [assembly: AssemblyFileVersion("1.0.0.0227")]
    [assembly: AssemblyInformationalVersion("0.0.0.0227")]
    I built the application and went to the Windows File Explorer and brought up the file properties. What I see is that the product version showing the leading zeros, but the file version field does not show the leading zeros.
    It appears to be a bug either with Visual Studio or with Windows. Which one is it and is there a fix?

    Hi Sarah,
    We can't see the screenshot. Do you mean you use Windows Explorer to browse to the AssemblyInfo.cs file and check the property?
    If you change the product version or the file version from the AssemblyInfo.cs file, you need to firstly rebuild the assembly, then if you go to the debug/release folder, check the property of the assembly file, the Details tab will show you the corresponding
    changes of these properties. It's the assembly property but not the cs file property.
    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.

  • Working on new first time Visual Studio project...need advice

    Hello,
    I have been asked to develop a new desktop application that will be used on 2 or 3 computers.  The client wants to attach all computers to a MySQL database on a separate server.  so we have 3 computers linking to the same MySQL database on a server. 
    I am contemplating building something similar to QuickBooks 2013 that functions in a similar manner and has a ribbon at the top. I've been evaluating desktop development applications for some time and have decided to go with Visual Studio Express 2013. 
    My questions is that I am wondering if this is possible to do and/or if someone has a suggestion that would be a better fit for such a scenario.
    Being new to VSE2013 is going to be interesting, but it won't be the first time I have had to learn a new environment.
    suggestions welcome and MUCH appreciated.

    Hello,
    This forum is used to discuess
    digeneral issues about developing applications for Windows. Please ask a specific issue regard this topic as when you are developing an application, it throws an error, for topic regarding a whole abstract application, this is beyond the scope of out
    support.
    Regards.
    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.

  • What is the "Imported Namespaces" window in Visual Studio Project Properties (VB)

    What is the "Imporeted namespaces" window (see below) in Project properties (VB)

    Hi trogan,
    This is the official document Description from
    How to: Add or Remove Imported Namespaces (Visual Basic):
    Imported namespaces are managed on the References page of the Project Designer. The imports you specify in this dialog box are passed directly to the compiler (/imports) and apply to all files in your project.
    But I think we could understand it better with this document:
    References and Namespaces in VB.NET
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and has not tested any software or information found on these sites;
    Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
    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.

  • Can I upgrade a SP2007 Visual Studio Project directly to SP2013?

    
    Hi,
    Help, please...
    I have been using this web service:
    Custom SharePoint User Web Service V1.0 (useful to switch views depending on the current user's SharePoint groups in InfoPath)
    Here it’s the source code:
    https://ilovesharepoint.codeplex.com/downloads/get/38861
    How can I port it to SP2013?
    If it's ported to SP2010, can I use it in SP2013?
    Thanks in advanced.

    Hi,
    Pls check if it can help you
    http://technet.microsoft.com/en-us/library/jj839719(v=office.15).aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How To: Use Visual Studio, IIS Express, and Adobe Edge Inspect to view local projects

    You CAN view a Visual Studio project with Adobe Inspect. The work around takes a little bit of time.
    This involves using IIS Express to run your Visual Studio project, which is mainly a setting in Visual Studio, a Firewall change, a few command line and IIS Express config change.  It isn't actually all that bad, but will make your life A LOT easier.
    Here are the steps. (Note these are steps I used for Visual Studio 2012 and your project is part of a solution project.  Windows 7 or Windows 8)
    1. If IIS in not turned on, turn it on.How to: Enable Internet Information Services (IIS) - this should install IIS Express as well.
    2. In Visual Studio, find the port that Visual Studio will be using for your project by Running your web project (Debug), and note/write down/save the port number that shows up in the browser when the project launches. (ex.  http://localhost:12345)
    3. Add a NetShare Reservation (process for this will be different for Windows XP)
    Go to your Command Line (CMD) in Windows and in c:\Windows\system32> type in
    netsh http add urlacl url=http://yourIPaddress:yourPortNumber user=everyone
    (ex. netsh add urlacl url=http://12.34.56.78:12345 user=everyone)
    Hit Enter key. You should be a successful add reservation message
    3. Go to your Windows Explorer (File system) and go to c:/Users/YourName/MyDocuments (or Documents)/IISExpress/config/ and open 'applicationhost.config'
    In the 'applicationhost.config' file find your site in the <sites> section.
    Example:
    <sites>
    <site name="WebSite1" id="1" serverAutoStart="true">
                    <application path="/">
                        <virtualDirectory path="/" physicalPath="C:\MyProjects\TestSite" />
                    </application>
                    <bindings>
                        <binding protocol="http" bindingInformation=":12345:localhost" />
                    </bindings>
                </site>
    </sites>
    In this section ADD 2 new lines to the <bindings> section. Note add your own IP address and your own Computer Name
    <binding protocol="http" bindingInformation="*:12345:12.34.56.78" />
    <binding protocol="http" bindingInformation=":12345:MyComputerName" />
    Save the config file.
    4. Open up your Windows Firewall and go to 'Advanced Settings'. Here you want to create an Inbound Rule.
    Right click on Inbound Rule and select New Rule
    - Rule Type select 'Custom'
    - Program leave this
    - Protocol and Ports > Protocol Type select 'TCP' then Local Port select 'Specific Port' and fill in the port number you got from VS.  Leave Remote Port alone.
    - Scope
    There are a few ways of doing this. Typically you would go the the Remote IP address and select 'These IP addresses: and select ADD > select 'Predefined set of computers' and choose Local Subnet.  IF this does not work leave Remote IP addresses > Any IP address option selected instead.
    - Action leave this
    - Profile select Domain and Private
    - Name put IISExpressWeb for the name
    Select 'Finish'
    5. Go to Visual Studio. (Note if you have multiple projects in your solution, choose your start up project. Right click on your project in Solution Explorer in VS and select 'Set as Start Up Project' )
    Right click on your start up project again and you should see an option to 'Use IISExpress'
    In the DEBUG dropdown (from the main menu bar at the top) select 'YourProjectName Properties'. Mine was the last one in the list with a wrench icon next to it.
    This should open an new tab in your project, You should see a left hand list of option and a right hand column of options.
    In the left column select 'Web' and in this tab select Use Local IIS Web server and select 'Use IIS Express' and type in your IP Address and port number (same as before) in the Project Url text box.
    Save.
    NOW, you should be able to run your project in Visual Studio and use Adobe Edge Inspect on your device and view new results in Chrome. You can develop from there.
    If you still can not see it working, please be sure your device is on the same SubNet or Wireless network as your computer.  If you are in a large network but the domains can still see each other, the Firewall Setting detailed above to allow Any IP Address in your Scope section.

    Hi CMosqueda,
    Thank you for taking time to share this information with other users.
    Thanks,
    Preran

  • How can I convert a project from LabWindows/CVI 2010 to a Visual Studio 2011 project?

    I have a good sized project, 12 source files, 14 headers, 1 uir, that I want to be able to edit and compile in MS Visual Studio 2011, MSVC++.
    I remember being told that LabWindows dropped support for C++ in 2008 and no longer had a wizard for converting projects. I know I can go the DLL route, but I have never created a DLL before and wouldn't know where to begin with it. What would be the best way to go about this conversion?
    Solved!
    Go to Solution.

    CVI 2010 still supports the Visual Studio Conversion Wizard for Visual Studio 2005/2008. We do plan to add support for VS 2010 in a future release.
    If you need a VS 2010 project now, you can use the Visual Studio 2008 conversion wizard, then upgrade the VS 2008 project to VS 2010.
    National Instruments
    Product Support Engineer

Maybe you are looking for

  • B1 Validation Conf. to change rows of a SO

        Hello - I would like to be able to change all rows in a sales order.  We have a custom field added to the sales order as a column.  It's a combo box called shipping instructions with three values.  If we have an order with twenty lines and wish t

  • FB05 (post and clearing) u0093The difference is too large for clearingu0094

    I am passing entry through FB05 (Post and clear). The entry is between two GL accounts maintained as open items. At the time of passing the entry there is difference between these two accounts. I want this difference to be posted automatically to pro

  • Regarding Provide endprovide

    Hi, I am using PNP ldb as we know that we will get a standard selection screen by using pnp and I have to add 4 extra fields to the existing selection screen then  I have created by using select-options in the program. Now my question is .. Can we sk

  • Two values to detail page

    This question is based around a simple master - detail page set. Environment is Windows XP - Dreamweaver CS5 - Apache - MySQL - PHP (all should be up to the latest levels) This is all under a local server environment. I have a single table in MySQL w

  • SSIS - Connecting to Oracle

    Hi, I am new to using SSIS (after using DTS on SQL Server 2000 for many years). I am trying for the first time to connect to an Oracle 9.2 database and export data from it into SQL Server 2005. I used the Microsoft OLE DB Oracle Provider to connect t