Building A .net 1.1 Project Using Msbuild?

Dec 7, 2010

The Web project we are working on is built against .net 1.1 framework.We would like to automate the build process for this project by using msbuild.However MSBuild only targets 2.0 framework. So how can this be done if we like to use MSBuild or MSBEE(this asks us to convert the web project to new version by opening up in Visual studio IDE)?We cannot convert the project to suit to 2.0 framework

View 1 Replies


Similar Messages:

Building A Project With MSBuild Which Has Only Class Files Without A Main Method?

Dec 7, 2010

I have a project which contains only .vb files. It doesn't include a suitable main() method to detect the entry point?

View 1 Replies

Building A Web Application Using Msbuild?

Dec 10, 2010

I have a web application solution with 14 projects which include web services, class libraries, sub-web applications.. can anyone provide a solution on how to get along with an example?

View 1 Replies

Compile A MVC Project Using MSBuild?

Feb 3, 2010

How do I compile an ASP.Net MVC project using MSBuild? We use a Continuous Integration server to compile and deploy our applications. To keep things simple I created an MVC 1.0 project in VS2008. I immediately created an MSBuild script file to compile it. I did not change any code in the project. The MSBuild script contained the following target.

<AspNetCompiler
VirtualPath="/"
PhysicalPath="C:Developmentmvc1"
TargetPath="c:publishxxx"
Force="true"
Debug="false"
Updateable="true"

The MVC project sln file is contained in the c:developmentmvc1 directory.I am running XP/Pro.I am receiving an error ASPCONFIG: it is an error to use a section registered as allowDefintion='MachineToApplication' beyond application level.

I removed the authenication mode, membership provider, etc. from the web config file until I finally saw a different error message.I am now receiving an error message saying that the file '/views/shared/site.master' does not exist.

View 3 Replies

MVC :: Getting Error On Building Project

Jan 31, 2011

I'm trying to use DropDownList like this

[Code]....

and when I build my project I get this error:

Error 2 'System.Web.WebPages.Html.SelectListItem' does not contain a definition for 'WriteLiteral' and no extension method 'WriteLiteral' accepting a first argument of type 'System.Web.WebPages.Html.SelectListItem' could be found (are you missing
a using directive or an assembly reference?) c:UsersUser1AppDataLocalTempTemporary ASP.NET Fileswebmvp8a9a9ab08b762337App_Web_nzuoptnz.3.cs 71

How I can fix this?

View 1 Replies

Configuration :: Lost References While Building Project

Oct 14, 2010

i have a webapplication project which uses some functionailty from class library project, i am Using VS2010 TCP 4.

so the class library is a reference in this webapplication project,

unfortunatelly, when i build the webapplication, the class decleration has been lost!!!, and the message appear "The type or namespace name 'ClassName' could not be found (are you missing a using directive or an assembly reference?)" !!! i must delete the class reference from the webapplication and re-refrence it again !!!

but still when every time i build the project the reference decleration removed !!! does that error in VS or what ?

View 1 Replies

.net - Visual Studio: Check Out File When Building Project?

Sep 2, 2010

I have a post build event that combines my JavaScript files and outputs to Production.js, however if Production.js is not checked out, the build fails. Is it possible to automatically check Production.js out when a project is built? [Edit]If possible using a post-build event, does anyone know how to do this? I am using Visual Studio 2008.

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

Session State Must Get Destroyed Each Time Building Project In Web Applications?

Mar 27, 2010

is session state must get destroyed each time we are building our project in web applications? this is really annoying because i have to re-log and get to the page i'm currently working on each time i need to build my project...

View 7 Replies

AJAX :: Simple Project Building Fine But No JavaScript In IIS7?

Mar 17, 2010

I'm just getting started with the ASP.NET AJAX Control Toolkit and got it installed into Visual Studio 2008 without issue.I created a very simple sandbox web app by following several tutorials. Some pages have a single button with a modalpopup event, others are using a calendar extender on a textbox. I've gone through many, including ones that you can interact with and seeworking on the website.Each time, VS builds the web app without issue and deploys and runs. The problem, however, is that "no AJAX happens" when I try to use the app. This has happened on two separate PCs running Windows 7 - one with Pro and another running Ultimate, all 64-bit One machine was also running Visual Studio 2010 beta 2).When I hit a page with some of the toolkit controls, the page renders normally and I see a lot of script references in the generated HTML so something's happening. But take one example:

