Visual Studio :: Prevent Move Of Files And Folders?
May 27, 2010Sometimes i move files and folders by mistake. Is there a way to prevent this. Something like putting a "lock" on the position of files and folders?
View 6 RepliesSometimes i move files and folders by mistake. Is there a way to prevent this. Something like putting a "lock" on the position of files and folders?
View 6 RepliesI tried excluding some files and folders in VS 2008 and they just disappear when I just want them to appear "whited" out. How can I change this behavior?
View 1 RepliesI have set of folders in Source Control Explorer:
1, 2, 3, 4... etc
in each we have files:
a, b, c, d... etc
I need to CheckOut files with name 'a' in all folders Is it possible automatically or I should go into all folders and check one by one all files?
PS I have Visual Studio 2005, but installed only TFS.
im facing problem to access classes out side my project folders. for example if i want to use some methods from store.vb file inside my project i get error : Name Space is not defiend, i have tried all ways such as import sdf.ITracjer.Data
[Code]....
i can't fetch the Store Class Methods or Function because its out of project directory, as its showin in image.
VWD 2010 Express.
I have a folder contains 3 sub-folders and each folder contains sug-folders and files.
Anyway I can add into my project by including the parent folder instead of add the files one by one?
is it possible to open aspx files directly by clicking on them like html files without from within visual studio or visual web dev?
View 2 RepliesWhen I right click on any folder below the App_Themes folder in VS 2010, the only web file that appears to be able to be added is the Skin file. If I pick a regular folder within the site (other than App_Themes), Style Sheet does appear.
I checked both an existing web application project (VS2008 upgraded to VS2010) and a new web application project created in VS2010 and both yield the same results.
I can create a CSS file in another folder (like the main folder) and then drag it into the theme folder, as a work around. Just trying to determine if I was missing something regarding theme folder and CSS files.
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?
This is REALLY lame, but I can't MOVE Detailsview on the page in design view. I've got 6 other items on the page and I just click on them and move them anywhere I want.DetailsView won't BUDGE ? Tried everything I know...
View 2 Repliesi have few folders which has files & some sub folders ----- in another application
i need to add it in current application
without creating the folders/sub folder/subdolder1 is it possible to add all the subfolders as it is using add exixting item
How can I move my contentplaceholder to the upper righthand side? My source code is below.
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Triage Control Center</title>
<link href="TriageStyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="MasterPageForm" runat="server">
<div id="master_header">
<div id="master_headertop">
<asp:HyperLink ID="HomePageLink" runat="server"
NavigateUrl="~/Default.aspx" ToolTip="Triage Control
Center">[HomePageLink]</asp:HyperLink>
</div>
</div>
<div id="master_page">
<div id="master_menu">
<div class="sidebar">
<div class="sidebarheader">CLS Applications</div>
<div id="master_sidebarSamples" class="sidebarcontent">
<asp:Repeater ID="SamplesLinks" runat="server"
DataSourceID="SamplesSiteMap" EnableViewState="false">
<ItemTemplate>
<asp:HyperLink ID="SamplesLink"
runat="server" Text='<%# Eval("Title") %>' NavigateUrl='<%# Eval("Url") %>'
EnableViewState="false" /><br />
</ItemTemplate>
</asp:Repeater>
<asp:SiteMapDataSource ID="SamplesSiteMap"
runat="server" SiteMapProvider="SamplesSiteMap"
ShowStartingNode="false" />
</div>
</div>
</div>
<div id="master_contentplaceholder">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div id="master_contentfooter">Copyright © 2010
Test. All rights reserved.</div>
</div>
</form>
</body>
</html>
I'm running VS2010 Pro. I have 4 textboxes and 4 labels on my form. I have the 4 textboxes in a div and the 4 labels in a div. The labels are above the textboxes; however, because I used margin-top and margin-left in my code it causes me to have a large space in between the labels and textboxes. I've tried using z-index, but it doesn't move them any closer.
By the way, here is my HTML code:
[Code]....
And here is my CSS code:
[Code]....
In VS 2005 I could change the layout appropriately, to move controls in a web form in design mode, to a place where I intend to. But in VS 2008 , I don't see such an option. My controls are stuck in places of their own and I am unable to move them to the intended locations. Googling suggested to use Tools -> option -> HTMLDesigner -> CSS. But not sure that is the correct route.
View 1 RepliesIm working in VWD and currently building a site with html and css. When I try to move some of the objects (DIV, P etc) that ar set with absolute positioning, other objects on the page are moved to the right of my main content div.
View 7 RepliesI basically want to do a reverse 'search in all files', so it returns files that don't contain "keyword".Does anyone know how to do this, or the regex used, etc?
View 1 RepliesI've inherited a bunch of code that has server script inside of .htm files.
On IIS, a handler mapping pumps.Htm pages though the asp.net engine.
Unfortunately, visual studio doesn't notice that they should be treated as code.
Is there any way to make VS treat .Htm files as code/aspx files?
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 <% %>.
My Visual Studio 2005 program doesn't open CSS files properly - when I open them in VS, it opens them as a text file. It is annoying because if I do something wrong, it doesn't show up the error and I have to sift through it all to try and find out what is wrong. Plus it doesn't show up the hints for the attributes.
View 5 RepliesWhat's the easiest way to delete all the files from my Temporary ASP.NET files in .NET 4.0 on my development box? It seems like I have to shutdown Visual Studio 2010, stop IIS, and then it will let me. Is there a simpler way?
View 1 RepliesI am using visual studio 2005 (and team explorer 2005) with tfs 2008. I have installed both Visual Studio 2005 SP1 and VS80sp1-KB932544-X86-ENU.exe.
I perform the following steps:
Select Project->ASP.NET Configuration within Visual Studio 2005. Within Visual Studio 2005, attempt to perform either a check-in or a checkout.
The following happens:
The local server started by Visual Studio starts closing itself. I suspect it is crashing; the systray icons are not properly disposed of. It then reopens itself. It does this over and over again, maybe once every second or two. The TFS progress meter doesn't even budge, it just sits there. Canceling out of the checkout does not work; it says it is cancelling and does nothing.
How can I prevent Visual Studio from naming the classes for new pages that are in folders from being named with the folder name? Does this method not set "right" with anyone else?
View 1 RepliesWhen writing inline code in an .aspx file and some lines down closing a statement with <% } %>, Visual Studio tries to be nice but messes it up by rewriting it all. Is there any way of turning this rewriting off, but only for inline code?
View 2 RepliesIf I have the following in an ASP.NET Web Form:
<asp:TextBox runat="server" ID="tbxUser"/>
and I copy and paste that line in the same page, I usually get the following:
<asp:TextBox runat="server" ID="TextBox1"/>
Obviously, nobody is going to name their controls in that way (if you don't want to name a textbox, simply don't asign an ID to it), and it's not nice having to change the ids of pasted controls. The same happens if I copy a control without an explicit ID, VS simply generates one for me. Is there any way of preventing VS from autogenerating IDs when I copy-paste ASP.NET code?
I was following the tutorials from this two sites:
http://www.15seconds.com/issue/070104.htm
http://aspnet.4guysfromrolla.com/articles/020404-1.aspx
Following the first site, it had worked but when I´ve moved the pages and files to other folders and set the web.config file on this folder, now it won´t work at all!!!
The file is an *.swf object. I did put the asapi.dll to map the extension on the website root, I´ve put the
[Code]....
on the web.config new folder and on the web.config website´s root.
It won´t work!!! I can access the file directly!!! on the web.config of the folder that contains the file, there is a <deny users="*" /> line.
I'm using Visual Studio 2010 and working on an ASP.NET 4.0 web application. At the moment, a co-worker and I are tweaking CSS, which means constantly changing and saving CSS files and then refreshing the running page in a web browser.Every few saves, the application restarts, causing a considerable delay while we wait for the app to start up, log in again, and return to the page we were working on. In an IIS production environment a CSS file wouldn't go through the ASP.NET ISAPI, but apparently when running with VS2010 and the developent web server this doesn't matter... or something.
View 2 Replies