Microsoft Knowledge Base Email Alertz

When you compile Visual Studio .NET Setup and Deployment projects, you may receive the following message: WARNING: This setup does not contain the .NET Framework which must be installed on the target machine by running dotnetfx.exe before this

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 320426 - Last Review: March 29, 2007 - Revision: 2.2

PRB: "This Setup Does Not Contain the .NET Framework" Error Message During Visual Studio .NET Deployment

This article was previously published under Q320426

SYMPTOMS

When you compile Visual Studio .NET Setup and Deployment projects, you may receive the following message:
WARNING: This setup does not contain the .NET Framework which must be installed on the target machine by running dotnetfx.exe before this setup will install. You can find dotnetfx.exe on the Visual Studio .NET 'Windows Components Update' media. Dotnetfx.exe can be redistributed with your setup.

CAUSE

By default, this warning is generated in each setup package to remind you that the Microsoft .NET Framework is not distributed with Setup and Deployment projects but is required for .NET applications to run.

RESOLUTION

If you want to include the .NET Framework in your Visual Studio .NET Setup and Deployment projects, see the following Microsoft sample for how to include the .NET Framework with your package:
Microsoft .NET Framework Setup.exe Bootstrapper Sample
http://www.microsoft.com/downloads/details.aspx?familyid=bf253cfd-1efc-4fc5-ba7e-6a6f21403495&displaylang=en (http://www.microsoft.com/downloads/details.aspx?familyid=bf253cfd-1efc-4fc5-ba7e-6a6f21403495&displaylang=en)
You can download the .NET Framework from the Microsoft Web site. The .NET Framework is also available on the Visual Studio .NET installation media. For additional information about the location of the .NET Framework redistributable package, click the article number below to view the article in the Microsoft Knowledge Base:
308488  (http://kbalertz.com/Feedback.aspx?kbNumber=308488/EN-US/ ) INFO: Download and Install the .NET Framework

REFERENCES

For more information on how to use a bottstrapper sample, click the link below:
Using Visual Studio .NET to Redistribute the .NET Framework (http://msdn2.microsoft.com/en-us/library/ms994427.aspx)

APPLIES TO
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft .NET Framework 1.0
Keywords: 
kbprb KB320426
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate