I'm trying to follow this tutorial for an Accordion control in WPF:
http://www.c-sharpcorner.com/UploadFile/dpatra/538/
I am not super familiar with VS. I'm running VS2010, I right click on the Reference->Add Reference, go to the .NET tab, and I do not see any System.Windows.Controls. Am I missing something in order to follow this tutorial? Thanks.
It looks like you are trying to add a reference to a custom DLL form the WPF toolkit. To do this you will need to browse to the DLL on disk.
Select "Add Reference" from the project menu
Click on the Browse Tab
Navigate to the DLL on disk
Select it and hit OK
Related
I have created a Visual C# Console App and I am trying to add reference to resolve an error. Since I am new to the IDE and I am looking for some help on how to add the Reference via the editor. I am trying to connect to Azure Storage via this app.
Attaching the screen shot.
I used the general resolution saying
In Solution Explorer, double-click the My Project node for the
project.
In the Project Designer, click the References tab.
But I am not seeing the References tab to add Reference.
Thanks for help. First place I was supposed to create a 'Console App (.Net Framework' instead I mistakenly chose Console App (.NET Core). Now I am ble to see the Refrences.
Thanks for the help.
First of all switch the Solution Explorer view by clicking button in the header as shown in the below image:
After that you will find the "References" node in the tree. Right click and then choose Add Reference
References:
Managing references in a project
How to: Add or Remove References By Using the Add Reference Dialog Box
If you want to use .NET Core (.NET) instead of .NET Framework, just install this package in PM:
PM> Install-Package System.Configuration.ConfigurationManager -Version <YourCompatibleVersion>
I entered in work with Telerik RadControls. In web.config telerik set in many places. But can anyone give me algorithm how in new project asp.net (web application) in Visual Studio 2010 add dll? (dll library I have)
If you want to add the items to the toolbox so you can do Drag And Drop, do this:
1). Open Visual Studio
2). Open a new project (or existing)
3). Find your "toolbar" window in VS.
4). Right click in the tool bar white space (somewhere where there are no existing controls)
5). Click "Add Tab"
6). Name this tab "Telerik"
7). Now, right click again, and hit "Choose items"
8). A Window will pop open, you can select your Telerik DLL, and it will fill the tool box with
all the controls you need.
You can then Drag and Drop these controls to your pages.
I hope this helps.
If you have Telerik installed on your Visual Studio machine, but it is not currently part of your project, the easiest way to add the proper Telerik DLLs and web.config entries would be to go to the Telerik menu at the top of your Visual Studio, and select Convert to Telerik Web Site.
You can try with this article
http://www.telerik.com/products/aspnet-ajax/resources/step-by-step.aspx
I am developing a Win Forms with C# in Visual Studio 2012 RC.
The Problem is my project is not creating
example.XmlSerializers.dll
in
*\bin\Debug directory of my project.
This problem occur when i publish the project using Click Once.
What i have done already to get rid of this problem.
In Project's properties Build Tab. i have set Generate Serialization Assembly = ON
In project's properties Publish Tab. I clicked on Application Files Button and select example.XmlSerializers.dll = Include
I have searched on Google but didn't find the satisfactory answer.
Please Help. I am in trouble. How can i get rid of it. I will be very very thankful.
If you build your application, do the dll's show up in the \bin\debug folder? If do, then build the application, then open the Application Files dialog (in the Publish tab of your main project's properties). At the bottom of the screen, check "Show all files". Those dll's should show up. Set them to "Include" and "Required".
I found this link, which helped me sort out the problem.
Seems that the "Publish Now" button has a bug which doesn't include the [application_name].XMLserializers.dll. If you select the "Publish Wizard" button instead, your missing files should be included...
I have a windows service that is installed using a setup project. Things work fine but I would like to be able to set the version of the service as I do with the AssemblyVersion of my assemblies.
The only place where I have been able to see this version number is in the version column in the listing of applications in the add or remove applications dialogue.
In the solution explorer highlight your setup project.
Then select your "Properties" tab. (not right click the project, this is counter intuitive)
Find version number at the bottom, when asked to change the product code, select yes.
That should be it.
Hope that helps.
Paul
Yes, As Paul said
In the solution explorer highlight your setup project.
Press F4 or open "Properties" tab from View option of Menu of VS. (not by right clicking the project).
You can find version number at the bottom and other options like Product name etc.
I tried it and it worked.. :)
I want use the Scintilla controls and the RadControls for Winforms, but I do not know how to incorporate the files. They are in .dll format? How do I use the controls if they are in .dll format?
http://msdn.microsoft.com/en-us/library/wkze6zky%28VS.80%29.aspx
Right click the project, click Add Reference, go to Browse tab, find them and add them.
Generally you would add them to the project you want to use them in, then add a reference, and then use them like any other dll.
For installing into the GAC, see this.
In the winforms toolbox, right click and "Choose Items...", then click the browse button and find the dll. Then go through the list of controls, and check the controls that you've added (usually it will do this step for you).
This knowledge base article on the Telerik website explains how to manually add the controls to the toolbox in Visual Studio.