SharePoint Visual Studio solution not visible in solution gallery - visual-studio-2013

I am trying to locate my solution (WSP) in the solution gallery of SharePoint 2013
I am site collection administrator
in Visual Studio I created a solution containing lots of stuff, all works ok, shows up etc..
(deployed via VS and works, site url = site collection root url)
However... I look in the solution gallery of SP2013 (site collection) and dont see the solution, its
actually... empty,
so.. since it has been deployed, activated and works... where is it?

Farm solutions are displayed in the Central admin site. Even though in Visual Studio you target your WSP to be deployed in a certain web-site, all WSP's(solutions) available in the farm level are displayed at Central Admin. In this way, if you want to deploy the same solution to a different web application you could do it from central admin. It actually makes the work easy.
So, It's not displayed in the web application which you deployed to. Please check on the central admin site.
Go to central admin > System settings > Under "Farm Management" you get "Manage Farm Solutions". All the farm solutions will be listed down there.

Related

Azure Web Site not updating via Visual Studio Web Deploy

This may be a basic question, but I've searched for a little while and couldn't find anything specific to this.
I bought a domain and created the web app in Azure for hosting, and set up the DNS so that it's linked to the Azure Web App. Using Visual Studio 15, I opened the website via the FTP connection settings found in Azure, and was able to create files, edit the html, css, etc. Going forward, I wanted to use Web Deploy with Visual Studio to push new builds of the code up to the web site. I downloaded the publish profile from Azure, and imported it into a new visual studio project. I also copied all the previous files over(it wasn't alot). I got the correct Web Deploy settings and successfully published the solution to the Web App in Azure. However, it never updates the code with my new changes. When I look at the site in Firebug it still has the same files/code that it had when I edited it via FTP.
Any idea what I'm doing wrong?
I followed your steps and everything published perfectly for me. Did you try to simply refresh the file list to make sure Visual Studio is seeing all your files? Are they included in your project?
Also, when you go to publish, on the 4th step labeled preview, try to hit "start preview" and see if it detects any changes.
Also, could you tell me a bit more about your project? Is it a website project folder, mvc solution, etc?
You could try to clean the website to make sure your new files are getting deployed.
Clean Windows Azure Website

Set Up Continuous Integration From VSO to Azure, but Website does not deploy

