.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What do I need to do to make a program work across versions

3 REPLIES 3
Reply
Message 1 of 4
jshimkus
459 Views, 3 Replies

What do I need to do to make a program work across versions

I am writing my first VB dot net program and we are also moving from MEP 2008 to 2010. What do I need to do to get my program to work in both MEP 2008 and 2010 or do I need separate program for each?

3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: jshimkus

You can't use the same extension in 2008 and 2010, because they depend on

different versions of the managed assemblies.

 

You'll need to build two projects and add your code files to each. In each project you have to reference the assemblies for the target release.

Message 3 of 4
jshimkus
in reply to: jshimkus

thanks, kinda what it looked like.

follow up question...Say I have a project called p2008 and an identical 2010 version called p2010 and I make a change in p2010. Can I just copy the modified .vb file or files over to the p2008 folder, open the p2008 project and re-build it and be good-to-go?

Message 4 of 4
Anonymous
in reply to: jshimkus

Multiple projects can use the same source files.

 

Put the source files in a folder that's outside the folders of the

project(s) you'll use them in.

 

In each project, choose "Add->Existing Item"  from the project

menu, and in the file dialog select the file(s) you want to add,

and instead of clicking the "Add" button, click the dropdown

arrow to the right of that button, and choose "Add as Link"

from the dropdown.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost