Condividi tramite


VSPackages Frequently Asked Questions

This topic addresses questions from the Visual Studio 2008 SDK user community about VSPackages. The topic will continue to be updated with new content from the community.

Contents

  • Location of C# Project Resource Files

Location of C# Project Resource Files

Q: When I created new Visual C# VSPackages in the past, an unmanaged satellite project (ending with UI) was automatically created as well. Now, using Visual Studio 2005 SDK, that satellite project no longer is created. Where are the resource files for my Visual C# VSPackage projects located?

A: The unmanaged satellite project no longer is used for managed VSPackage projects. Now, the resources for managed language VSPackages are embedded in your VSPackage project in a file called VSPackage.resx. This resource file must be named VSPackage.resx and cannot be changed. Also, your Package class must have the following attribute:

[PackageRegistration(UseManagedResourcesOnly = true)]

See Also

Concepts

Visual Studio Integration Frequently Asked Questions