How can i use an SDK in Visual studio with c#? - c#

Recently I approaced C# and I've tried to see some projects, but I still don't understand how exactly I can use an SDK. Is it a ready to go project? When i download it I just need to modify some items in the SDK to create any kind of project or do i need to create a new file and somehow use the SDK? How can I use it?

To install the Visual Studio SDK after completing your Visual Studio installation, rerun the Visual Studio installer and select the Visual Studio extension development workload.

Related

How create installer with Visual Studio Express 2013? [duplicate]

I already have a project which is ready to build. Currently, I am using visual studio 2013.
But, I don't know how to create an MSI setup in visual studio 2013, but for visual studio 2010 there are plenty of tutorials out there discussing how to create a setup in visual studio 2010.
Does this mean I need to install visual studio 2010 in order to create an application setup for my project?
What is the easiest way to create an application setup in visual studio 2013?
Microsoft has listened to the cry for supporting installers (MSI) in Visual Studio and release the Visual Studio Installer Projects Extension. You can now create installers in VS2013, download the extension here from the visualstudiogallery.
visual-studio-installer-projects-extension
As of Visual Studio 2012, Microsoft no longer provides the built-in deployment package. If you wish to use this package, you will need to use VS2010.
In 2013 you have several options:
InstallShield
WiX
Roll your own
In my projects I create my own installers from scratch, which, since I do not use Windows Installer, have the advantage of being super fast, even on old machines.
Visual Studio 2013 now supports setup projects. Microsoft have shipped a Visual Studio extension to produce setup projects.
Visual Studio Installer Projects Extension
Microsoft recommends to use the "InstallShield Limited Edition for Visual Studio" as replacement for the discontinued "Deployment and Setup Project" - but it is not so nice and nobody else recommends to use it. But for simple setups, and if it is not a problem to relay on commercial third party products, you can use it.
The alternative is to use Windows Installer XML (WiX), but you have to do many things manually that did the Setup-Project by itself.
Microsoft also release the Microsoft Visual Studio 2015 Installer Projects Extension This is the same extension as the 2013 version but for Visual Studio 2015
Apart from Install Shield and WiX, there is Inno Setup. Although I haven't tried it myself I have heard good things about it.
I will tell , how i solved almost similar problem. I developed a application using VS 2013 and tried to create wizard for it failed to do. Later i installed premium VS and tried and failed.
at last i used "ClickOnce" and it worked fine.
So i believe here also , "CLICKONCE" would help you.

I have Visual Studio for my Business Intelligence tools, how do I add C# to it?

Excuse the ignorance, but I've been a BI/SQL Developer all my life, and recently have been more interested in getting better with C#, I thought I'd fire it up and start playing with it. I thought it was supposed to be included in my Visual Studio package that I have for BI, but when I go to File > New > Project, a New C# project is not something that is available there. How do I add it?
Run the VS installation and add the required components, assuming that your VS package has them.
Your best bet would be to reinstall a professional or premium version of VS. When you install select that you want all the packages so you can program in C#, VB, C++ ect.
here is a link to VS: http://www.visualstudio.com/
This link is a direct download link to a VS_Professional version download from the website:
Vs Professional download link
You can't unless you install the correct version of Visual Studio.
But you can try instead the new Visual Studio 2013 Community with Update 4
It is the latest IDE completely free with no license required that includes all the tools including C# development

How to add reference `Microsoft.TeamFoundation.TestImpact.Client.dll` in Visual Studio 2012?

I'm writing a customized activity for TFS build process workflow, e.g. guideline here.
The post requires to add reference to Microsoft.TeamFoundation.TestImpact.Client.dll at path C:\Windows\assembly\GAC_MSIL\Microsoft.TeamFoundation.TestImpact.Client\10.0.0.0__b03f5f7f11d50a3a. I cannot find this path on my machine installing Visual Studio 2012.
Where would I find this reference?
This is an old thread, but in case anyone else runs into this, just download the stand alone TFS Object Model installer.
As the other answer states, it's shipped with VS 2010 so you'll need to install that and then you should be able to find it.
For any of you trying to do this with VS 2013 / TFS 2013 you need Microsoft.TeamFoundation.TestImpact.Client version=12.0.0.0
This file is located in the folder
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.TeamFoundation.TestImpact.Client\v4.0_12.0.0.0__b03f5f7f11d50a3a
Version 10.0 of the file is shipped with Team Explorer or Visual Studio 2010.
It is copied directly to the GAC but you can extract it using the command line COPY command.
Install VS 2010 on your machine, open a command prompt and navigate to C:\Windows\GAC_MSIL\Microsoft.TeamFoundation.TestImpact.Client\{Version}\
Then COPY Microsoft.TeamFoundation.TestImpact.Client.dll to a folder of your choice.
Finally, my advice would be that you use the version included in VS 2012, that would make things much easier. The method described above also works for Microsoft.TeamFoundation.TestImpact.Client.dll 11.0 (aka VS 2012 version).

Templatizing a project in Visual Studio

I have created a windows mobile application in Visual Studio. I want to templatize this project so that one can open this as a template as opposed to a project.
Is this possible in Visual Studio? I read that there is something called as "VSX (Visual Studio Extension)" which may achieve this. I have Visual Studio Ultimate installed in my system and was trying to install the VS2010 SDK. But its not getting installed telling that i dont have MS Visual Studio 2010 which I apparently do.
Am I going in the right direction? If not what would be the correct way to go ?
Yes it is possible like this: File > Export Template than click next :) It will save your code too
This is what I was looking for and it came really handy too.
Export Template Wizard
This exports a project directly as VSIX extension using a wizard.
I would recommend using the TemplateBuilder NuGet package inside of either a VSIX Project or a Visual Studio package. I've created a 6 minute video showing you how you can: Create a VSIX containing a project template, and then editing the template. Checkit out at https://www.youtube.com/watch?v=z33jOo75CH4.
FYI TemplateBuilder is open source at https://github.com/ligershark/template-builder. If you've heard of SideWaffle it relies on TemplateBuilder.

Can't add Visual C++ template project in Visual Studio Express

Don't know if this is related to the fact that I'm using Visual Studio 2010 Express, but when trying the first step in the link below I can't find the template Visual C++. I tried to download Visual C++ 2010 Express but still no luck.
Does anyone have a work around for this?
http://msdn.microsoft.com/en-us/library/ff967550(v=VS.92).aspx
EDIT:
I have now tried to create this DLL in Visual C++ 2010 Express instead. When following the guide from the link above I get stuck when I should add resource to the project (Step 2 under 'Create the Language-Neutral Resource Strings for Your Application'). The menu item is greyed out/disabled.
You will need the C++ edition of VS Express to create this Win32 Resource DLL. I assume that that is possible.
And then add the Project (might work) or the resulting file (should work) to your Phone project.
as far as I know you cannot create or build a native C/C++ project in Visual Studio Express. As I understand it, the Visual Studio Express is similar to a demo version that only allows you to create projects that use the .NET framework.
To create and build native C/C++ projects you need the retail Visual Studio Professional.

Categories

Resources