Publish Web Site Dialog is not opening in Visual studio Professional edition 2012 - wcf

When i try to open the Publish Web Site Dialog in VS 2012, Publish Web Dialog is opening.
Me and my friend using VS 2012, When i try to open the same project in my friend pc(File->Open Website) and click build->Publish Web Site, Publish Web Site Dialog is opening,but when i tried the same procedure in my pc, to open the same project in my pc, Publish Web Dialog is opening instead of Publish Web Site Dialog
What will be the issues? I need to open Publish Web Site dialog instead of Publish Web Dialog
What i need to change?
Any ideas??
Here i attached the screenshots of Publish web and Publish Web Site

You can use the Publish Web Dialog like the Publish Web Site Dialog.
First of all you need to cretate a new profile from the main window.
Step 1:Just click on the select box than on "create new profile". Give a name to your profile.
Step 2:Click on "Connection" menù on the left. In the window on the left choose the publish method which you need (ftp , filesystem etc.).
Step 3: Click on publish button (it is on the bottom)

Please select the settings check the precompile during publishing.
Then the publishing, .cs files doesn't available

Related

website text only when run it from iis manager

this is my first time using IIS Manager to deploy Website, I built my website using MVC 4 Visual Studio. When i run from Visual Studio this is the
view
but when i deploy using IIS Manager. this is the
view
Please help me.
CSS are not loading Please verify the path of CSS and js files. For more information please use inspect element in your browser .
This Solve, I open IIS Manager and Open Directory Browsing, at the right side, click enable.

Deploying .vbhtml on Local IIS Installation

I've come into a company that has been using asp.net for some web applications stored on our local servers. There's no current programmer, so I've used what knowledge I have to build a new feature using MebMatrix Razor VB.NET pages and our current SQL Server database. I have to migrate the project over to a local server running IIS to deploy it.
I don't want to use the WebMatrix Web Deploy feature or anything, I'd rather just move the files over manually and have them run. I assume that IIS just needs to be configured to process .vbhtml file extensions. My understanding is that you don't have to build your solution with this method, as you do with ASP. Does anybody know how to do this, or where I might find a good tutorial?
Copy the directory for your website from the 'My Web Sites' folder in Documents. Paste it into the 'inetpub' directory on the server.
Now open IIS Manager, on the left hand side in the connections pane, right click on 'Sites' and 'Add Web Site'. Choose a name, select the default AppPool, browser to the 'inetpub' directory and select your site's folder, set a port that doesn't conflict with any other sites running, and click OK.
On the right hand pane, click browse, you should be able to see your new website.

Security notification bar

I need to add a web reference in Visual Studio 2012 (because service reference generates a blank reference CS and I have given up after hours of googling).
When I go to add the web reference (add service reference → advanced → add web reference) and enter the WSDL URL I get the IE Notification Bar in the dialog with the message:
To help protect your security, your web browser has blocked this site from downloading files to your computer. The option to "Download file" does not work.
I've changed IE security settings to minimum and added the domain to the list of trusted sites but did not have any effect. I also uninstalled IE10 completely and still get the notification bar. I am using Windows 8.
Anyone shed any light on this or had any success adding a web reference in VS 2012?
If you can download the WSDL with your browser, download it and save it to a file. You can then reference it from Visual Studio by pointing it to that file. Or you can use svcutil.exe or wsdl.exe to generate a proxy from the commandline.

Visual Studio 2012 ClickOnce publishing default webpage

I am publishing applications to my website using the ClickOnce publishing tool within Visual Studio 2012, which publishes the webpage which checks for prerequisites and then downloads the application. However, this is formatted completely differently to my website.
Is there a way I can pass Visual Studio a template of some sort which it can use to create the webpages, as otherwise I have to go through and manually change all of the stylings for every application/update I publish. I know I can use an external CSS file to do this, but the webpages are created with inline styling, which was causing problems with the way it was laid out when I tried this last night.
I found this from http://msdn.microsoft.com/en-us/library/k5befhe3.aspx:
To customize the publish Web page
1.
Publish your ClickOnce application to a Web location. For more information, see How to: Publish a ClickOnce Application using the Publish Wizard.
2.
On the Web server, open the Publish.htm file in Visual Web Designer or another HTML editor.
3.
Customize the page as desired and save it.
4.
Optional. To prevent Visual Studio from overwriting your customized publish Web page, uncheck Automatically generate deployment web page after every publish in the Publish Options dialog box. For more information, see Publish Options Dialog Box.
Which means I would have to change each page manually. Does anyone know of a way to pass a template in for VS to use, or is each webpage created on the fly when I click publish?
Thanks
Optional. To prevent Visual Studio from overwriting your customized publish Web page,
uncheck Automatically generate deployment web page after every publish in the Publish
Options dialog box. For more information, see Publish Options Dialog Box.
This is what you want to do, I guess?

How to install a Silverlight OutOfBrowser Application with shortcuts created for all users

I've a Silverlight Out of Browser application where I does installation like this:
C:\Program Files\Microsoft Silverlight\sllauncher.exe /install:[path to xap file] /shortcut:desktop+startmenu
This does create shortcut in the current user's desktop. But once another user logs in it wont be available in his desktop. As part of testing I copied the created exe into the public desktop. But still the another user wont be able run the application from his account. How can I configure so that it works in all user accounts?
I did some work around on this and have made a blog post here