Well it's close but not quite there!

I've installed the .NET Development components from the SDK but I
still cannot perform a Web Deployment build.

Hunting around I found that the wdproj file (the Web Deployment
Projects file) imports Microsoft.WebDeployment.targets from ProgFiles
\MSBuild\Microsoft\WebDeployment\v10.0 and this file resolves the
location of the aspnet_merge file to be in the same folder - but it's
not there! The SDK has installed it in ProgFiles\Microsoft SDKs\Windows
\v7.1\bin.

Now I've updated the Microsoft.WebDeployment.targets to point to the
actual location of the aspnet_merge file and the build succeeds - but
I'm wary of the fact that I have edited what is essentially a system
file!

I'd appreciate your feedback on this one. Is there something that I
may not have done correctly during the installation of .NET4.0, the
Web Deployment Projects extension or the SDK? Or is this a reasonable
'hack' to get things working?

Thanks in advance

Dave

On May 27, 8:31 pm, David Carson <[email protected]> wrote:
> Thanks Thon - I'm downloading the ISO now and will install tomorrow and
> feedback
>
> ======================
> Dave Carson BEng (hons)
>
> There are 10 types of people..
> Those who understand Binary,
> and those who don't.....
> ======================
>
> On 27 May 2010 20:26, Thon Becker <[email protected]> wrote:
>
> > You need Windows SDK 7.1 and .NET Framework 4.0 and that all.
>
> >http://blogs.msdn.com/b/windowssdk/archive/2010/05/25/released-window...
>
> > ----- Original Message ----
> > From: DilbertDave <[email protected]>
> > To: ccnet-user <[email protected]>
> > Sent: Thu, May 27, 2010 11:45:14 AM
> > Subject: [ccnet-user] Building VS2010 projects without installing VS2010
>
> > We are currently moving to Visual Studio 2010 and migrating our
> > existing VS2005/.NET2.0 projects to .NET3.5.
>
> > I committed an updated ASP.NET <http://asp.net/> projects to SVN and then
> > modified my
> > NAnt scripts to call MSBuild 3.5 and was surprised to see the normal
> > CI build succeed!
>
> > However I was not so lucky when I attempted to perform a 'deployment'
> > build, i.e. building the application and deploying to the test IIS
> > server.
> > Firstly, although I was building to .NET 3.5 MSBuild 3.5 was not going
> > to do the job and after researching the error message (which escapes
> > me right now) I found that I had to install .NET 4.0. That's fine,
> > it's the base for VS2010 and it will still build to .NET 3.5, no
> > problems there.
> > So with .NET4.0 installed I thought I was home and free but now I get
> > errors relating to aspnet_merge being missing! A quick Google search
> > and it looks like I need to install the Windows SDK - which can
> > apparently consume 4GB..!!!! I don't have that amount of free space on
> > the build server!
>
> > So the question is: what do I need to install on the build server
> > (which will soon be running CCNet 1.5) in order to build solutions
> > developed in VS2010?
>
> > Somebody out there must have done it and I won't be the only one who
> > will appreciate a few pointers.
>
> > Thanks in advance

Reply via email to