Click here to Skip to main content
15,896,111 members

hasantayyar - Professional Profile



Summary

    Blog RSS
35
Authority
13
Debator
4
Enquirer
19
Organiser
124
Participant
0
Author
0
Editor
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneralHow to create Framework 1.1 assembly using VS2005 Pin
hasantayyar11-Apr-06 11:31
hasantayyar11-Apr-06 11:31 
How to create Framework 1.1 assembly using VS2005

I was wondering for some time if its possible to create vs2003 (framework 1.1) assembly using vs2005 as i would love the option to still be able to produce fw 1.1 code mainly for supportability while using the vs2005 IDE which has such great improvements…. Class Diagram… Generate unit Tests etc…

Jomo Fisher published on his blog the 9 steps of enabling fw 1.1 build on vs 2005 … and ITS WORKING !

1. Copy the content of this blog post (MSBuild targets file) to “C:\program files\msbuild\” and name it “CrossCompile.CSharp.targets”
2. Create a new C# console project (I’m working currently on directions for winforms app)
3. Use notepad to edit MyApp.csproj. Replace the entire <import> tag with
<import project="$(MSBuildExtensionsPath)\CrossCompile.CSharp.targets">
4. When prompted, reload the project. You’ll have to answer a security dialog :
choose Load Project Normally
5. In VS, click the drop-down that says ‘Any CPU’ and select ‘Configuration Manager’
6. Under Active Solution Platform, select <new…>
7. Select ‘.NET 1.1’ and press OK.
8. Build and notice error about System.Collections.Generic. This means its working because generics aren’t supported in 1.1.
9. Open Program.cs and delete the line: using System.Collections.Generic; And rebuild.

Because winform apps in vs 2005 uses partial classes the easiest way to create a new win form app in 2005 that is compatible to 2003 is to create a winform app in 2003 then open it in 2005 (it will be converted to 2005) and follow the above step to build it using fw 1.1

Note: you wont be able to use the new vs2005 controls on vs2003 app as the framework 1.1 will not know how to deal with them so when ever you’ll try compiling forms with such controls you’ll get a compile time error.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.