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
Expand all | Collapse all

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://support.microsoft.com/kb/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
 

Article Translations