Adding InkPicture control to my project - visual-studio-2012

I need some help adding the InkPicture control to my project. I am using visual studio 2012. I tried to follow online tutorials, but I couldn't find the control. The tutorials tell me to navigate to .NET framework components tab on the customize toolbox page and check the InkPicture and hit "ok" to add the control, but when I navigate to this page I cannot find InkPicture anywhere. Any help I can get on this topic would be very much appreciated.

Related

Visual Studio 2022 - File Add New Item CSS, HTML, JS missing

I have 2019 Web Project I'm trying to open in Visual Studio 2022 and it's missing a lot of common file types, HTML, CSS, JS and Text to name a few. If I open the project by going to File -> Open -> Folder the expected file types are available but the Azure Dev Ops integration doesn't work.
Any pointers on how to get this working. Someone recommended building the New Item file templates but that seems like a chore for such a simple set of file types.
Update: If I change the Solution Explorer view to Folder View then I can add the files I expect, but with Folder View I can't check-in or publish. I will need to toggle between Solution View & Folder View complete those actions. To clarify further, how/what populates the Solution Explorer(Solution View) -> Add New Item menu?
In Visual Studio 2022, the .NET Framework project and item templates are now optional components. At the time of installing VS 2022, you need to manually check this option on the ASP.NET and web development section. If somehow this got missed during the installation, you can enable it by following the below steps:-
Open Visual Studio Installer
Click on Modify
Expand Asp.Net and web development
Check .Net Framework project and item templates
Screenshot:-
The above steps will bring back the missing HTML, CSS, JS, and other templates
One of the workaround you can follow to resolve the above issue,
We are trying the same with console application and trying to add html and can able to get it as well using VS-2022 with version 17.2.6.
Make sure that you have open the correct project in your environment.
HERE ARE THE SCREENSHOT FOR REFERENCE:-
Alternatively if you want to add an item template to the Add New Item dialog box in visual studio please refer this MICROSOFT DOCUMENTATION| How to Create item templates
For more information please refer the below links:-
SIMILAR SO THREAD|Can't find ADO.net Entity Data Model template in VS2017 .
This is a pain. It happened to me with the last upgrade. To fix it, open the installer, select "Web and Cloud", then "ASP.NET and web development." Check all the boxes through Intellicode, and then check ".Net Framework project and item templates".

WIX in VS 2012 Menu and Commands missing

I just installed WIX 3.10 and I'm using VS 2012 Ultimate. I have then successfully added a WIX setup project to my solution but that's about as far as I can go because the WIX menu is not showing up. The commands buttons that should appear at the top of the solution explorer window does not appear, neither does the shortcut button that appears just below the 'clean' button when you right click the project. I have tried uninstalling and restarting my PC several times but still the same.
snap shot of the solution explorer window.
I'm obviously missing something, but what? Thanks very much.
The designer you're looking for is from a 3rd party commercial product:
https://www.add-in-express.com/wix-designer/index.php
Normally one would write most Wix files by hand. It's relatively simple XML and the documentation isn't bad.
You can install the extension: Tools -> Extensions and Updates
Then in the search box type 'wix' and Enter.
The extension name is 'Designer for Visual Studio Wix Setup Projects':

Adding a custom ribbon tab and buttons in Sharepoint 2013

