Forum VB .Net Problem after Reinstall

Problem after Reinstall

Postby Normero » February 10th, 2011, 7:28 pm

Hi,

I recently did a clean install of Vista so I had to reinstall everything, including Microsoft Visual Basics.

I downloaded it from your link in the documentation as last time.

Now when I hit F5 in my Game.cs I get:

"A project with an Output Type of Class Library cannot be started directly.

In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project."

Now, I don't really get VB I can only code in C#.

First, I got a popup that the project was targeted at .NET Framework 3.5 and I only had 4 installed on my machine. So I clicked target to 4. Then I got the above message.

I restarted and tried installing 3.5, but now, I get this message again.

What's wrong :<
Normero
 
Posts: 20
Joined: August 14th, 2010, 1:26 pm

Re: Problem after Reinstall

Postby Benjaminsen » February 14th, 2011, 9:20 am

Right clicking on the Player.IO test server project and choose "Set as startup project" should fix this issue.

Image
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to VB .Net