473,813 Members | 3,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MsBuild failing when aliasing a dll reference with multiple projec

Hi all,

I am trying to compile / rebuild a solution with msbuild to be part of our
continuous integration.

One of the projects aliases a referenced project to resolve confilicting
namespaces. The problem ocurrs when MsBuild afterwards uses this same alias
for the reminder of projects who reference this project.

Can anybody help me with this? is it a bug or do i need to set something
that I have missed.

It works when is compiled with VS2005

Thanks

Juan Blanco
Sep 20 '06 #1
1 2188
I have a found a HACK to solve the problem, when creating the alias for the
dll if you put "global, yourAliasName" when the aliases get used on different
projects will also use the default global allowing your project to compile.

"juan blanco" wrote:
Hi all,

I am trying to compile / rebuild a solution with msbuild to be part of our
continuous integration.

One of the projects aliases a referenced project to resolve confilicting
namespaces. The problem ocurrs when MsBuild afterwards uses this same alias
for the reminder of projects who reference this project.

Can anybody help me with this? is it a bug or do i need to set something
that I have missed.

It works when is compiled with VS2005

Thanks

Juan Blanco
Sep 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2371
by: Jianwei Sun | last post by:
I am trying to edit an MSBuild project file in the Visual Studio 2005. I tried to use the Intellisense of the editor, so I reference the xmlns at the first line like this: <Project DefaultTargets="DDTI.Utilities.Clean" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> When I define some custome property like this in the build file .
2
1608
by: minorguy | last post by:
I have a general question about MSBuild (which I know little about so far) and I hope this is the right newsgroup. I can read the reference documentation about MSBuild, but it's not really telling me what I want to know. Perhaps someone can point me in the right direction. We have several projects, mostly C++, that we develop with Visual Studio 2005. I would like to automate this process. All of the targets, executables and DLLs, need to...
1
6506
by: ritesh.noronha | last post by:
Hi Group, I have a question regarding the commandline options of msbuild. I am currently using msbuild to build projects using the existing solution files. These solution files have references to external dll which have different paths on each machine. I am currently writing a build script and passing the specific path to the project file via the /p: switch of msbuild. My current build line is:
5
4473
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class libraries. We are having a path reference issue for the depending projects; if the build is started in another directory than that of the imported project. (It's a simple cannot find project xyz.csproj, build fails.) If we place the xml file in...
2
8157
by: Jonathan Kacprowicz | last post by:
I am trying to create a build process using MSBuild that will build my multiple projects all with the same AssemblyVersion and AssemblyFileVersion. I have tried using the AssemblyInfo task from the community tasks projects (http://msbuildtasks.tigris.org/) and the AssemblyInfoTask from the MSBuild blog (http://www.gotdotnet.com/codegallery/codegallery.aspx?id=93d23e13-c653-4815-9e79-16107919f93e). My scenario is this: I have several...
11
6928
by: Ed Sutton | last post by:
I was about to learn Nant when I came across some references to MSBuild. Where do I get it, or what application does MSBuild ship with? I have Visual Studio 2005 Professional. Thanks in advance, -Ed
7
2426
by: shapper | last post by:
Hello, I am working on an ASP.MET MVC Web Application with NET 3.5 in VS 2008. I need to run some extra tasks on this project build so I download MSBuild from http://msbuildtasks.tigris.org/. I installed it but no new project type shows in my VS 2008.
1
2525
by: chris.kennedy | last post by:
This is a little OT. I have a website which uses vb classes in the app_code folder which in turn call a data service. I want compile the app_code vb files into a separate dll (to use Sandcastle on them) with MSBuild (it's a bit of a work around). When I run my MSbuild file I need it to reference the classes created by service reference. How do I reference them in my build file. Is this a complete nonstarter. I have been told that we have...
0
1559
by: bpulimal | last post by:
We have a build machine that gets files for MSBuild from source control (SourceGear Vault). Occasionally, developers check in components and later decide to exclude those components from Visual Studio project. When build process gets the latest from source control, these excluded files also will get picked up. This causes a problem to the build process. MSBuild fails saying that it ‘could not load type (removed component). I believe MSBuild...
0
9734
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10669
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10407
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10424
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10140
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9224
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6897
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5569
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.