Visual Studio :: Unable Access To Classes From Other Folders Out Side Project Files
Jan 24, 2010
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.
View 3 Replies
Similar Messages:
Feb 20, 2011
VWD 2010 Express.
We have shared CSharp classes put into a shared folders for re-use. Now I want to add those classes into my project by creating a new folder:
1) Right click the solution,
Add -> New Folder
Give it a new, eg. SharedClasses
2) Right click the new folder "SharedClasses"
Add- > Existing Item...
Browse to the "Shared Folder", include those shared classes. But those files are added physically into the folder "SharedClasses" rather than a reference. How do I just add a link to those shared files? Since these files might be modified from time to time, I don't want to delete and add those file frequently.
View 3 Replies
Jun 9, 2010
I've inherited a VB.NET website and it won't compile because the class1 in the file class1.vb refers to class2 in a file called class2.vb. I get the following error when trying to compile: Type Class2 is not defined.
When I look in the object browser the classes are listed separately (i.e. not all grouped under the same namespace) and appear as:
Public Class Class
Inherits System.Object
Member of C:...mywebsite [code]....
View 2 Replies
Jul 2, 2010
I 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 Replies
May 27, 2010
Sometimes 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 Replies
Sep 21, 2010
I'm using VS 2010. I got the references to the classes from my project, now I need the .dll files but I can't seem to find them. How do you add the .dll's?
View 1 Replies
Jan 13, 2010
I 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.
View 2 Replies
Jun 21, 2010
I have existing ASP.NET 3.5 project I migrated to Visual Studio 2010. I didn't migrate it to .NET 4.0. Every time I try to edit .aspx page, it alters the .designer.cs class to point to System.Web.UI.WebControls.WebParts.UpdatePanel class instead of
System.Web.UI.UpdatePanel
class and then the build of course produces an error. The project properties says ".NET3.5".Also the "design" tab produces just one box saying "unknown server tag asp:UpdatePanel". It seems like it is looking at .NET4.0 to generate the desgn view, not 3.5
Is there a setting somewhere I need to change?
View 3 Replies
Nov 24, 2010
I've build a Class Library, in the same project i put a web project. But its impossible to access the classes from the dll generated by the class library. Whats wrong? JumpTide XML uses the namespace like:
namespace JumpTideClassLib
{
public class jumptidexml
{
public class MetaTags
{
Image:
View 1 Replies
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
May 7, 2010
Whenever i run the project this problem occur Can any one give me solution. should i have to delete webdev.webserver.exe and install another is this the right solution for my problem.
View 1 Replies
Feb 9, 2011
I have a solution file which has 3 projects in it, which was developed in VB,VS 2003. when i am trying to open the solution file, framework is able to open the 1st and 2nd projects but for the 3rd project it was showing an error "Unable to get project file
from web server".
View 2 Replies
Apr 26, 2010
I currenty have a project hosted on our server, when i open that project folder i see about half of the folders i should normally see, i dont see the Controllers folder, Properties folder, obj folder, as well as the csproj file. Before I could copy this same folder and put it on my laptop and after it brought all of them over it would show these folders. Now it wont, it just copies over what it sees, not the other folders...I'm trying to create a copy on my laptop that I can work on then publish it to the server...I was able to do this before just fine, now its not copying/generating the necessary folders/files to my comp
View 2 Replies
Mar 23, 2010
I work on an asp.net web application (3.5) with Visual Studio 2008. There are a lot of files in this project (approximately 500 aspx files) and I think I can remove some of them.
My question is: Is there a way to identify the useless files, I mean, the files that are no longer used in the project (like an image, aspx, etc.); by using Visual Studio or an external tool?
View 2 Replies
Dec 13, 2010
I am using VS2010. When I am building a release for a WinForms Applicaiton, I can see some .xml files relevant to project in the bin elease folder. The .dll (third party component) has been referenced in the References folder of the project for eg. Rebex.Net.Ftp and in the properties window the Source Path is
C:Program FilesRebexFile Transfer Pack for .NET 4.0FTP SSL for .NET 4.0inRebex.Net.Ftp.dll In the above mentioned source path directory there is an Rebex.Net.Ftp.xml which gets pulled across to the release folder as well. I couldn't really get my head around where this can be referenced so that it puts this .xml file in the release folder of the project when I do a build?
My main problem is, when I created a setup project for this application, I can't get this file included in the installation pack (after installing the .msi file). I get the Rebex.Net.Ftp.dll but not Rebex.Net.Ftp.xml file. I tried all the options in the Project Output except including the "Source files" which I dont want to. how to include the .xml files in the setup installation pack, ie., if there are properties I am forgetting to set or something like that?
View 3 Replies
Oct 30, 2010
I have been asked to do some work on a website. I downloaded all of the files and chose "open website" in Visual Studio. In the picture below you can see the file structure. When I run the project I get some errors such as "could not load type 'AdminSite.Partner.Listing" or "file project/adminmaster.master does not exist'. Now, those files are indeed there. I have noticed that within the Admin folder and the Home folder there are compiled DLLs in the bin folders. Also, there are project files within each of those folders. I've tried opening the project files and the projects only encompass the files within each of the Admin and Home directories respectively. I'm just wondering what the best way is to set up this solution. As I've done so far, by opening it as a web site, why is it not seeing the DLLs in the bin folders when I run it? Do I need to reference them somehow?
View 5 Replies
Apr 20, 2010
I started working on an Asp.net MVC website using Visual Web Developer Express 2008 a while ago. Just recently, I managed to get my hands on a copy of Visual Studio 2008 Professional (through DreamSpark ). I installed the Service Pack, and also the MVC2 files for Visual Studio.
However, now I can't open my project anymore. When I try to open the solution in Visual Studio, it tells me that the project type is not supported. Does this mean that I have to resort to using VWD Express again? Is there perhaps some way that I can edit the project file so that it will load and compile correctly?
Note: I installed MVC2 through the Web Platform Installer, and it says that it installed successfully. However, I notice that MVC references in my unit-test project don't seem to be resolved either - is this perhaps because MVC2 isn't actually installed properly?
View 2 Replies
Jan 14, 2011
I am not able to debug a Remote web project (Where the project files are located in another server which is in the same network). I am getting the below error message:
Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,
Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Excel.Range.get__Default(Object RowIndex, Object ColumnIndex) at InventoryADD.Button1_Click(Object sender, EventArgs e) in
\10.38.23.228q1uatassettrackInventoryADD.aspx.cs:line 670
It works fine when i try to access the website through IIS. Shud i do some setting changes on VS 2005?
I've tried with
<trust
level="Full"
originUrl="" />
View 1 Replies
Nov 11, 2010
how I can enable .asp files in a simple VS2010 Website project? For example: Start VS2010 Click "File/New Web Site..." Accept defaults Add an html file called "Test.asp" Attempt to open Test.asp (debug project with that file active) and you get the following error: "This type of page is not served. ... is not server because it has been explicitly forbidden. The extension '.asp' may be incorrect " SO, HOW DO I EXPLICITLY ALLOW IT? VS2010 is using the ASP.NET Development Server....
View 2 Replies
Aug 2, 2010
When debug a project, then error message show:
"Error while trying to run project : Unable to start debugging on the web server. The project is not configured to be debugged."
View 2 Replies
Feb 1, 2011
I have not been able to open css files in VWD, I must have sone something I don't know. I can open them in wordpad, and WebDevelopment Server still displays properly so the file is not currupt. Is there a setting I messed up in web.config or somewhere else?
View 5 Replies
Jun 1, 2010
I am using VS 2008 for development of a web application and IE 7.
The website as usually has some java script and some server side code files (different layers).
For some reason when I start the application in the debug mode (by hitting F5), the break points in the JS are not hit. I get the usual error as no symbols are loaded. But the break points in the CS files in the layers are hit.
If I use (CTLR + F5) and then attach the IE process to debug, then I am able to hit the break points in the JS file. But in this scenario I cant debug the CS files (I presume this is the expected bahaviour).
EDIT: In the IE (properties dialog), 'disable debugging' are unchecked.
why in the F5 mode I am not able to hit the debug points. The same used to work in the different machine not sure what is wrong in this one.
View 9 Replies
Mar 20, 2010
I am using VS2008, SP1. I am unable to put breakpoints in my client side javascript code. Wherever I try to put the breakpoint, I am getting the message: "This is not a valid location to put the breakpoint". I have the js intellisense working fine. I also unchecked the two "Disable Debugging" checkboxes on IE. Due to this problem, I am unable to debug the js in VS 2008.
View 3 Replies
Jan 11, 2010
I am new to LINQ. when we drag tables we get a dbml file and designer file.
For example DataClasses1.dbml and DataClasses1.designer.cs.
Once we have them then we can start using our LINQ Queries.
In my company project I do not see this designer files and instead there are .tt files which were used as templates to greate ABC.generated.cs files. Is this same as designer class?
View 3 Replies
Mar 25, 2011
This is one thing that's long driven me nuts. Sometimes I want to search the entire project for some string, and about a billion matches occur in JavaScript files, making the search unusable. Is there a way to specify file types to include in the search?
View 2 Replies