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"
I'm trying to publish project (tools vs2010), but cannot all the time getting the error below. I paste to my projects files from another project and then I changed namespace (OldProjectName) to the parent project (NewProjectName). But it still getting information from somewhere about old project.
I cleaned solution, builded, rebuilded. Closed and reopened again and all the time the same error.
I'm able to build project but publish it.
Error 1 Copying file objDebugOldProjectName.csproj.FileListAbsolute.txt to objDebugPackagePackageTmpobjDebugOldProjectName.csproj.FileListAbsolute.txt failed. Could not find file 'objDebugOldProjectName.csproj.FileListAbsolute.txt'. 0 0 NewProjectName
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
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...
installing visual studio 2010 pro RC in windows Xp SP3 and getting a message prompt : invalid windows installer package contact vendorlog file says
Error Message:
[02/22/10,17:09:07] Microsoft Application Error Reporting: [2] CMsiComponent::Install() expects the setup file for Microsoft Application Error Reporting, but the file failed verification. [02/22/10,17:09:07] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259. [02/22/10,17:09:08] VS70pgui: [2] DepCheck indicates Microsoft Application Error Reporting is not installed.
I was working on a .Net 2.0 application. Late at night I upgraded it to .Net v.4. Then, as SVN was complaining I started to do manual conflict resolution. Even later than that I tried to check in my changes, then hit some conflicts so manually merged changes from the two different .csproj files.
I can't get back to where I was and rolling back to the previous version makes me lose all the code that has been written for it.
So I'm looking for a quick/dirty and reliable way of making sure my application code doesn't get lost?
we have made a httphandler and then compiled it and have added its refrence to my project in VS.NETWhen we start VS.NET the referd extention to then above handler works currectly but at the time that we run the same project in IIS 6 (without running VS.NET)and we write the referd extention to the handler in the address bar , an Error 404 appears.Exp. http://mywebsite/default.ttttttttif .tttttttt is the referd extention.
I want to use a source control in VS2010, I know my best bet is TFS, but at the moment TFS(can't afford ). As i understand TFS is the new VSS_2005(can afford)Can VSS 2005 be use as a source control for VS 2010 solutions/projects?
I just recently upgrade my asp.net web project from visual studio 2005 to visual studio 2010. The upgrade was successful with no problems however im missing some features with this project. The One Click Publish feature(which is greyed out) in the header area of Visual Studio 2010 and the Add Config Transforms feature which is no where to be seen when you right click on web.config. When i create a new web project straight from visual studio 2010, these options work fine.
Visual Studio 2010 Beta 2 locked up, and when I tried to restart it, it wouldn't load, so I did a devenv.exe /resetuserdata to get it going again. It reset everyhing in my options of the web app/ etc, and now some AJAX conrols don't work such as dragpanel. I assume that it is because something got reset that I haven't enabled again, but can't figure it out.