I have an azure website that I have successfully linked to a team project in VSO. When I go to the "deployments" tab of this site in azure management, it says:
The team project is linked. Visual Studio Online will build and deploy
your project to Windows Azure on your next check-in.
Below, it gives options to check in from VS2012 or 2010. I am using VS 2013.
In VS, I am able to check in changes and see those changes building in the cloud in the team explorer. My expectation is that after the changes build, they should be auto deployed to the website. This is not happening. I have made several checkins, and none are deployed to the website. It's probably that I have something configured incorrectly, but I'm not sure how to debug this.
In the Build Settings I am using the TFvcContinuousDeploymentTemplate.12.xaml build process template. One thing I did notice is that the under the Deployment Parameters, I noticed that Windows Azure Deployment Environment is empty, but if I try to populate that I'm not sure what to enter for "Web site name" or "Webspace" under the web site radio buttom.
I have followed instructions on these websites to no avail:
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/
http://channel9.msdn.com/Events/Build/2014/3-584
http://www.visualstudio.com/en-us/get-started/deploy-to-azure-vs.aspx
How can I check on the status of the deployment? How can I make sure that the project/solution is correctly configured to deploy/publish and not just build?
Some additional info:
To set up the continuous deploy, I goto azure management portal, click websites, open the website in question. Click the Deployments tab. It says "The team project is linked, Visual studio online will build and deploy your project to Windows Azure on your next check in". Under YOUR SERVER is lists the correct visual studio online URL for my source project (https://------.visualstudio.com). This is my first time trying CD. It has not successfully deployed yet, but the build is working. Every time I check in changes, a cloud build is triggered and it is successful.
I'm new to this, so I am likely making some unfounded assumption, but after going through the instructions multiple times I'm not sure what I can be missing.
Thank you!
l19 has the right idea in the comment responding to my post. I needed to specify a Windows Azure Deployment Environment. The website name is the name of the website. Webspace is a bit trickier, and unfortunately the documentation link in visual studio redirects to a not found page. This has to be precise (e.g., "west us" won't work). I was able to figure out the proper string by creating a new project from azure and associating it with vso from the start. In this case, the build definition was correctly configured. I opened the Windows Azure Deployment Environment and saw that the webspace was set to "eastuswebspace", so I used the same string in my real build definition and it worked.

Visual Studio 2010 can't open a web browser, tells me to restart Windows every time

I'm trying to publish an Azure application, but can't sign in using Visual Studio 2010. I get the error message "The web browser cannot be started. To resolve this problem, you must restart Windows."
I've tried both rebooting and making Internet Explorer the default browser, but I still get the error message. This also occurs when clicking on other links (for example "Online Privacy Statement" in the same publish dialog box).
How can I fix this, or alternatively, are there any other easy ways to publish to Azure?
There are several ways to publish to Azure. Depending on your preference, some of them may be easy. Some, not so much.
First of all, are you using a source control? If you're using git, then you can use Azure Git Repository that comes free with Azure Websites and also Azure Cloud Services. So when you push your code to the Azure repository, it automatically publishes the final bits to the corresponding site.
If you're using TFS locally (at home or office), you can set up a build task that'll deploy the bits to Azure. Also, check out TFS Preview if you are comfortable with a Microsoft hosted free TFS server.
If you feel comfortable using FTP, you can get the FTP account details from the Azure portal when you set up a new azure website or a cloud service.
Finally, one of the easiest way to publish to Azure is to use the Publish Profile feature.
You'll find a link called "Download Publish Profile" associated with
your azure website. Click on that to download the profile (an XML
file).
Then right click on your VS project and hit Publish. Under Profile
tab, select "Import" and pick this downloaded file.
It should populate all the details for you. Test your connection to make sure everything works okay.
Publish and ENJOY!
UPDATE: Based on the comment to this answer, adding screenshot to show where to get the FTP details for your azure website.

TFS 2010 Team Project Portal Setting

I am not seeing the out of the box workbooks that come with MSF for Agile Software Development v5.0 in my Team Project. Turns out, TFS stores the Excel files for the template in the SharePoint portal that needs to be specified in the project settings.
From the Project Settings, There seems to be two different ways in which you can specify the Porject Portal location:
My Question:
I am not sure why "Use this SharePoint Site" is listed as (Not configured)? Does the Team Foundation Server needs to have a local SharePoint instal for this option to be enabled? Or is it some kind of permission issue?
Also, when I enter the SharePoint site collection root URL in the "Use a Web site" textbox, there is not much change in the situation. How is one supposed to use this option?
Does this mean that in order to use the workbook one needs to install SharePoint in TFS?
In order to use the workbook you do not need sharepoint. What you need to do is go to the Team Project Collection Node and right click and choose Process Template Manager, Download the process template on to your local computer. Go to the folder and you will see the excel workbook, you will be able to use the workbook.
MSDN article listing the steps to download the process template http://msdn.microsoft.com/en-us/library/ms181511.aspx
To Answer your other questions,
Q. I am not sure why "Use this SharePoint Site" is listed as (Not configured)? Does the Team Foundation Server needs to have a local SharePoint instal for this option to be enabled? Or is it some kind of permission issue?
You have an option to set up the sharepoint site when you create a new team project, however you have an option of not creating a new team site with each team project and can skip this step and come back later to the team project to associate an existing team site to the team project.
Q. Also, when I enter the SharePoint site collection root URL in the "Use a Web site" textbox, there is not much change in the situation. How is one supposed to use this option?
You do not need the team site for this, unless you are planning to publish the excel using excel services to the sharepoint site.
Q. Does this mean that in order to use the workbook one needs to install SharePoint in TFS?
No.
HTH
Cheers,
Tarun

Web Application within a Web Site in Visual Studio?

Visual Studio allows you to make "Web Sites" and "Web Applications", but, inside a project, can you have one within the other?
Say I have my website "www.mysite.com" and I have an application called "BudgetCalculator". One the production server, this is supposed to be located at:
www.mysite.com/BudgetCalculator
And the BudgetCalculator app contains links back to other parts of the website, like "/page1" and "/page2".
However in Visual Studio, when they're listed as two different projects, they're on the same level. When I fire up the debugger for the BudgetCalculator app, those links aren't going to point back to the main website, like they should.
Is there a way around this?
One solution would be to stop using the built-in .NET Web Server.
Use IIS, create one site, and make your Web App a Virtual Directory inside of the Web Site.
A project cannot host/contain another project in Visual Studio.
You can however create a project that sites in the directory of another higher level project when you create it, however they may not be directly linked, so you couldn't debug them both at the same time.

Resources