Last post Dec 07, 2016 10:05 PM by DoctorWho
Dec 07, 2016 09:14 PM|DoctorWho|LINK
In June we upgraded one of our project Intranet sites to the latest version that one of vendor has. The previous version we had was several years old. We're recently gotten the code-behind source code. We have the older version of the app in TFS, and I'm
trying to add this new version of the app into TFS, along side of the older version. However, I'm running into difficulties. First I have all of the files in a folder on my development box, then I opened it up using VS 2013, but it cannot find the .vbproj
file (it was written in VB.NET). I took a look at the old version of this app and was surprised to find that it too doesn't have a ,vbproj project file. However, if I open it in VS 2013 I can run it on my PC. I thought at first that it must be a Visual Studio
Web Site application. I don't think Web Site applications have .vbproj files. Its been long enough ago that I no longer remember how I setup that project on my PC, but thought that if it were a Web Site project, then it would be in IIS on my machine. I got
into IIS, but couldn't find it there. I'm now rather confused.
So, is there some wayI can determine if the older project is a Web Site project or an ASP.NET Web Application, without a .vbproj file? I'm thinking I've got to get this figured out first.
Once I've got that figured out, then how do I create an empty Web Site project or Web Application project in the folder where I've got all the files already, and then just add what's existing into it?
Dec 07, 2016 09:50 PM|PatriceSc|LINK
Yes, if you don't have a project file, this is a web site project rather than a web application project (IIS is not needed). If I remember you could check also if ASPX pages are using a CodeFile or a CodeBehind attribute (respectively web site project or
web app project).
Not sure what you are trying to do. Why do you think you should create a new folder to just copy the existing content in it? Or do you mean that you want to convert this web site project to a web application project? If you want it is just "File", "New"
and "Project" or "Web Site" but you may want first to explain what you are trying to do.
Instead you could just open the web siet, copy new files and possibly use TFS to check which changes were done and if they are small enough to be safe or if it requires a more detailed examination.
Dec 07, 2016 10:05 PM|DoctorWho|LINK
Thank you for responding!
Basically what I'm trying to do is have in TFS the files that comprise our current version of the Intranet site. I did try at first to put the files into TFS, but that wasn't working. Talking it over with others here we thought the best thing to do would
be create a new project in VS 2013, copy all of the files I have into it, and then check that into TFS.
Again, thank you for the response of CodeFile vs. CodeBehind attribute in the Page tag. I've just opened a few of the .aspx files and it does say CodeFile, so that confirms what you've said.