473,498 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems using 2002 Assemblies on 2003

Hi all,

I'm creating an addin for the .NET IDE, and have the following problem.

It's using C#, and is packaged into a installer with the .NET 2002
version. Obviously, this results in the 7.0 version of
Microsoft.VisualStudio.VCProjectEngine.dll being packaged.

Now, I need the addin to work with both the 2002 & 2003 version of .NET.
For people who have both versions installed (which is my case), there's
no problem. But people who only have the 2003 version installed, they
get the error message:
"The located assembly's manifest definition with name
'Microsoft.VisualStudio.VCProjectEngine' does not match the assembly
reference".

My question is, what would be the cleanest way to resolve this issue?
Will my installer have to dynamically change the manifest, package both
7.0 & 7.1 version of the DLL, or ..?
Thanks for any help!

Sincerely,
Marius
Jul 19 '05 #1
1 1798
You have a couple of options.

1. Have the installer dynamically install the proper version
2. Use reflection.emit to have the code generated (by a custom installer) on
the client

I think 1 would be the easier solution, but 2 could work, as well.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

************************************************** **************************
****
Think Outside the Box!
************************************************** **************************
****
"Marius Storm-Olsen" <ma******************@stormDASHolsen.com> wrote in
message news:et**************@tk2msftngp13.phx.gbl...
Hi all,

I'm creating an addin for the .NET IDE, and have the following problem.

It's using C#, and is packaged into a installer with the .NET 2002
version. Obviously, this results in the 7.0 version of
Microsoft.VisualStudio.VCProjectEngine.dll being packaged.

Now, I need the addin to work with both the 2002 & 2003 version of .NET.
For people who have both versions installed (which is my case), there's
no problem. But people who only have the 2003 version installed, they
get the error message:
"The located assembly's manifest definition with name
'Microsoft.VisualStudio.VCProjectEngine' does not match the assembly
reference".

My question is, what would be the cleanest way to resolve this issue?
Will my installer have to dynamically change the manifest, package both
7.0 & 7.1 version of the DLL, or ..?
Thanks for any help!

Sincerely,
Marius

Jul 19 '05 #2

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

Similar topics

1
1577
by: Pål Andreassen | last post by:
I've recently installed Visual Studio 2003 on my development computer. But so far I've yet to use VS 2003 and .NET Framework 1.1 in any real projecs. I have several projects and customers...
1
277
by: Marius Storm-Olsen | last post by:
Hi all, I'm creating an addin for the .NET IDE, and have the following problem. It's using C#, and is packaged into a installer with the .NET 2002 version. Obviously, this results in the 7.0...
7
3439
by: Wayne Aprato | last post by:
I have several Access 2003 mde databases. When I try to open them in Access 2002 I get the following error: "The Visual Basic for Applications project in the database is corrupt." ...
10
2375
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ...
4
5082
by: Max | last post by:
Hi, I would like to have a button and a combo box with options to select various versions of Microsoft Outlook: 2002, 2003. The user selects the email client and clicks the button. The only...
2
1300
by: Jon | last post by:
I can't run aspnet applications after doing building it in Visual Studio. I can load the application in my browser until I make changes in vs. After that, it just hangs. I've waited up to 5-10...
4
3496
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
3019
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
12
1144
by: Sueffel | last post by:
Okay, I have Framwork v1.0 on my devel machine, VS.NET 2002. On my workstations, I have Framework v1.1 (Redistributable) installed. Everything runs fine on my test machine, and it does not run on...
0
7125
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,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
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,...
0
7203
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...
1
6885
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...
0
5462
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,...
1
4908
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4588
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...
0
290
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.