[Code]....

View 3 Replies

Visual Studio - Way To Create Project From Existing IIS Website, Building Stuff

Sep 27, 2010

I'm left maintaining a proprietary codebase from a third-party vendor. The vendor is still sort of around, but support is limp. The site is ASP.NET.I have made some changes but I am having a really hard time getting IIS to compile these changes in. The bin/ directory has what I believe is a precompiled dll for the core classes. I've changed these but it doesn't recompile. I have tried deleting the dll but then the app refuses to build saying that the Global.asax can't inherit the type anymore, so I don't really know how to rebuild with changes.

View 3 Replies

Get MSBuild Output From CCNet Api?

Jul 16, 2010

I am building an asp.net shell on top of CCNet 1.5, where I send commands like force build to CCNet through the api. The ThoughtWorks.CruiseControl.Remote namespace has methods to get information from CCNet on the build, like status, elapsed time, etc.I would like to programmatically get the MSBuild task output from the CCNet api, but I haven't seen any methods for this. Is it at all possible? Or do I need to scan output files on disk or something?

View 2 Replies

Retrieve The Full Output From A Web Application With MSBuild

Jan 12, 2010

I have a misunderstanding with MSBuild. I want to build a web application (with a traditional .csproj project file) and get the "entire output" of the build in a new, clean output folder - including all the website files that are included in the project with <Content Include="....

The AspNetCompiler utility makes this easy for "web site" style projects - you specify the input folder and the output folder, and they can be entirely different.

So far I've only had success specifying the OutoutPath folder, i.e. moving the bin folder - but this only gives me the binaries and ignores aspx, image files, etc.

View 1 Replies

How To Use Nant And MSBuild To Build Debug Deployment

Jun 17, 2010

I have a Nant build script which referrences 30 other build scripts.

Each build script referrences a visual studio solution using MSBuild.

Each solution has 3 to 5 projects in.

Some projects are Class Librarys and some are Web Apllications.

The projects reference other projects both in their solution and out of their solution, so the projects do not use project references, they reference the the Release DLLs in the Bin folders of the other projects.

To use the software, I need to publish all the solutions together.

Which means I cannot do a deployment which is in debug mode.

Which means I cannot the step into and debug the code.

I would like to run the build script to get a deployment of the software which I can debug.

View 1 Replies

Configuration :: How To Use Msbuild To Create MSI Files Or Setup

May 27, 2010

I want to Use MSBUILD to create MSI Files or setup. Can I do it programetically.

View 1 Replies

MSBuild: Automate Collecting Of Db Migration Scripts?

May 20, 2010

Asp.net web application (source stored in svn) sqlserver database. (Database schema (tables/sprocs) stored in svn) db version is synced with web application assembly version. (stored in table 'CurrentVersion')CI hudson server that checks out web app from repo and runs custom msbuild file to publish/package app.

My msbuild script updates the assembly version of the web app (Major.Minor.Revision.Build) on each build. The 'Revision' is set to the currently checked out svn revision and the 'Build' to the hudson build number (incremented on each automated build).

This way i can match the app to a specific trunk revision also get other build stats from the hudson build number.

I'd like to automate the collecting of migration scripts (updated sprocs etc) to add to the zip package. I guess by comparing the svn revision of the db that has yet to be deployed to, to the revision being deployed, i can find what db files have changed in the trunk since the last deployment to that database/environment.

This could easily be achieved by manually calling the svn diff -r REVNO:REVNO command to list changed .sql files. These files could then manually have to be added to the package.
It would be great if this could be automated.

Firstly i'd imagine I'll have to write a custom task to check the version of the db that has yet to be deployed to. After that I'm quite unsure. how this would be achieved through an msbuild task either existing or custom?

Finally I'll have to autogen a script to add to the package that updates the database version table so as to be in sync with the application.

View 3 Replies

Visual Studio :: Unable To Use Web Deployment MSBuild V10 With AspNetMerge .NET 4

Jul 8, 2010

I am using Web Deployment v10.0 RTW and .NET Framework version 4.0 MSBuild.

There were some problems with incorrect settings and resulting in errors. I had to pass in my own values in order to continue to the next step:

[Code]....

With the above setting, it builds in .NET 4.0 instead of 2.0, but I am having trouble with AspNetMerge:

[Code]....

