473,385 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Visual Studio Express 2008 - Target Platform

I've developing on xp64, and from a couple other topics I'm supposed to
change my target platform to X86 if i wanna do some specific 32bit stuff.

However, the option is supposed to be in Project properties - build tab...
but it's not there, where did it go? Do I have to do something specific to
my project for it to show?

Thanks
Jan 4 '08 #1
9 24391
Jono <Jo**@discussions.microsoft.comwrote:
I've developing on xp64, and from a couple other topics I'm supposed to
change my target platform to X86 if i wanna do some specific 32bit stuff.

However, the option is supposed to be in Project properties - build tab...
but it's not there, where did it go? Do I have to do something specific to
my project for it to show?
Hmm... on my box (x86) it's under "Define DEBUG constant" and "Define
TRACE constant" as a "Platform target: " dropdown. What's on your Build
tab?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Jan 4 '08 #2
You don't see a dropdown box for "platform target" in the first section
(General)? What do you see in that section? What version of Visual Studio
are you using?

RobinS.
GoldMail, Inc.
---------------------------------
"Jono" <Jo**@discussions.microsoft.comwrote in message
news:72**********************************@microsof t.com...
I've developing on xp64, and from a couple other topics I'm supposed to
change my target platform to X86 if i wanna do some specific 32bit stuff.

However, the option is supposed to be in Project properties - build tab...
but it's not there, where did it go? Do I have to do something specific
to
my project for it to show?

Thanks
Jan 4 '08 #3
Here's my build options screen
http://img.photobucket.com/albums/v2...008options.jpg

Here's my about box
http://img.photobucket.com/albums/v210/retrad/about.jpg

I downloaded the VS Offline Install from here
http://www.microsoft.com/express/download/default.aspx

I'm using Windows XP 64bit edition

I installed the Visual C# and DirectX SDK (Nov 07) and am getting a not a
win32 application exception, but there's a post on here from about last week
saying I need to change my target platform option to x86 to do that kinda
stuff however... I can't. The help gives me a command line option to specify
the platform, but then goes on to say that this option is not valid inside
the IDE.

"Jon Skeet [C# MVP]" wrote:
Jono <Jo**@discussions.microsoft.comwrote:
I've developing on xp64, and from a couple other topics I'm supposed to
change my target platform to X86 if i wanna do some specific 32bit stuff.

However, the option is supposed to be in Project properties - build tab...
but it's not there, where did it go? Do I have to do something specific to
my project for it to show?

Hmm... on my box (x86) it's under "Define DEBUG constant" and "Define
TRACE constant" as a "Platform target: " dropdown. What's on your Build
tab?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Jan 4 '08 #4
Jono <Jo**@discussions.microsoft.comwrote:
Here's my build options screen
http://img.photobucket.com/albums/v2...008options.jpg

Here's my about box
http://img.photobucket.com/albums/v210/retrad/about.jpg

I downloaded the VS Offline Install from here
http://www.microsoft.com/express/download/default.aspx

I'm using Windows XP 64bit edition

I installed the Visual C# and DirectX SDK (Nov 07) and am getting a not a
win32 application exception, but there's a post on here from about last week
saying I need to change my target platform option to x86 to do that kinda
stuff however... I can't. The help gives me a command line option to specify
the platform, but then goes on to say that this option is not valid inside
the IDE.
Hmm. My guess is that it's something which the Express edition doesn't
allow, but that's only a guess.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Jan 4 '08 #5
oh, i mean the command line parameter is not a valid option, it goes on to
say to use the options screen to change the target platform...

i guess i gotta get a virtual machine loaded somewhere and do my development
on there, which is really annoying

"Jon Skeet [C# MVP]" wrote:
Jono <Jo**@discussions.microsoft.comwrote:
Here's my build options screen
http://img.photobucket.com/albums/v2...008options.jpg

Here's my about box
http://img.photobucket.com/albums/v210/retrad/about.jpg

I downloaded the VS Offline Install from here
http://www.microsoft.com/express/download/default.aspx

I'm using Windows XP 64bit edition

I installed the Visual C# and DirectX SDK (Nov 07) and am getting a not a
win32 application exception, but there's a post on here from about last week
saying I need to change my target platform option to x86 to do that kinda
stuff however... I can't. The help gives me a command line option to specify
the platform, but then goes on to say that this option is not valid inside
the IDE.

