Visual Studio :: Total Lines Of Code In A Project?

Dec 8, 2010

Any quick way to get a count on all the lines in a project?

That way you can use the info to try and convey the complexity of a project to a Customer.

Visual Studio 2010

View 1 Replies


Similar Messages:

Stop Visual Studio 2008 From Wrapping Lines When Formatting Code?

May 20, 2010

I have an annoying problem with Visual Studio 2008.

When I run the "format code" command ("control+k, control+d") -- it will insert a carriage return. How do I get it to stop doing this?

For example:

<label for="shipCompanyName">Company Name:</label>

undesirably becomes

<label for="shipCompanyName">
Company Name:<label />

View 2 Replies

Visual Studio :: Can't Change The Code In Solution (Project)

Oct 14, 2010

I have problem using Visual Studio.NET 2003. When I open solution made early ago, choose the code of the existing .aspx page, could not change it, because when type nothing happened, no letter, no sign, like the keyboard is "dead" (but it is not, ofcourse).

View 6 Replies

Visual Studio :: How To Convert Whole Visual Studio 2008 Web Site Project To Visual Studio 2010

Aug 14, 2010

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project

my current project references

i have a very annoying iis problem

iis server stops working until app pool is recycled

i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem

View 2 Replies

Visual Studio :: Code Behind Page Not Recognizing Class Library Project?

Jun 11, 2010

I've got an ASP.NET 4 web forms application I'm building in Studio 2010. The solution has two projects. A web forms application and a class library. I have added a reference to the class libraryr project in the web forms project, but when I go a code behind page in the web forms project, it does not recognize the class from the class library and throws the "type or namespace <class> could not be found ...." error. Adding a using <class library projec> does not work either as it does not recognize that.

What am I missing?

View 8 Replies

Visual Studio :: Opening Visual Studio 2008 Project In Visual Studio 2010?

May 21, 2010

Anyone know if I can maintain a VS 2008 (.net 3.5) project by using the VS 2010 IDE ?

View 1 Replies

Prevent Visual Studio From Formatting <% %> On Two Lines?

Jul 22, 2010

how to make the formatting also apply to the ASP.NET server side tag <% %>

Like the related question, a block like this one

Good

<ul id="menu">
<li><%: Html.ActionLink("Home", "Index", "Home")%></li>
<li><%: Html.ActionLink("About", "About", "Home")%></li>
</ul>

Will get formatted into

Bad

<ul id="menu">
<li>
<%: Html.ActionLink("Home", "Index", "Home")%></li>
<li>
<%: Html.ActionLink("About", "About", "Home")%></li>
</ul>

I want to prevent Visual Studio from changing the formatting concerning asp.net server tag <% %>.

View 1 Replies

Visual Studio - What Is Best Option In Visual Studio 2010 To Sync Project Files Between Home & Work Computers

Feb 14, 2011

Im working on a website project with Visual Studio 2010 from 2 different computers (home & work).
In Dreamweaver Im used to FTP to upload/download files to/from a webserver to syncronice my files on the current computer Im working on.What is best option in Visual Studio 2010 to sync project files between home & work computers? I have seen there is a built in FTP, but seems only it can upload files, limited functionality?

View 1 Replies

Visual Studio Macro - Read First X Lines Instead Of Entire Document?

Jul 5, 2010

I've got a macro that updates a copyright header with the most recent edit date.

The problem I have is that the macro currently reads through the entire file rather than just the first 6 lines (which is all it needs).

Is there a way to get the Macro to only read the first "X" lines rather than the entire file?

Private selection As EnvDTE.TextSelection = DTE.ActiveDocument.Selection
Private Sub UpdateCopyrightHeader()
selection.StartOfDocument()
selection.EndOfDocument(True)
Dim content As String = selection.Text
Dim result = System.Text.RegularExpressions.Regex.Replace(content, regex, "<lastedit>" & FormatDateTime(Date.Now, vbLongDate) & "</lastedit>")
selection.Delete()
selection.Collapse()
Dim ed As EditPoint = selection.TopPoint.CreateEditPoint()
ed.Insert(result)
End Sub

View 1 Replies

Visual Studio :: Inordinate Pauses When Indenting Lines Of HTML?

Jan 18, 2010

