No add folder option in tfs 2015 code explorer pane - tfs-2015

I did not find Add folder option in right pane of code explorer in tfs 2015. But there is Add Files option and I can add files to any folder in the code exploerr. Please refer to the screenshot below. Did anyone have same issue?

Download and install Folder Management extension to your TFS collection, you will be able to create folder from left panel:

According to the screenshot, you are using Git repo in TFS. It's not a issue, it's by designed.
You could not add folders in remote repo directly. The add files is more like upload file. If you want to add folders, suggest you directly push your local repo to remote repo.
Also take a look at this similar question: How do I add a whole folder to Visual Studio Team Services (was TFS Online)

Related

How can I share an installer generated by Visual Studio?

I made a simple checklist desktop app in Visual Studio 2015, and I'm ready to share it with the world. Problem is that I don't know how to make an installer for it that I can share online. I have an installer exported, but it is Visual Studio's default ClickOnce installer, which won't work when I remove it from its original location
Is there a way I can package it so I can upload it somewhere and then share it? Do I need to code my own, or there some add-in or tool that will do it for me?
Once you have the installer extension this should help you to get started, as the name implies:
https://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/
Have a look at this older post of mine:
What you can do,open the project as if going to edit it, just go to "Project" then "Publish(Whatever-your-work's-name-is).vb at the bottom. Then use the wizard to finish. At the end, say you saved your exe on the desktop, three files will appear.
"Whatever-your-work's-name-is".exe And its icon shape varies.
A folder called "Application Files"
And a "setup.exe" Its icon a like a CD on something.
For the first time, click on setup.exe and open the app. From then on, the "Whatever-your-work's-name-is".exe will open normally. I usually store all three on a zipped folder, which I upload on my website and can be downloaded from there.
To get a better example, vist my website.
I use this website to store my files for backup.
You can get the MS Installer extension from here... There's one for VS 2013 too.
(Credit to peterG for commenting this)

How can I alter my solution to work on TFS Build that works locally, can't find .dll in search path

I've got a solution that builds locally on my developer box, and I've tried it using remote desktop on my TFS build server, which is server, controller, and agent. What is baffling is that when I queue a build, it fails, with this message in the log file.
Considered "..\..\..\..\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Coverage.Analysis.dll", but it didn't exist.
Part of what is so confusing is that If I navigate to that location, I can see the file that I need.
In further testing, I went to the build source folder and loaded the solution there. It shows that it can't located the reference. If I just remove the reference, and re add the exact reference again, it builds.
If you have a better title or want further clarification just ask or make suggestions.

How to deploy .bin files from Visual Studio project?

I'm making windows application in VB.NET and I added some files in my project in solution explorer and I set on every file I added
"Copy to Output Directory: Copy Always"
but it deploy every file except .bin files after publishing.
It work in debugging mode, but not when I publish it. any help please, how to deploy .bin files?
Thanks.
What is the Build Action property of those files set to? If it is Content then I believe that they should be included in the deployment automatically. If not, open the Publish page of the project properties and click the Application Files button. There you can control what files are included in the ClickOnce deployment.

Sharepoint sp2010 _Layouts mapped folder

I have a solution which can be deployed for SharePoint 2007 and SharePoint 2010. There are common files like .css files and images. When I am deploying solution for SP2010 I use mapped folder (_Layouts). And this folder have to copy my files to the server. The point is that I don't want to copy the same files to this folder. And I add them as a link. But Visual Studio does not want to copy files to destination folder.
If I understand you correctly, you want to deploy linked files. This is not just a SharePoint limitation, but a Visual Studio limitation with web projects. I believe the same limitation exists for SharePoint projects. Please refer to the following link:
https://connect.microsoft.com/VisualStudio/feedback/details/665257/
I've resolved this issue. Just removed the links and added real files.

How can I make Distribution files using Visual Studio 2008

I want to distribute the installer package to my clients. Please anybody provide me details information about how can I make setup.exe file for my visual studio 2008 projects. If I am failed to provide any necessary info please let me know. Thanks in advance.
Though this is written for C#, the tutorial should work fine in VB.NET as well, if that's what you're using.
http://www.dreamincode.net/forums/showtopic58021.htm
In VS2008, add a new project. Then click "Other Project Types" and Setup and Deployment underneath that. You can then pick "Setup Wizard" this will guide you through creating a setup.exe and an MSI installer. This can then be built just like any other project, so when you make a change to your project, you can rebuild the setup.
In order to create an installer package, do the following:
Go to File -> Add New Project
Select Setup Project from "Setup and Deployment Projects"
From here you can add your files and when you compile it will generate an MSI file.
If you have access to a web server, i would publish your file using clickonce. This way anytime you make a change your users will automatically get the updates. To do so, right click the main project that you want to expose and click on the publish tab.