views:

154

answers:

2

Hello,

I was trying to build a C# solution on my Visual Studio 2008, that is running on a Windows Vista machine, but when I try to build it I'm getting this error:

Required file 'alink.dll with IAlink3' could not be found Amigo X

Amigo X is the name of the solution. What is wrong?

PS: Amigo X is a party that we have here in Brazil at the christmas, it's at the time to gave presents to your family. ;)

+1  A: 

You are using a C# 3.0 compiler on a machine which does not have CLR 2.0 SP1 installed. Try manually installing 2.0 SP1 and seeing if that fixes the problem.

JaredPar
@Nathan, yes this is definitely wrong. You cannot use the C# 3.0 compiler on a machine where the 2.0 SP1 patch is applied. There are updates to the core CLR which the 3.0 compiler relies on. In particular, it relies on IAlink3 to generate UAC manifest information.
JaredPar
I'm going to install it, if it solves my problem will accept your answer, but at this time +1.
Nathan Campos
@Nathan, if it doesn't solve the problem please post the version number of alink.dll in directory %WINDIR%\microsoft.net\framework\v2.0.50727 to the question. That will help in tracking down the problem.
JaredPar
A: 

This is a simple problem and there is an easy fix.

  1. Open project properties.
  2. In the Application tab, find the Manifest dropdown. choose the option 'Create application without a manifest'
  3. Run the application successfully.
sundali