I'm trying to figure out how to create a custom ribbon tab with custom buttons on a documents library in SharePoint 2013.
I'm using Visual Studio 2013 Community with office developer tools and I'm running SharePoint through an office 365 business trial account.
I've found the following tutorials which helped but ultimately I am still stuck.
This one is great but as a new Sharepoint developer I'm not sure exactly whats going on. I know I need to edit the elements.xml file but I have no idea where or what file to edit.
I then found this one which helped out a lot but still dosen't work. I followed the instructions to the letter except for the step where you create an Empty SharePoint Project. I am unable to do that because VS 2013 will not allow that unless you are deving in the same environment as the SharePoint server and because I'm running Windows 8.1 and not Windows Server I can't even install Sharepoint foundations to try this.
Instead I just created a simple Sharepoint App in visual studio and followed the steps to create the feature and custom action but I still can't get it to work. The menu and buttons are nowhere to be seen in any documents library.
So can anyone help point me in the right direction for creating a custom ribbon tab and buttons (or just SP2013 dev in general)? I've spent all day looking online for resources but every resource is either for a different version of SharePoint or outdated so that the tutorial is no longer applicable to VS2013 or SP2013.
Any help would be greatly appreciated.
The process of adding buttons and other controls to the Ribbon is explained in this Office Dev Center article for Sharepoint 2013: Create custom actions to deploy with apps for SharePoint. This also mentions the Bookstore Sample Application which uses custom actions. Other good entries for the architecture of the Server Ribbon are these two branches of Sharepoint 2010 Dev Center
Server Ribbon XML.
Modify the User Interface Using Custom Actions
There is also a sample solution by Sonja Madsen that you can open in Visual Studio 2013 Community Edition from the online section of New Project. It can be found also on this MSDN page. It is listed under Online->Samples->Visual C#->Web->Sharepoint Server 2013->Custom ribbon button - list - search.
If you look in the Package Explorer of this solution you will see that it packages two features. Under the second feature (it's file is in the Features/Feature2 directory) you will see AddBodyText. It's elements.xml contains the tags. You can find that elements.xml in the AddBodyText directory.
Some more technical info on the structure of solution packages: SharePoint 2007 Deployment: Creating Solutions from André Vala.

How to upgrade a SharePoint 2010 Project to SharePoint 2013 (WebParts, MasterPage, App Page, User Controls) in Visual Studio 2012?

We have a SharePoint 2010 project solution which we are trying to uprgade to SharePoint 2013. This includes webparts, application pages, user controls, masterpage, etc.
Foll. is the procedure we follow, please add to it/comment if we have missed out anything:-
Open your project solution file by right clicking and choose open with VS2012.
Edit your .csproj file and add to it -> <TargetOfficeVersion>15.0</TargetOfficeVersion>
Go to VS2012 and reload you project, Go to project properties and set framework as 4.5
Go to package and under properties of the package set the version to 15.0
Do a find replace for 14.0.0.0 to 15.0.0.0.
Check each file to do a check for any hive references. You'll need to add a /15/ to these. EG: _layouts/ to _layouts/15/ and also for CONTROLTEMPLATES
For master page project make sure you copy paste the SP2013 seattle masterpage from Designer and use it in VS project.
If you are using AJAX control toolkit then make sure you use version 3.0.30930.28736 as this worked well. If we tried using AJAX version 4.5 then the webparts do not work when deployed.
Do right click on project and Click Clean to clean solution
Build the solution, then Deploy your projects.
Please add to this if there are more points to be considered. Thanks.

Delete Project in Visual Studio Team Services

We have created the Visual Studio Team Services account.
We have created some Project as testing and now we want to delete it. After searching on some forums, it was mentioned that we can delete it in Team Explorer. We are using Visual Studio 2012 and we are not able to Delete it and the Delete button is disabled.
I was told that I am the administrator in Team Services and I should be able to delete it.
So, I would like to know how I could delete these test projects. Thanks.
To remove a project from Visual Studio Team Services, navigate to the http://YourAccount.VisualStudio.com > Control Panel (Gear Icon) > Overview
Under the "Projects" area, when you mouse over a project "..." will appear to the right of the project name, click there then select "Delete". A popup will appear asking you to type the name of the project to confirm its deletion.
You are targeting the source control in you example. When u target the Team Explorer u can choose "Connect to Team project"
After that u can rightclick your project and choose delete
Please follow the steps below. As this is my first reply I was informed I can not use images to describe the step.
Control Panel => View the collection administration page => click on the little black arrow beside the project name and select delete.
I hope that helps.
Regards
That doesn't delete it from the cloud.
I used the below url to delete it from the cloud.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/81997146-a64f-43fb-9952-57d71542cd11/how-to-delete-a-team-project-from-your-team-foundation-service-collection

Resources