Visual Studio :: Reference Xml Files N The Setup Project?

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


Similar Messages:

Visual Studio :: Getting VS To Setup IIS When Opening Web App Project?

Oct 29, 2010

When I open up a web application project, VS attemps to configure IIS to open the project. This is fine, but typically there is already an application in that place. For example, we have apps that run at the root, and various feature branches would map to the same virtual application. Even though VS can *create* the application, it won't modify an existing one.

For example, lets say IIS has:
/MyApp
During my day I mightwant to work on MyApp from:
c:ranchesfeature1MyApp
c:ranchesfeature2MyApp
c:archive
elease102MyApp
c:production
elease204MyApp

If I delete /MyApp, then VS will create it when I open any of these projects, but it will never modify /MyApp to point to my current project. So first thing is: Is there any way to change this behavior?

Second question is, is there no way to open a web application project w/o having a properly backed IIS application setup? I know you can have the projects run off the casini webserver, but all of our applications target IIS and rely on inherited web.config settings. /MyApp is expecting to find config values that exist at /Web.Config and a login page for the entire system at /Login.aspx. Trying to run /MyApp in casini fails immediately because of these dependencies.

But what if I am just doing a code review. I don't care to browse the site, I just want to open the project. Is there no way to tell VS to just open the project and ignore the fact that IIS isn't setup right?

View 4 Replies

Visual Studio :: Debugging A Web Setup Project?

Jun 18, 2010

Is it possible to debug a Web Setup Project, specifically its custom action code, by setting breakpoints and walking through the code? How does one do this?

View 2 Replies

How To Custom Web.config In Visual Studio Setup Project

Mar 24, 2010

In the Setup Project I have 2 web.config files: web.config - used during the development and web_dist.config - the one that should be included into Setup Project. I must be sure the the Setup project will NOT include the web.config and will always include web_dist.config.

In the File System -> Web Application Folder I have added the Content Files from the project.
Also included the web_dist.config and mapped it to the web.config.

But this gives the warning:

WARNING: Two or more objects have the same target location ('[targetdir]web.config') And the actual config file included is web.config and not web_dist.config. What would be the best option to include the web_dist.config (and named as web.config in the setup)?

View 2 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

Configuration :: Visual Studio Web Setup Project - Deploy Outside Of Web Root (wwwroot)?

Aug 2, 2010

It is possible to create a Visual Studio Web Setup Project that deploy my files outside wwwroot folder and set IIS virtual directory to this folder?

View 1 Replies

Visual Studio :: Adding A Reference To A Project?

Apr 13, 2010

1. Is there a reason why someone would want to add a reference to an assembly (e.g. System.Drawing) but not add the Using statement? Seems that if you add a reference, you should add the Using statement automatically, but maybe not always?

2. Correct me if I'm wrong, the only benefit of adding a "Using" statement at the top of your file, is to bring into scope an assembly and not have to fully type the class name? So if I have a Using System.Drawing, I can type in
string = Color.Tomato.ToString(); instead of string = System.Drawing.Color.Tomato.ToString();

View 3 Replies

Website Project To Reference A Signed Assembly In Visual Studio?

Mar 30, 2011

I'm aware of the following two different types of web projects in Visual Studio 2008:Website projectWeb application projectA web application project can reference a signed assembly as long as the web application's assembly is also signed with the same key. However, this doesn't work with the website project because there is no place to sign an assembly. I think this is because the assembly is compiled dynamically on the server?

Anyway, is it possible to get the website project working with this signed assembly? Or will I have to convert this website project into a web application project?Edit:The following situation has required me to ask for clarification in this matter:I have a class library that is being referenced by several other projects in my solution in Visual Studio. One of the projects is a windows application that will be deployed to specific external users. In order to make sure that the application is using the correct assembly and to also prevent others from using the assembly (I am aware of the limitations with respect to its effectiveness), all assemblies have been signed and all the classes in the library are declared as Friend (internal).

The website project doesn't seem to have a way for me to sign its assembly and I get the following message when attempting to use anything from the library: "CLASS is not assessable in this context because it is 'Friend'", which is to be expected.The following attributes are inside the AssemblyInfo.vb file in my class library project:

