Svn - MVC Project Files / Not Add To Subversion?

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


Similar Messages:

Determine Name Of Compiled Dll Files From .cs Files In Project?

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

Finding DotNetNuke And Subversion Guidelines

Mar 19, 2010

I've Googled, Binged, and here at StackOverflow, looked through the related questions and searched, but I'm not finding what I'm looking for. I've also searched documentation on DNN.

What I'm looking for is any guidance (tutorials, blogs, step-by-step instructions for setting up a repository) etc from people who are experienced in using DotNetNuke with SVN.

We use SVN for all our source control, and have no problem with standard applications, because we pretty much built the repository and directory structure to work with our processes. This means when we do web sites, in Visual Studio, we do file based web sites, rather than setting them up in the local IIS. It just makes things easier for us.

However, with DNN, it appears that even if you get the source code, it is expecting to be set up in the local IIS, which means additional headaches for us.

For example, we are moving all of our source code off our local C drives, and onto a shared drive on a server. This is to enable backups in addition to our normal source control. (This was a management decision). So that means that we need to change the virtual web app when we make the move.

Has anyone come up with a good way to work around this? Can DNN be set up so that the developer web server in Visual Studio can be used, so that we can treat it just like any normal web app? Am I missing something obvious?

View 1 Replies

Adding A New Subversion User Programmatically With C#?

May 8, 2010

I am developing a custom Web Interface Browser for Subversion Repositories with C#/ASP.NET and SVNKit (Converted to .NET assemblies using IKVM.NET). Is there any clean way to locally add a new subversion user (that is added by the administrator) using C# code?

View 1 Replies

Web Forms :: Using Subversion Or Sharepoint As A Service?

Sep 10, 2010

I would love to have some guidance in this topic and we didn't really where to place this question.One of our clients is asking us to create a web page, embedded in a system we are about to start building, to be able to do some document versioning, he needs that the application would be able to store documents and keep their history, this is simple if we try something like subversion, CVS..etc, but he needs that the application masks (no matter the underlying service, Subversion, CVS or even sharepoint) all that things under the hood. So, he wants that the web page could do something like sharepoint or subversion does.

View 1 Replies

Installation :: Unable To Open A Website From Subversion

Aug 4, 2010

I inherit an ASP.Net web site from my predecessor, it does not have a .csproj file or .sln file and it's not controlled by version control system. I install SVN server from CollabNet and use AnkhSvn as client since it integrates with VS.Net well, but when I try to open a subversion project, it must be a solution or project, can not be a website, are there any workarounds?

View 1 Replies

C# - Building The Ability To Browse A Subversion Repository From Web App?

Feb 12, 2010

I'm researching the feasiblity of building the ability to browse a subversion repository from my web app. I'm developing in asp.net. I've read some mentions of WebDAV, but nothing that seems particularly concrete. Does anyone know anything about the protocol that is used to communicate with SVN? Or even better, a .net library that can do so.

View 2 Replies

Put Website And Class Library Projects In One .sln File On Subversion?

Mar 12, 2010

My company has several class libraries we use in multiple website projects (not web application projects). Website projects don't have .sln files, but I'm sure I've read in my past research that you can make a blank solution and put your website and class library projects in it. After answers to my previous questions, this is the direction that I'm going (based slightly on [URL]

/websites
/website1
/trunk
/website1
/libraries
/library1
/trunk
/library1
/library2
/trunk
/library2
/etc...

Then I planed on using svn:externals to copy /library1, /library2, and so on into the working_copy/websites/website1/ folder. I want my team members to be able to checkout the /trunk folder for website1 and get a .sln file, /library1 external, /library2 external, etc. I want that .sln file to contain the website1 website project, and all of the library external projects. Hopefully that would look something like:

/working_copy
/websites
/website1
/trunk
/website1
/library1 (svn:external of libraries/library1/trunk/library1)
/library2 (svn:external of libraries/library2/trunk/library2)
/etc.
website1.sln

So, at the end of all of this, the goal is that my teammates check out the trunk, open the solution, and everyone has the exact same solution. When we commit, everything is committed appropriately to subversion (the website code, and the libraries are committed to their appropriate place on the repo). How have others solved these issues? How can I make a .sln file that my team members and I can share in this manner?

View 2 Replies

Publishing A MVC Project Ignores Files?

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

MVC :: Embed Audio Files In MVC Project?

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

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

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

Dll - Recreate Codebehind Files From A Project?

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

Publishing A MVC Project Ignores Files?

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

Sending .net Project Files In Email?

Sep 16, 2010

How can I send my .net project file to somebody. Which all files do I need to send?

View 7 Replies

MVC :: Is Better To Create An 2 Project And Copy 1 Relevant Files

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

Web Application Architecture - Access The Files Of Project A

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

C# - No Default.aspx.designer.cs Files In My .NET Project

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

Configuration :: Files Needed To Deploy Project?

Nov 29, 2010

what files are needed to deply a project?

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

To Download The Dll Files And Use In The Project Instead Of Writing The Whole Code From The Scratch?

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

How To Automatically Include Content Files Into Project File

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

Jquery - Best Way To Organize Files In A Large MVC2 Project?

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

Multiple Global.asax Files Per Web Application Project?

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

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







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