Menu Close

How to add .net 2 features into .net 4 application program

When writting a C# application program by using Microsoft Visual Studio 2010, you may add any .net 4 features as a reference into your project. If you want to add some .net 2 features which are not available in .net 4, what you will do? For example, to add Microsoft DirectSound into your project. You can’t find it from the add .net reference, but you can do it in the following way:

1. add Microsoft.DirectX.DirectSound.dll file from the folder of C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0 as a reference. If it is not available, you to install Microsoft DirectX;

2. You must add  <startup useLegacyV2RuntimeActivationPolicy=”true”> Into the app.config file.

 

36 comments on “How to add .net 2 features into .net 4 application program

  1. Hello, you used to write magnificent, but the last few posts have been kinda boring¡K I miss your tremendous writings. Past several posts are just a bit out of track! come on!

  2. sesli sohbet on said:

    Thank you for the good writeup. It if truth be told was a leisure account it. Look advanced to more brought agreeable from you! However, how could we be in contact?

  3. bayan escort on said:

    Wow, incredible blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is great, let alone the content!

  4. Ernest Saunders on said:

    Excellent beat ! I would like to apprentice while you amend your website, how could i subscribe for a blog site? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear concept

  5. Bennett Brabec on said:

    Very well written information. It will be beneficial to anybody who utilizes it, including myself. Keep up the good work – i will definitely read more posts.

  6. Andy Roddick on said:

    I got what you intend, appreciate it for posting .Woh I am lucky to find this website through google. “I would rather be a coward than brave because people hurt you when you are brave.” by E. M. Forster.

  7. Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! However, how can we communicate?

  8. Arkansas Razorbacks on said:

    Woh I your posts , saved to bookmarks ! .

  9. Pamala Keveth on said:

    Thank you for sharing superb informations. Your site is very cool. I’m impressed by the details that you have on this web site. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for extra articles. You, my friend, ROCK! I found just the info I already searched all over the place and simply couldn’t come across. What a great web-site.

  10. Natalia Hamilton on said:

    What i do not understood is actually how you’re no longer actually a lot more smartly-liked than you may be now. You’re very intelligent. You understand thus significantly with regards to this topic, made me in my opinion believe it from a lot of various angles. Its like women and men are not fascinated until it’s something to do with Lady gaga! Your personal stuffs excellent. All the time maintain it up!

  11. I was examining some of your posts on this website and I believe this site is very informative! Keep posting.

  12. Really fantastic info can be found on site . “Life without a friend is death without a witness.” by Eugene Benge.

  13. I like what you guys are up also. Such smart work and reporting! Carry on the excellent works guys I’ve incorporated you guys to my blogroll. I think it’ll improve the value of my site :).

  14. You are my intake, I possess few blogs and infrequently run out from post :). “Never mistake motion for action.” by Ernest Hemingway.

  15. kacamata original on said:

    Very interesting information!Perfect just what I was looking for! “Peace, commerce and honest friendship with all nations entangling alliances with none.” by Thomas Jefferson.

  16. Mariela Totten on said:

    Simply wanna tell that this is very useful , Thanks for taking your time to write this.

  17. Bruce Dirago on said:

    Thanks for sharing excellent informations. Your website is so cool. I am impressed by the details that you’ve on this web site. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found simply the information I already searched everywhere and simply couldn’t come across. What an ideal site.

  18. rozwod warszawa on said:

    Valuable info. Fortunate me I found your site by chance, and I’m surprised why this twist of fate did not happened in advance! I bookmarked it.

  19. Hilma Macaluso on said:

    Interesting article. It is quite unfortunate that over the last ten years, the travel industry has already been able to to fight terrorism, SARS, tsunamis, bird flu, swine flu, and also the first ever entire global tough economy. Through all this the industry has really proven to be robust, resilient along with dynamic, discovering new strategies to deal with trouble. There are generally fresh problems and opportunity to which the field must once more adapt and reply.

  20. Angelena Neiswonger on said:

    You are my inhalation , I possess few web logs and rarely run out from to brand.

  21. Sherryl Ellingsen on said:

    Very interesting info!Perfect just what I was searching for!

  22. Bernie Fine on said:

    I was looking at some of your posts on this website and I believe this web site is very instructive! Continue putting up.

  23. Wow! This could be one particular of the most helpful blogs We’ve ever arrive across on this subject. Actually Great. I am also a specialist in this topic so I can understand your effort.

  24. I do believe all of the ideas you have offered on your post. They’re really convincing and will certainly work. Nonetheless, the posts are very brief for starters. Could you please extend them a bit from next time? Thank you for the post.

  25. Callie Martinetti on said:

    I’m still learning from you, as I’m improving myself. I definitely liked reading all that is written on your website.Keep the stories coming. I liked it!

  26. Hello There. I found your blog using msn. That is a very smartly written article. I will make sure to bookmark it and come back to learn extra of your useful info. Thank you for the post. I will certainly comeback.

  27. Cortney Kornfield on said:

    Very nice post. I just stumbled upon your weblog and wished to say that I’ve really enjoyed browsing your blog posts. After all I抣l be subscribing to your rss feed and I hope you write again very soon!

  28. Macrobid Dose on said:

    Hi! I could have sworn I’ve been to this website before but after looking at many of the posts I realized it’s new to me. Anyhow, I’m definitely delighted I stumbled upon it and I’ll be book-marking it and checking back frequently!

  29. Luella Kaminsky on said:

    F*ckin’ tremendous issues here. I am very satisfied to see your article. Thank you so much and i am taking a look ahead to touch you. Will you please drop me a mail?

  30. Only wanna say that this is extremely helpful, Thanks for taking your time to write this.

  31. T56 Shifter on said:

    Its like you learn my mind! You appear to grasp so much approximately this, like you
    wrote the guide in it or something. I feel
    that you just can do with some % to power the message home a bit, however other
    than that, that is fantastic blog. An excellent read.
    I’ll certainly be back.

  32. garcinia cambogia reviews Great – I should certainly pronounce,
    impressed with your website. I had no trouble navigating through all
    tabs as well as related info ended up being truly easy to do to access.
    I recently found what I hoped for before you
    know it in the least. Reasonably unusual.

    Is likely to appreciate it for those who add forums or anything, web site theme .
    a tones way for your client to communicate. Nice task.

    garcinia cambogia

  33. garcinia cambogia reviews before and after I would like to convey my admiration for your kindness supporting visitors who must have help with the study.
    Your real dedication to getting the solution all around appears to be astonishingly helpful and have
    really permitted some individuals like me to reach their
    targets. Your new important report means so much to me and even more to my fellow
    workers. Regards; from each one of us. garcinia cambogia reviews and side effects

  34. pure garcinia cambogia reviews Do you have a spam problem
    on this blog; I also am a blogger, and I was wanting to
    know your situation; many of us have created some nice practices and we are looking to trade strategies
    with other folks, why not shoot me an e-mail if interested.
    natural garcinia cambogia reviews

  35. låna pengar privat avtal on said:

    Just wish to say your article is as amazing. The
    clearness in your post is just spectacular and i could assume you are an
    expert on this subject. Fine with your permission let
    me to grab your RSS feed to keep up to date with
    forthcoming post. Thanks a million and please keep up
    the gratifying work.

    Also visit my web blog låna pengar privat avtal

  36. låna pengar 20 år on said:

    hello!,I like your writing so much! share we keep up a correspondence more approximately your article on
    AOL? I need a specialist in this area to unravel my problem.
    May be that is you! Taking a look forward to see you.

    Here is my webpage – låna pengar 20 år

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

18,519 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>