I was able to solve the above error by changing this inMSBuildMicrosoftWebDeploymentv10.0Microsoft.WebDeployment.targets:

[Code]....

But soon came to another error:

[Code]....

So I changed some more to make it work:

[Code]....

But again hit with another error but this one I can't solve:

(AspNetMerge target) ->

aspnet_merge : error 1008: The PrecompiledApp.config file is missing. Make sure the application has been precompiled with the Aspnet_compiler tool.

View 3 Replies

How To Setup A Development Environment Using Msbuild And Continuious Integration

Jul 6, 2010

I need to set up a developement environment using msbuild and continuious integration, NUnit etc. I am quite new to this kind of thing as it is normally already set up in most environments ive worked in. I am quite short of time as well and dont have have the time to read huge volumes in order to get an understanding (developement starts Monday next week) so need to get this up and running asap in the shortest possible time. Does anyone have a working sample I can utilise or a short tutorial that breaks this process down?

View 1 Replies

Installation :: Include An External Script For Execution In MSBuild.exe?

Mar 3, 2011

I have onle xml file which contain msbuild tags, means few task and I want to execute this file rather then .csproj file.

View 2 Replies

MSBuild Failing To Build Referenced Projects When Upgrading To VS2010?

Dec 8, 2010

I have recently upgraded my .Net 3.5 solution containing some C# code projects and a ASP.net web site project to VS2010 (from VS2008). It is building and running fine inside VS, but I get some problems when trying to build it on my server with MSBuild 4.0 via TeamCity. It seems like the projects that are referenced from the web site are not built. This was all working fine before I upgraded to VS2010, MSbuild 4.0 and Windows SDK 7.1.

Inside the msbuild script that I use to build from teamcity I have defined project references for the web site like this:

[code]...

When I try to run the build script I get an error message saying that it could not find the dll file when trying to copy it from the bin folder of the referenced project into the bin folder of the web site. This is happening because the referenced projects are in fact never built at all (No bin folder exists in the project dir).

I am not very experienced with MSbuild, so I may have overlooked some important stuff. Is it not so that MSbuild will automatically try to build the referenced projects if no project output is existing?

View 1 Replies

How To Get Code Coverage Working On A VS 2010 Project/Cannot Initialize The Project 'Project Name'

May 23, 2010

When I turn on Code Coverage in my test settings, on a project that references the Unity DI container I get the following error:

Cannot initialize the ASP.NET project'{Project Name}'.

The event log specifies the following reason:

Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.

View 2 Replies

Visual Studio :: Conversion From 2005 Project To 2008/2010 Project Error?

Jul 17, 2010

I have downloaded a project from the internet called the SMS Source example. I wanted to open this project in VS2010, so a conversion wizard has popped up prompting for the conversion. But it has errors in converting.

Error msg:

Conversion Report - SMSSend.csproj:
Error converting project file. MSB0001: Internal MSBuild Error: Missing resource 'MissingAttribute'

View 3 Replies

Forms Data Controls :: Put 2 Dropdown List: 1 Manufacturing Project, 1 Engineer Project?

Jan 8, 2010

On the Timelog page, I want to put 2 dropdown list: 1 Manufacturing Project, 1 Engineer Project. However, users can choose either Manufacturing project dropdown or Engineer project dropdown (not both).

View 4 Replies

Trying Create Unit Testing For An Existing Website Project (not Web Application Project)?

Mar 11, 2010

I'm trying create unit testing for an existing website project (not web application project). I cannot access my under test classes unless I use accessor. However, if I use accessor, I have problem to initiate an object with passing arguments. I only want to create unit tetsing for App_Code. After searching web, and I found that I'd better to create a web application project using my current existing website project. From solution explorer, add new project ->using existing website. My questions is: what impact will have for my current website to create the new project? Should I just convert my current website to web application? If do that, will it cuase problems on my website? I am new on asp.net, still learning..

View 1 Replies

WCF / ASMX :: Migrating .Net 2.0 Framework Web Service Project To .Net 3.5 Project & Impact On Proxy?

Nov 4, 2010

We are upgrading .Net 2.0 Framework Web service project to .Net 3.5 Project. We are not changing any methods. Will there be any change in the proxy because of this Framework Upgrade.My requirement is to all the existing clients consuming this webservice should not have any impact due to this framework upgrade.

View 1 Replies







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