How to manage files locally in Visual Studio 2013 - file

I am pretty new to Visual Studio, so sorry for this stupid question.
I have no idea how to manage my files locally. All I can find is some Github or TFS support. So where is this view for managing files and foldes in VS?
Thanks.

View > Solution Explorer. The files should open up on the right or the left if you have your solution open already. If you do not have it open just do a File > Open
The solution explorer will allow you to see all the files to edit delete and add.

Related

T-SQL IntelliSense does not work on some solutions

I have a solution in Visual Studio 2013, where among the others I have also a Database project. This project contains some .sql written in T-SQL.
IntelliSence and Parse (SQL (on visual studio menu) > Parse) do not work. I have gone through this Troubleshooting guide and many question on SO, but nothing worked.
As I understand is something in project setting that I need to configure or some leftovers I need to clean.
Any suggestions ?
In brief
IntelliSence is enable
SQL CMD is Disabled
In SQL Server Explorer there is an entry (localdb)\ProjectsV12 containing my DB.
Other solutions opened on the same instance of visual studio work fine
ReSharper is installed but is not the issue (I also tried without it)
Note:
The solution (the one that has issues) was created in a previous version of Visual Studio.
Update 15/12/2015
After some digging I found out that the issue may has something to do with the .v12.suo file (which is located alongside with .sln file and is hidden). Copping this file from a similar solution (one that IntelliSence works) eliminates the problem.
Another workaround that it may help, is to go to the "Database Project" properties (right click on the project in Solution Explorer and then select Properties), on the Debug tab and press Restore Default in "Target Connection String". In my case this just changes the Initial Catalog= value to Database and like "magic" IntelliSence works again! (in some cases it may need to restart the Visual Studio)
After this even if I restore (using Edit) the "Target Connection String" to the previous values the IntelliSence continues to work.

Not able to add "Microsoft.ReportViewer.WinForm" v11 reference to VS2012 project

I was asked to migrate a WinForm application developed over Visual Studio 2008
to Visual Studio 2012. One of the win-forms contains a Report Viewer component that is taking more time than I would have expected due to a Microsoft.ReportViewer.WinForm dll reference I cannot import into the project.
These are the steps I did:
Migrated the application, did some small adjustments.
Rebuild project, some errors come out on the Error List pane, most of them already cleaned out.
Remaining errors are related to SSRS and the Report Viewer.
Error on the import statement "Imports Microsoft.Reporting.WinForms" indicate the reference is no loaded into the project.
Right click on the Project -> Add Reference... -> Assembly -> Extensions --> select Microsoft.ReportViewer.WinForms and click OK.
Saved the project, then the solution and closed Visual Studio.
Open the solution once again. Not only the errors remains but the reference I selected on the Assemblies list appears as unchecked.
Double verified the dll file exists on "C:\Program Files (x86)\Microsoft Visual Studio 11.0\ReportViewer". The file is there and the version is the correct one.
Does anyone realize what's going wrong here? Suggestions and comments are welcome.
Thanks in advance.

How to insall a database with an application?

This seems like it would be easy as pie but it is not. I would like to include a sql server database with my application installation. I see a lot of similar questions, so let me be clear: I know how to set up prerequisites, but I want to include my application's database with the installation.
I am using Visual Studio 2010. I have a project with a local database. I have a setup project. However, when I generate the setup.exe and install the app, no database is generated and the app does not work.
I hope that the answer to this is as simple as it seems it should be. How do I include my application's database with the rest of the application in the setup.exe?
Got it! My solution:
In the setup project right click the project and select View > File System. Then right click the Application Folder folder and select Add > File...
Then browse to .mdf file, select it and bam! Included in the installation.

Anyone know how to edit the VC++ directories in Visual Studio 2008?

Right now we are configuring a lab at the college to use the DarkGDK with Visual Studio 2008. Here is a link for those of you who are unfamiliar: check it out here
Considering how tedious the installation and setup is, I've decided to write a batch script for an unattended installation which is working fine. In order for it to be finished though, I have to somehow find a way to add some global Vc++ directories through the tools->options->projects and solutions->vc++ directories dialog box within visual studio.
This script is also going to be used by students to install dark on their own PCs so configuring one machine and re-imaging the lab is not an option.
Does anyone know where VS2008 reads and writes this data? I'm talking specifically about the include and lib directories. At this point I'm thinking that I can just append the directories to this file or write a registry key if I have to (as much as I hate to mess with the registry).
Also if anyone knows of a command to add these paths that would be much easier.
Visual Studio reads and writes the pathnames to a file called vccomponents.dat which is located in the %APPDATA%\Microsoft\VisualStudio\9.0 directory

Can't select "Build Solution"

I am getting trouble to use Build solution in Visual Studio.
I was building data cube and I needed to use Build solution to finalize my project.
However, I couldn't find Build solution from the Build menu.
For example ....
http://cfile7.uf.tistory.com/image/18493D524E2CF5A31F8B61
It should be like this then I can choose build solution option
However, when I tried on my laptop...
http://cfile8.uf.tistory.com/image/16493D524E2CF5A21E9D27
I was unable to find these options...
I am not really sure about my mistakes....
My data was built by SQL Server 2008 R2 and I was using Visual Studio (which came with SQL Server)
Does anybody know solution to this problem?
From the second screenshot that you posted, it looks like you don't have a solution open, just the project that was contained in the solution. A Visual Studio solution file is usually a .sln file, and if you open it up in Notepad you'll see that it's just an XML file which describes project(s) it contains (the actual project files are different, the solution just makes reference to the project filenames). Make sure you get the .sln file to your laptop and open that, not the project file.
Right click on the solution or Project node which is on the Solution-Explorer. There should be Build menu item.
Or may be the Visual Studio coming with SQL 2008 R2 doesn't have that functionality?

Resources