<Assembly: InternalsVisibleTo("OtherProject1, PublicKey=AAA...")>
<Assembly: InternalsVisibleTo("OtherProject2, PublicKey=AAA...")>
...

My Conclusion:Looks like the cleanest way to do this would be to convert the website into a web application but this would require a bit of time to do since our site is pretty fleshed out already and as pointed out in other discussions, can be quite a pain to do. Going forward, I think creating a web application in the first place may have been a better idea and much more flexible for future development.

View 3 Replies

Visual Studio :: How To Add Copy A Reference Folder To Test Project Directory

Feb 3, 2010

I am working on my test project for my web service, and my problem is that, my web service uses a folder (within the folder there are crystal reports template).

How can I copy it to test porject?

I've tried to copy the folder to various directories such as bin, bin/debug, obj, rootDir etc, but none of them works

View 2 Replies

Visual Studio :: Add Shared Classes / Files Into Project

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

Visual Studio :: How To Clean The Useless Files In .net Project

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

Visual Studio :: Building A Project From Website Files?

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

Visual Studio :: Reference JavaScript Library From Multiple Websites Without Copying It To Each Project Folder

May 13, 2010

I have several web sites, all of which use the same JavaScript library. How can I "reference" this library from each of my web sites? If I just import the library into my web site in Visual Studio, I get in trouble as soon as the library changes, because I then have to update it in all web sites manually. It would be much easier to place the library in an external folder and just reference it from my web sites. How can I do this with Visual Studio?

View 9 Replies

Visual Studio :: Enable .asp Files In 2010 Website Project?

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

Visual Studio :: Search Entire Project But Skip JavaScript Files?

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

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

How To Setup .NET Project To Find Files

Jan 5, 2010

edit I do not want to redirect pages, specific files etc. I would like to change the path where images, videos and other media are stored from the root source directory to the directory of my choosing. In this case c:/dev/prjfiles/prjname/public (c:/dev/prjfiles/prjname/ is my working directory) and i except when my html does img src="/pic.png" it will find the image in c:/dev/prjfiles/prjname/publi/pic.png. I need a working solution, i tried looking at how to set virtual directories and etc. I cant figure it out.

View 7 Replies

Visual Studio :: A Website Adds Dll Under BIN And A Web Project Adds Dll Under Reference Folder?

Jul 21, 2010

Just to test, I created a blank website and a blank web site project.

When I added a referece to web site by doing right click and add reference it added the dll inside a BIN folder but on ther other hand when I did the same for a web site project it created a reference folder for me and then added the dll under the reference folder.

View 2 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

Configuration :: Exclude Files From Web Setup Project?

Aug 4, 2010

I try to create a web setup project. Following this example ttp://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx everything was perfect. Now I need to find how going trought the wizard exclude some files from Content files Output.

View 3 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

Visual Studio :: Microsoft Visual Studio 2008 Pro Edition - "There Were Errors During Setup"

Apr 7, 2010

I am a student of HLC, I am learning Visual Basic, they sended me lots of books and a CD with Microsoft Visual Studio 2008 Professional Edition. I have problem with installing it. There is the error;: "Setup Failed. Use the following links to research the source of the failure: There were errors during setup. Although the components were installed successfully, some setup errors were detected. View error log

For information on known setup issues, see the Microsoft Visual Studio readme file, readme.htm, located at the root of the installation source. For Knowledge Base articles on Visual Studio setup issues and solutions, see KB article 319714, HOW TO: Troubleshoot Visual Studio .NET Installation, at [URL]. To find help from other Visual Studio users, try the following newsgroups:

Visual Studio Setup
Microsoft Product Support
For details about this setup failure, see the setup
log files."

and

"The following component failed to installl: Microsoft Document Explorer 2008. The following components were not attempted: Microsoft Visual Studio Web Framework 3.0 Framework 3.5" and many other componetns. I have got Windows Vista Home Basic SP2 with 1.00 gb RAM and 2.00GHz. I all ready asked my tutor but he don't know how to make it work. There is no information on the web about this problem.

View 6 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

Open Aspx Files Directly By Clicking On Them Like Html Files Without From Within Visual Studio Or Visual Web Dev?

Feb 24, 2011

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 Replies







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