AspNetCompiler Including Files Are Not In Project
Mar 17, 2011
I'm using msbuild to automatically build and package a website ready for deployment. When I compile and then Publish my project through Visual Studio 2008 everything works fine However when I use msbuild I'm getting errors because AspNetCompiler is trying to compile aspx and ascx files that are not included in my .csproj, but still exist in version control. I know I can just remove them from version control, but can anyone tell me why these files are being compiled?
Here is my msbuild task.
<AspNetCompiler
TargetPath="$(PackageDir)Web"
VirtualPath="/"
PhysicalPath="$(buildDirectory)Web"
Force="true"
/>
View 1 Replies
Similar Messages:
Jan 26, 2011
I have tried to deploy a project using Windows Installer Deployment. And Successfully installed it in computer. But it is unable to connect with the Database in my system. Earlier the same project worked from my Visual studio but it is not working after the deployment.
View 3 Replies
Jul 22, 2010
I have a ASP.NET project which relies upon the FreeImage .NET wrapper. This is loaded using a reference to a external directory. The wrapper relies upon the FreeImage.dll being present to work (clearly). How do I get Visual Studio to include a reference to the FreeImage dll. It's not a .NET assembly, i think it was built in something else (so I can't add it as a reference).
I don't really want to have a copy for this project as these files reside in a different SVN repository
View 2 Replies
Sep 29, 2010
I have a web application that needs to be built using a nant script. All the projects in the solution build fine but for this error that crops up each time at the end of the build. I couldn't find much useful information on resolving this error. Has anyone encountered and fixed this kind of issue before?
[exec] ASPNETCOMPILER : errorASPRUNTIME: The target directory is not empty, and does not appear to contain a previously compiled application. Please delete it manually, or choose a different target. [C:SRCBorgWorld runkappsombies.metaproj]
View 1 Replies
Jan 7, 2011
I am doing a code review of a web project and want to make sure I have all the compiled dll's. I was provided only three .dll files for static analysis but wonder if I am missing any because when I looked at the actual code base and project it contained 20 various .cs files.All that I have opened shared a single namespace, but what was odd was the namespace was not the name of any of the .dll files. How does .net compile the application in the dlls that are found in the /bin folder? how does it get the names of the dlls? How do namespaces fit into this?
View 2 Replies
Apr 29, 2010
this is likely a naive question, but I want to do this right the first time.
I have a MVC solution which has the following:
Data project - C#
Services project - C#
MVC Web Project - ASP.NET MVC
Test Project
Currently, I am using the MVC2 source as a means to debug my own code. I do not plan on checking that in, but I realize once I go back to the MVC2 DLL, my solution will change.
I'm pretty sure I just shouldn't check in stuff that changes with each build: the bin folder on the Web project, for example.
Is there a list of what not to commit to source control?
View 3 Replies
Feb 22, 2011
I am Publishing a MVC project which contains a folder with a few CSV files.These files are included on the project.However, when I publish it these files are not copied
View 1 Replies
Nov 30, 2010
I have an audio gallery in which i want to give play option to user. I find embed code of html but it just play a file in background i want to give user a control to play or stop as it is available in mediaplayer or any other player. How can i do this?
View 1 Replies
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
Dec 7, 2010
Unfortunately, recently the developer that used to work on my site decided to disappear, I have all the files to my site (including the DLLs in the bin folder) but none of the codebehind files. This is making it impossible for me to debug in VS.NET.
Is there a way to recreate codebehind files for a web project from the DLLs in the bin?
I can already view the code in the dlls using a refactoring tool but the tool doesnt let me generate the asp.cs files.
View 3 Replies
Feb 22, 2011
I am Publishing a MVC project which contains a folder with a few CSV files.These files are included on the project.However, when I publish it these files are not copied. They are ignored.
View 2 Replies
Sep 16, 2010
How can I send my .net project file to somebody. Which all files do I need to send?
View 7 Replies
Mar 13, 2010
I followed the instructions from the release notes, except for one thing. I did not include the following in my web.config. Thas the the "bindingRedirect oldversion 1.0.0.0 to newVersion 2.0.0.0". I got an error message to the effect that I could not have 2 configuration sections in the web.config. I was told that as long as I had the system.web.mvc 2.0.0.0 in my BIN and, I was refereincing this same version dll that I should be fine? I am wondering if I should just create a new MVC2 project and copy my MVC1 relevent files into this MVC2 project, not sure.
View 1 Replies
Aug 18, 2010
I have two projects (Project A and Project B), these projects are hosted in different locations and on different servers. Project B want to access the files of Project A. which technique is required to fulfill my requirements.
View 1 Replies
Oct 7, 2010
My current Web Site does not have any designer.cs files. (Yes it is not a Web Application)The site is complete but now I added 2 Clases to my site and all good but when I want to make use of my GridView it tells me this:This is because I wrapped my code with the same namespace as in my classes like so....
namespace samrasWebPortalSQL
{
public partial class GridView : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Functions.RemoveCaching(this);
[code]...
View 1 Replies
Nov 29, 2010
what files are needed to deply a project?
View 1 Replies
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
Jun 3, 2010
i am trying to work up with captcha in my sign up page.Having a google search,i found a .dll which i implemented in my project and it worked fine.Now i want to know that is it a good idea to download the dll files and use it in the project instead of writing the whole code from the scratch?What are the disadvantages of using a dll instead of writing up the entire code form the scratch?
View 6 Replies
Mar 31, 2010
I'm frequently adding a lot of content files (mostly images and js) to my ASP.NET project. I'm using VS publish system, and on publish, new files are not published until I include them in the project. I would like to auto include all files in specified directory. Is there a way to specify wich directories should be auto-included in csproj file or anywhere else?
View 3 Replies
Jan 27, 2011
I've looked all over the web for the best way to organize an ASP.NET MVC2 project. I've only seen examples of people using the default template for MVC2 projects. But is this the best way to organize your project if it is going to contain a large number of files?
We're in the process of building an application that is heavily built around jQuery for UI and ajax using JSON. So, as you can imagine, we will have many custom .js support scripts.
In our solution, we have placed all our support libraries (3rd party and custom) into respective projects. The MVC2 project that is also in the solution is using the default MVC2 template.
In the MVC2 project, the "starting" structure is still pretty much unchanged. Under the Controllers directory, we have each controller AccountController.cs and HomeController.cs (for example). Under the Views directory, we have three subdirectories named Account, Home, and Shared. In the Scripts, directory we have also divided that up with three directories, Account, Home, and Shared. And finally we have the Models directory, that is also divided into Account, Home, and Shared subdirectories.
As you can see we haven't deviated from the basic template that much. But, as we start adding stuff to this, we're realizing how cumbersome this might become when we get upwards to 20 or 30 views and 100 support .js files.
View 1 Replies
Oct 22, 2010
I have existing web application project in which i need to add new subdirectory. In this subdirectory i need to add WCF service.Question is: Can i use different AppDomain then services from root directory? Also, can i add new global.asax just for this subdirectory?
View 2 Replies
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
Jan 6, 2011
I know you can copy a Website intact to the server and have it run normally (security and compilation time aside). What about the projects that are in the solution? [whose dll's are copied to the bin when built]. Is there a way to copy the projects' code files to the server as well?
My goal is to be able to debug [by modifying code in the project if needed] directly on the server without having to install an IDE [or keep building on dev machine and copying over dlls]. I can debug/modify the website files, but not the projects.
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