|
-
Jan 23rd, 2008, 11:49 AM
#1
Thread Starter
New Member
Compiling on 2008
Im having trouble using my program i made on 2008. The one i questioned about a few days ago. I did it at home and im trying to pull it up at school. We have an earlier edition at school so i will need to compile it so it opens. im confused on how to do that in VB 2008 Express. So can I please get directions on how to do that. Thank you.
Also how do you mark a thread as resolved?
-
Jan 23rd, 2008, 01:36 PM
#2
Re: Compiling on 2008
So what you're saying is that at home, you created a program or dll in Visual Studio 2008 but at school, you only have Visual Studio 2005, 2003 or 2002?
If my assumption is correct and you're using Visual Studio 2005 at school, then you can change the properties of your project to target .Net 2.0 at home within Visual Studio 2008. Once you do that and remove the 2008 specific references (LinkQ and I think there is one more typically), you should be able to compile it in Visual Studio 2005. However, you may not be able to open the project itself within 2005 (I'm not sure on the compatability) so you may need to create a new project at school and import all of your existing code.
If you have 2003/2002 (.Net 1.1, .Net 1.0) at school then you're out of luck. You can try to import your existing code into a new project setup at school but it may or may not compile. If it doesn't, you can always go through and attempt to resolve each error.
-
Jan 23rd, 2008, 09:39 PM
#3
Re: Compiling on 2008
If you're using VB 2005 Express at school then you should use VB 2005 Express at home too. There's nothing to stop you having both installed at home, so you can still use 2008 for your own interest but for stuff you are working on at school you can use 2005. Otherwise it's just going to be a hassle as you'd have to hand-edit your SLN a VBPROJ files each time you go back to school.
Also, I'm not sure that VB Express 2008 does let you choose which .NET Framework to target the way VS 2008 does.
-
Jan 25th, 2008, 01:15 PM
#4
Re: Compiling on 2008
 Originally Posted by jmcilhinney
Also, I'm not sure that VB Express 2008 does let you choose which .NET Framework to target the way VS 2008 does.
C# Express allows you to target different framework versions so I would assume VB Express would do so as well.
-
Jan 25th, 2008, 08:05 PM
#5
Re: Compiling on 2008
 Originally Posted by kasracer
C# Express allows you to target different framework versions so I would assume VB Express would do so as well.
I just found out that it definitely does. As far as I can tell you can't choose a Framework when you create a project in the first place but you can change it from the Advanced Compile Options once it exists.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|