An example: I have a fairly simple "contact us" kind of HTML form. No controls, just straight HTML, total size of aspx file is 570 lines. There is a Country drop-down list, with roughly 240 lines of "<option value="..">..</option>, one for each country.

Say I need to change the indent of those option lines. I select all ~240 of them, hit TAB and.... wait.

and wait...

and wait...

Finally, VS recovers from whatever trauma I've inflicted upon it, having successfully indented the lines. We actually have other coders getting up with an audible sigh, and going to make coffee in frustration while this sort of thing happens. Just from changing the indent of a bunch of HTML. It also happens when doing a find & replace on that same selection of 240 option lines... huge pause!

Would something be wrong with our setup? Some options (HTML intellisense-related perhaps) which we can adjust so VS doesn't go catatonic when we simply want to change indent? I've resorted to pasting stuff into TextPad, doing the indenting/replacing/whatever, then pasting it back into VS. That can't be an industry standard practice, I can only assume something is off with our installs.

VS's reaction reminds me of Kylie from Fantastic Mr Fox. Select some HTML, hit TAB and...

View 3 Replies

Visual Studio :: Visual Studio 2010 Missing Ajax And No Web.config When Creating New Project?

Sep 28, 2010

when i opened my Visual Studio 2010 i noticed that my ajax tab was missing from my toolbox and ajax control kit too.Then i noticed even that when i create new website, there is no web.config in it and it should be.WHAT IS GOIN ON???? :/

View 13 Replies

HttpHandlers / Modules :: Visual Studio + Iis 7 / Press F5 In Visual Studio Project Work With Url Rewrite?

Apr 1, 2010

i install url rewrite iis module to my computer i want when i press f5 in visual studio my project work with url rewrite how can i this?my web sites is not seeming in iis.

module=http://www.iis.net/expand/URLRewrite

View 1 Replies

Visual Studio :: Visual Studio Hangs When Create A New Website Or Project

Sep 2, 2010

Just as the subject says, my VS'05 installation hangs when trying to create a new website. I even installed a fresh version of VS08 along side '05 and '08 is doing the same.

View 9 Replies

Visual Studio :: Conversion From 2005 Project To 2008/2010 Project Error?

Jul 17, 2010

I have downloaded a project from the internet called the SMS Source example. I wanted to open this project in VS2010, so a conversion wizard has popped up prompting for the conversion. But it has errors in converting.

Error msg:

Conversion Report - SMSSend.csproj:
Error converting project file. MSB0001: Internal MSBuild Error: Missing resource 'MissingAttribute'

View 3 Replies

Can Run A Project In Visual Studio 2005 That Is Created In Visual Studio?

Apr 20, 2010

Can i run a project in Visual Studio 2005 that is created in Visual Studio Team Edition 2005

View 1 Replies

C# - Migrating From Website Project To Web Application Project In Visual Studio 2010 Causing All Controls To Throw Error?

Mar 29, 2011

I recently updated my VS2010 website project from .NET 3.5 to 4.0. Everything was working fine in the website project. Today I decided to migrate the website to a web application project as I have learned this is the best way to work in .NET. I split out all my class files into a separate class library and copied all my other content into my new project. Then I updated all the references and web.config.

When I build the class library, everything works great. The problem is happening when I try to build/debug the web application project. It is acting like all the controls are missing and it is also throwing a bunch of compile errors about the public properties I have in my master pages.

Control errors: "The name 'INSERT CONTROL NAME HERE' does not exist in the current context"

Master page errors:'System.Web.UI.MasterPage' does not contain a definition....

It is giving these errors for every single control and master page property in my entire solution.I notice when I add a new web.form to this project, it also adds a filename.aspx.designer.cs file in addition to the .aspx and .aspx.cs file. My existing files do not have these extra files since they were created in a different .NET version.

UPDATE: It seems I was missing the step where I need to right click on the new application folder and select "Convert to web application". I just did that and it seems to be a little bit better...

Now it is choking on Literals that are inside single quotes:

<div class='<asp:Literal ID="CssClassLiteral" runat="server"></asp:Literal>'>

It doesn't see this literal when it does the conversion... Is the above valid code or should I implement that functionality another way?

View 1 Replies

Visual Studio :: Can Visual Studio 2008 Be All In One Tool To Integrate Source Code Continuously

Jan 20, 2010

can Visual Studio 2008 be All-In-One tool to integrate source code continuously from team members, build, unit test?

Having used Visual Studio Team Edition 2005, unit testing each method within VS itself. I strongly believe that it is feasible to add-on tools. Example ankhsvn tool to use SVN from Visual studio [URL]

In my investigating i have come across number of tools(shown below) to use with Visual Studio 2008 professional

Development tool:- Visual Studio 2008 professional using Subversion as source control tool. Continuous Integration:- Hudson or Cruise control Build tool:- NAnt Testing:- NUnit, Selinium As Visual Studio 2008 can be used for unit testing I think NUnit is out of consideration.

In the same way i would like to have any other tools/add-ons to Visual studio to implement continuous integration, building and unit testing. This process should be automated such a way source code between team members is continuously integrated, built and unit testing is done as configured.

Objective is to use few number of tools as add-on to Visual Studio or achieve most from Visual studio itself (example unit testing). Visual Studio should be all in one tool.

I am aware that Team Foundation Server best suits my requirement, but it is out of scope due to its cost.

View 3 Replies

Visual Studio :: Calculate Sub Total Of The Extended Price Column?

Jun 10, 2010

How to calculate Sub Total of the extended Price Column

View 3 Replies

Visual Studio :: Don't See Empty Project Under New Project

Apr 21, 2010

I don't see Empty Project option in Visual Studion 2008 under NEW > Project?

View 1 Replies

Visual Studio :: Could Not Write Lines To File "objDebugTaxCalculatorComponent.csproj.FileListAbsolute.txt"

Dec 18, 2010

I have a simple class called TaxCalculator when I build solution the building doesn't complete and error list shows this message

" Error 1 Could not write lines to file "objDebugTaxCalculatorComponent.csproj.FileListAbsolute.txt". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. TaxCalculatorComponent"

View 1 Replies

Visual Studio 2008 - Finding Tools For Visual Studio 2008 Which Can Reformat ASPX Code

Jan 6, 2010

Is there any tool for Visual Studio 2008 which can reformat ASPX code to make it more presentable (eg insert line breaks, format the lines so they wrap when necessary, etc)?

View 5 Replies

Visual Studio :: MVC 2 RC 2 And Test Project?

Apr 8, 2010

I'm trying to create a MVC project inside of VS 2010 using Asp.Net MVC 2 RC2, using all the default settings and the default "Visual Studio Unit Test" framework and am getting 6 Namespace errors upon compile (without touching ANYTHING). Pretty standard setup. I removed the prior MVC versions before installing RC2 for VS2010 etc. These are the errors:

[Code]....

The namespace "AWWOAMVC" is empty (or so says Intellisense). Both of these reside in the same solution explorer, as it is brand new project.

View 5 Replies

Visual Studio :: Cannot Add A New Page To Web Project

Mar 14, 2011

I'll start off by pointing out I am on VS 2010 with a Web Application running against .NET 3.5 SP1 I have a Web Application that I've been working on for almost 2 years now, and suddenly I cannot add a new page to the project without it whining that 'Could not load type 'AA.Service.Pages.Folder_PageName'.' for any page I create 'AA' is the Root namespace defined in my project's Application tab in the settings... Since I started I have been namespacing my pages to avoid any possible conflicts with this pattern

[Code]....

and the aspx page would be like so:

[Code]....

That is the way every single page on the site is coded Now suddenly out of no where any new page I create throws 'Could not load type "AA.Service.Pages.Folder_PageName"' Every single previous page created in the project before today is exactly in the same pattern as above, refers to the same MasterPage, and works perfectly fine. I have done no window updates, VS updates or anything that could have caused this I don't even know where to begin. Trying to create a new blank, stand-alone, MasterPage-less page doesn't work either, same could not load type error I've tried doing stupid usual Microsoft tips like "reboot your computer" too.

View 3 Replies

Visual Studio :: How To Get A New Web Project Feature

Jan 28, 2010

I installed Visual Web Developer 2005 Express in Window Vista Home Edition. In this VWD 2005 Express, I can only create a new web site, not aweb project. So I installed Service Pack for this Express, vs80sp1-kb926751-x86-intl.exe. After this installation, I haven't found a new web project yet.

View 5 Replies

Configuration :: Using A Web App Project With Visual Studio?

Nov 18, 2010

I created my site using a web app project with Visual Studio.NET 2008 and I would like to publish all the site using the precompilation mode. How can I do that?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved