Web Forms :: How To Create Solution File In VS 2010
Mar 25, 2011
I am using VS 2010.
I've 2 web pages in a folder. At present I am using "File --> Open Website" to open those files in VS 2010.
But I want to open those files in VS'10 by clicking a solution file.
So how to create a solution file?
View 3 Replies
Similar Messages:
Jun 28, 2010
how to create an empty Solution in Visual Web Developer 2010 Express Edition.
File > New Project, and then -- where?
Maybe it's now allowed? I can't work with solutions at all then?
View 2 Replies
Nov 30, 2010
I'm trying to migrate an old asp.net 1.1 application to target the new .net 4.0 framework. There are good guides available on this [URL]. However, all approaches start with the assumption that the 1.1 project contains a solution file which one has to open using VS 2010 and go through the conversion wizard.
In my case, the project does not have any solution file, giving me a sort of chicken and egg issue.
Is there a way to add a 1.1 .net soution file with or without VS 2010? Using command line tools? What is so special about a solution file anyway?
View 3 Replies
Jun 9, 2010
what's up with the new 2010 version of VWDExpress? It seems it no longer creates the VB code behind file to go along with the markup pages. Is threre a setting somewhere that I've missed? Or is code behind no longer supported?
View 2 Replies
Jun 24, 2010
Where is the virtual path setting of the web solution stored? If you change the value, the .sln solution file isn't modified but if you change the port number the sln is modified For example, if I add another level to the virtual path, the full url to my web solution would be [URL] MyProject where /MyProject is set in the virtual path. I'm under source control. I've changed the virtual path and port to arbitrary values and run the web project. The url is [URL] I've exited the solution, deleted all the temp asp.net files, the bin files, and restored the .sln file from version control. I've opened the web solution and the port is restored to 2332 but the virtual path is still set to /whatever Is this setting stored in some strange location I'm unaware of?
View 19 Replies
Jul 12, 2010
Let's say I am working on a multiple page web solution and make a small change to one web page. The small change needs to get published but I want to be able to publish it without having to republish the entire site. How do i do that? How do i publish a single page of a multi-page solution in Visual Studio 2010?
View 1 Replies
Sep 6, 2010
I had no problem with this in Visual Studio 2008 but it seems that VS 2010 is having an issue, and I'm betting it's probably me.I have a solution with an ASP.NET Web Site Project and a few C# projects (BLL, DAL, Tests in NUnit). I have configured the build process for the test project to automatically run NUnit to run the tests. I would like to ensure that the BLL and DAL projects build before the test project so that the tests will run against the latest compiled version (yes, I know I could do this all in one project, but I'm choosing not to -- please bear with me :) )
So, I set the dependencies of the Test project to include the BLL, DAL, and Web Application projects, and the build order shows BLL, DAL, Web Application, and then Tests. However, I noticed that the BLL doesn't actually build when I build the Test project.Any idea what this could be or any option I might be missing to force the other projects to build when I build the Test project?
View 3 Replies
Aug 3, 2010
I am using VWD 2010 Express, usually with several site pages open in tabs. For some reason, when I move from one tab to another, the newly active page is not highlighted in the Solution Explorer pane. Is there some setting that is causing this? I often have two similar pages open, referring to the code on one as I work on the other, and not having the Solution Explorere correctly highlighting the active page make it really easy to be working on the wrong page.
View 2 Replies
May 25, 2010
I m uploading a file and reading it. The problem is I dont want to save that file in a folder which is in my solution explorer. I want to save it in a different Drive. I m saving the file in a different drive using web.cofig <add key="UploadFileLocation" value="C:\VOL0\Upload\"/> and I m saving using code FileUpload1.PostedFile.SaveAs(ConfigurationManager.AppSettings["UploadFileLocation"] + SaveLocation); all goes fine, but I m reading the file and it is throwing an exception when I m trying to read file.
View 3 Replies
Aug 12, 2010
I have to modify a exist web application in Asp .Net, the problem is that I have the application just on the server.
I copy the application on my pc but now I have to create the appropriate solution and project to modify it.
I've all the file .cs and the dll already deployed.
How can I create the web application with .net ?
View 1 Replies
Jan 7, 2011
I am a ASP.net Web Form Developer , I simply want to know that is it possible to develop a mini ERP solution in ASP.net MVC ?
I have already developed such in ASP.net Web Forms but our company wants to re-write to whole app from scratch for bigger scale with increased modules and functionalities.
So can we go with ASP.net MVC this time rather than Web Forms?
View 1 Replies
Jan 21, 2010
I need to create a thumbnail solution in order to display pictures of products.
There can be more than 1 thumbnail per product and I need a way to enlarge the image as well.
The thumbnails will be displayed in atleast 3 or 4 pages across the system and I need the ability to delete them as well.
For version 2 of the software (knowing PM's it may be thrown into Version 1), I think I will need to be able to enhance this feature to allow movie clips so that's something I need to keep in mind.
The images will be stored in the DB so I can sort the code to retrieve them but I'm originally a windows programmer and this is my first major ASP.NET project and also my first attempt at C#.
View 14 Replies
Nov 15, 2010
I'm working with VS2010 and I wonder should I use one Solution for multiple web applications (web sites) or is it better to create separate web applications (with it's own solution) for each web site?
View 4 Replies
Nov 19, 2010
We are using VS Ultimate. One developer has created a solution (xyz) which is displayed in Team Explorer and Source Control Explorer. I want to create a local Solution using his existing Solution. How can I do this? I started with File/New Project. I gave it a name and it now displays in Solution Explorer as 'Solution 'xyz_solution' (0 Projects). Already existing in Source Control is a folder named 'xyz Solution'. I want to populate my solution with this?
View 1 Replies
Mar 20, 2010
I'm trying to create a .NET solution and add class libraries to it. First - in VS2008 I go to File > New > Project > Other Project Types > Visual Studio Solutions > Blank Solution. Then - after VS2008 creates the blank solution I right click on the solution and select Add > New Project > Visual C# > Class Library. However, when I add the Class Library to the solution, the solution icon disappears from Solution Explorer (although the solution name is still in the VS2008 title bar). Why does the solution icon disappear
from the Solution Explorer when I attempt to do this?
View 2 Replies
Jun 3, 2010
i am looking for solution to create trial version for web application at client side?
View 3 Replies
Sep 10, 2010
I am stumped by a serious issue in Vs 2008.
I created a Blank solution called HelloWorld.Then I added a new Class Library project by the name of HelloWorldService.After creation of the
Class Library project the Solution name disappeared from Solution Explorer.
As a result of which I can now only add new items into the Class Library project but cannot add new item to the solution.
This appears to be a pretty old problem as I found it in another link on the internet.
[URL]
It seems to be a bug.Has MS released a patch or a fix for this.
View 6 Replies
Jul 7, 2010
I have a document that I have included in my VS 2010 solution. It is in a folder called "MyFolder" the file itself is called "MyDoc.docx". I've tried the following ways to open the file but none work:
Stream s = File.OpenRead("/MyFolder/MyDoc.docx");
and
Stream s = File.OpenRead("MyFolder/MyDoc.docx");
and
Stream s = File.OpenRead("~/MyFolder/MyDoc.docx");
What is the proper path for this file?
View 1 Replies
May 26, 2010
How many web.config file does a solution/project can contain?
View 6 Replies
Nov 5, 2010
I have been asked to modify an ASP.NET 3.5 web application. The solution file does not appear to be present on the web server, but there is a DLL. Is it possible to modify the solution by "reverse engineering" the DLL?
View 2 Replies
Aug 12, 2010
I have sql database db1..I am using this db1 for my web application...I had taken a back up for this file db1.bak......I want to restore this .bak file to a machine where no sql server is installed..Visual studio is working with solution explorer,where we can create tables,sp's etc...can I able to restore the .bak file to solution explorer?
View 1 Replies
Jan 4, 2010
I have a folder that contains ASPX code and it's codebehind (C#) as well as a solution file. The compiled version of the application resides in the inetpub directory. Whenever I open the solution in Visual Studio, VS warns me that it is attempting to open a precompiled website and asks me if I want to continue. If I click NO it does nothing, but If I click yes it shows me the ASPX files in the inetpub directory. How do I make the solution work with that code in the directory that it is in (ie with the aspx and codebehind)?
View 2 Replies
Mar 10, 2011
I took over a rather large C# .NET 2.0 legacy web application from a colleague who is no longer available. This web application consists out of multiple projects in one solution. And I ran into a problem that I simply do not understand and hopefully somebody here will. The application has multiple .sitemap files included in a sitemap subfolder. So far so good. But I found one .sitemap file that was floating around in the root of the web project and is not used anywhere in the application (it's not included in the web.config).
I excluded this file. The web application runs fine without it. All menu's load correctly. Until I hit a method that uses recursion to look for certain controls (NOT the sitemap!). This method runs down through all controls from a given point and then crashes on the fact that the XMLSitemapProvider is missing this one file. This method is called many times without issues, but when the user logs out it somehow runs through a hierachical path of controls that eventually end up at the missing .sitemap file. The file also needs to be at this exact location in the root. Moving it somewhere else will cause the same crash. The file web.sitemap required by XmlSiteMapProvider does not exist.
I have searched for this filename and all ".sitemap" files but can not find it anywhere in the solution. 0 results found. I've ran past all the code leading up to the crash and it seems arbitrary (it has nothing to do with the sitemaps). The crash just happens because it hits the XmlSiteMapProvider looking for another control when it's going through all controls. In short, I can find no references what so ever to this file!
Since this web application is huge I can not manually go past every section of code. There is hundreds of thousands of lines of code. Does anybody know any other way then through the web.config to include a sitemap or how a sitemap file could be registered and where I should look? Final note: this application used localization. The sitemap's are localized and I found resources for this one sitemap. I hoped excluding those would solve the problem. Unfortunately it didn't.
View 1 Replies
Jan 13, 2010
how can I share one or two aspx file in two separated solution that if i change aspx file in both solution apply changes. Is it possible in visual studio 2008 or in Team foundation server?
View 1 Replies
Sep 1, 2010
I am using VS2005 and I have a solution file (.SLN) which has 8 projects. I moved the solution file to a different path on a shared folder to have better organization of my projects and to allow access to the solution/projects from any computer on the network. After that, I edited the .SLN file so that the path of the projects in the solution file are correct (all on shared folders).
After that, I opened the .SLN and everything seemd to be working fine. However, I notcied that the "Start Options" of the website part of the solution file is missing the "Start Options", ie, the Start Options are reset to default values. I think also, but not sure, some other settings of the Solution/Projects have been reset.
Questions:
1. Where the Web Site "Start Options" are stored ?
2. How I can maintain the Start Options and similar settings if the .SLN file is moved or opened from different computers on the network ?
3. I am not using an team development tools, only plain (vanilla) VS 2005 Prof. Edition. Is it possible to have 2 or more developers work on the same solution/projects (shared on the network), if both developers will coordinate manually simultanous access to the porject files/resources/source code ?
View 6 Replies