Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 13, 2012 03:18 PM by Ben Aminnia
Member
46 Points
170 Posts
Jun 12, 2012 06:41 AM|LINK
Why is Windows Azure running .NET Framework 2.0? After my first website deployment, I got an error on targetFramework="4.0" apparently because the Azure version of .NET framework is 2.0.50727.4216.
How can this be fixed?
380 Points
65 Posts
Jun 12, 2012 07:32 AM|LINK
Hi, Windows Azure is already supporting Framework 4.0 since 2010, so it must be wrong setting
Jun 12, 2012 01:47 PM|LINK
But I didn't make any manual settings. Where's the setting? How can I change it to 4.0?
Jun 13, 2012 03:18 PM|LINK
1. Created RoleProperties_myrole.txt with the following line: TargetFrameWorkVersion=v4.0
2. Added this my cspack: /rolePropertiesFile:myrole;RoleProperties_myrole.txt
Ben Aminnia
Member
46 Points
170 Posts
Windows Azure running .NET Framework 2.0?
Jun 12, 2012 06:41 AM|LINK
Why is Windows Azure running .NET Framework 2.0? After my first website deployment, I got an error on targetFramework="4.0" apparently because the Azure version of .NET framework is 2.0.50727.4216.
How can this be fixed?
Pupuru
Member
380 Points
65 Posts
Re: Windows Azure running .NET Framework 2.0?
Jun 12, 2012 07:32 AM|LINK
Hi, Windows Azure is already supporting Framework 4.0 since 2010, so it must be wrong setting
Lead Business Process Analyst for CFM System Project
Colliers International
Ben Aminnia
Member
46 Points
170 Posts
Re: Windows Azure running .NET Framework 2.0?
Jun 12, 2012 01:47 PM|LINK
But I didn't make any manual settings. Where's the setting? How can I change it to 4.0?
Ben Aminnia
Member
46 Points
170 Posts
Re: Windows Azure running .NET Framework 2.0?
Jun 13, 2012 03:18 PM|LINK
1. Created RoleProperties_myrole.txt with the following line:
TargetFrameWorkVersion=v4.0
2. Added this my cspack:
/rolePropertiesFile:myrole;RoleProperties_myrole.txt