Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

So - I upgraded to VS2003 and recompiled the prin chserver.net component no problem.

 

Now anybody opening the component from VS.Net 2002 gets a stupid "The implementation has changed" error and if they try to open the source code they get "This code was created with a newer version of Visual Studio" so - in order to run my code they will have to upgrade as well????

 

Note that the code hasn't actually changed - I just opened it up in VS.Nret 2003 and recompiled it! Any thoughts?

Printer Monitor for .NET? - see Merrion Computing Ltd for details
  • *Experts*
Posted

Checked through the help and it seems that the solution ffile is converted to VS.Net 2003 and this is one-way.

 

So this effectively means we will need to maintain seperate copies of the solution for VS.Net 2002 and 2003 (or only use the older version?)

Printer Monitor for .NET? - see Merrion Computing Ltd for details
  • *Experts*
Posted

Nah - the dll compiled in VS.Net 2003 wont work in VS.Net 2002 - it complains about not being able to resolve something or other.

Anyway - two seperate machines with two different setups for the moment until I work out what is going on...

Printer Monitor for .NET? - see Merrion Computing Ltd for details
  • *Gurus*
Posted

Well the DLL you compiled using VS.NET 2003 uses a newer version of the framework, so that isn't surprising.

 

I have it on good authority that VS.NET 2003 can compile solutions to be version-compatible with VS.NET 2002. In the build configuration, you can select which .NET platform to build for. Hopefully that'll solve your problem.

 

You can also add the following line to your app.config.

 

<supportedRuntime version="v1.0.3705"/>

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...