-
Jan 12th, 2021, 10:30 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Friend sending me his .EXE. Tries to install .NET 3.5
He had an old app written a few years ago. He updated his VS to 2019 and recompiled. He emailed me the .EXE from /bin/debug/. When I ran it, it says it needs to install .NET 3.5, so I declined. I am running at least .NET 4.6. Anyone know what might be going on? I told him to make a brand new project in 2019 and send me the .EXE, and am waiting to see if I get the same 3.5 dependency.
-
Jan 12th, 2021, 10:50 AM
#2
Re: Friend sending me his .EXE. Tries to install .NET 3.5
VS 2019 isn't going to change the framework of a project automatically. The project would retain the framework it was configured for. That is why you can use VS2019 on a VS2010 project, and still use VS2010 on the same project. If the framework was forced to be updated, then the project would no longer be able to be worked on from VS2010.
They shouldn't have to do a new project. Just change the targeted framework. Even if they just targeted 4.0, the latest 4.y framework will support any lesser 4.x framework.
"Anyone can do any amount of work, provided it isn't the work he is supposed to be doing at that moment" Robert Benchley, 1930
-
Jan 12th, 2021, 07:01 PM
#3
Thread Starter
Hyperactive Member
Re: Friend sending me his .EXE. Tries to install .NET 3.5
How do you change the targeted framework ?
-
Jan 13th, 2021, 09:24 AM
#4
Hyperactive Member
Re: Friend sending me his .EXE. Tries to install .NET 3.5
Originally Posted by RipVoidWinkle
How do you change the targeted framework ?
Create new project, set the framework to version you need and then import all .vb files from your prior project.
Please dont forget to add good reputation if my advices were useful for you.
How? Under this post there is "RATE THIS POST" button. Click on it.
-
Jan 13th, 2021, 09:42 AM
#5
Re: Friend sending me his .EXE. Tries to install .NET 3.5
Originally Posted by RipVoidWinkle
How do you change the targeted framework ?
Or just go into the project properties and select the correct framework, no need to create a new project.
-
Jan 13th, 2021, 09:46 AM
#6
Re: Friend sending me his .EXE. Tries to install .NET 3.5
Originally Posted by VB.NET Developer
Create new project, set the framework to version you need and then import all .vb files from your prior project.
It's not even that complicated... open the project... open the Project Properties... change the Target Framework option.
-tg
-
Jan 13th, 2021, 11:42 AM
#7
Thread Starter
Hyperactive Member
Re: Friend sending me his .EXE. Tries to install .NET 3.5
-
Jan 13th, 2021, 02:39 PM
#8
Hyperactive Member
Re: Friend sending me his .EXE. Tries to install .NET 3.5
btw, if your problem is solved dont forget to mark this thread as resolved so we know that this is done.
thread tools - mark thread resolved - click on it.
Please dont forget to add good reputation if my advices were useful for you.
How? Under this post there is "RATE THIS POST" button. Click on it.
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
|