Hmm. My guess is that it's something which the Express edition doesn't
allow, but that's only a guess.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Jan 4 '08 #6
Jono <Jo**@discussions.microsoft.comwrote:
oh, i mean the command line parameter is not a valid option, it goes on to
say to use the options screen to change the target platform...

i guess i gotta get a virtual machine loaded somewhere and do my development
on there, which is really annoying
You may be able to put it in the project (.csproj) file, even if you
can't access it in the UI.

For instance, find a section like the one below, and include the
<PlatformTargetelement (which won't currently be there, I suspect):

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>

I *hope* this would work...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Jan 4 '08 #7


"Jon Skeet [C# MVP]" wrote:
You may be able to put it in the project (.csproj) file, even if you
can't access it in the UI.

For instance, find a section like the one below, and include the
<PlatformTargetelement (which won't currently be there, I suspect):

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>

I *hope* this would work...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Thanks Jon, worked like a charm
Jan 4 '08 #8
Hello Jono,
I've developing on xp64, and from a couple other topics I'm supposed
to change my target platform to X86 if i wanna do some specific 32bit
stuff.

However, the option is supposed to be in Project properties - build
tab... but it's not there, where did it go? Do I have to do something
specific to my project for it to show?

Thanks
Juno;

AFAIK, you cannot target 64bit with the express editions, so there is no
need for an option for x86.

Karl
Jan 8 '08 #9
"Karl Mitschke" <km*******@somestate.govwrote in message
news:70**************************@msnews.microsoft .com...
Hello Jono,
>I've developing on xp64, and from a couple other topics I'm supposed
to change my target platform to X86 if i wanna do some specific 32bit
stuff.

However, the option is supposed to be in Project properties - build
tab... but it's not there, where did it go? Do I have to do something
specific to my project for it to show?

Thanks

Juno;

AFAIK, you cannot target 64bit with the express editions, so there is no
need for an option for x86.

Karl

Unfortunately, the default target for a C# project is MSIL (AnyCPU) , which
means it will run as 64-bit on a 64-bit OS.
This is particularly bad, as you can't load a 32-bit DLL in a 64-bit
process, which is what the OP is trying to do.
Choosing MSIL as default target was a big mistake, the default target
should have been X86, which is valid for +99% of the systems targeting the
CLR.

Willy.

Jan 8 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bootstrap Bill | last post by:
A new Google group has been formed for the purpose of discussing the new Visual Studio Express products. http://groups-beta.google.com/group/Visual-Studio-Express The products are currently in...
2
by: R.H. | last post by:
I only have a dialup connection and I was wondering if someone knows where I can buy the CD or DVD with the new Visual Studio Express versions. I would download them, but it would take weeks at...
0
by: olrt | last post by:
Hello, I installed 4 monthes ago Visual C# Express,VB.NET Express and Web Developer Express. I followed the classic install from the Internet installation procedure. I would like to know if...
1
by: sundarvenkata | last post by:
Is multi-targeting possible using Visual Studio Express? If not, do I have any other options to target a 1.1 framework using Visual Studio Express? Thanks for your help, Sundar
3
by: =?Utf-8?B?Rmxhc2hwcm8=?= | last post by:
i have googled this question but cannot find an answer. i'm running windows vista and i'm using Visual Basic Express 2008. i know the build event button SHOULD be in under the compile tag but i...
0
by: Nicopilami | last post by:
Hi, i'm using Visual Studio WebDevelopper 2008 express all the day, and i would like to install some add in i've found, to write and manage javascript scripts more easily :...
3
MrPickle
by: MrPickle | last post by:
I am having trouble compiling with Visual Studio Express 2008 on Vista-64bit. I read that I must configure VS to compile for 64-bit but I did not have this option because that option is only...
15
by: chicane | last post by:
I am using VS2008 and I trying to use the Range Validator for the following: I have a text box that a user will input a date into for an appointment - the date entered must be at least 7 days...
0
by: usmanhalalit | last post by:
Hi. I need a free reporting tool for Visual Studio Express Edition 2008. I need an alternative of Crystal Report or Active Report which is easy to use and integrated with application. Any ideas?...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.