Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7613823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:14:52+00:00 2026-05-31T02:14:52+00:00

I have a class library and want to change the type so that I

  • 0

I have a class library and want to change the type so that I also can add a WPF resource dictionaries. I have added the WPF references and also tried to sync the AssemblyInfo.cs file with a project that allows the addition of such resource files, however without success.

If I use the add-new-dialog from Visual Studio, the template for WPF resource dictionaries is not available – If I create the file manually and then reference it, all works fine.

How can I change my project to a WPF custom control library project so that Visual Studio allows me to add WPF resource dictionaries. Or are there any drawbacks or pitfalls so that I must not do that and better create a new project-file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T02:14:53+00:00Added an answer on May 31, 2026 at 2:14 am

    It seems to be defined in the csproj-File. If I add the following line into the PropertyGroup-Section, I can do what I’m looking for:

    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    

    Please note
    Although I have found the location where the definiton resides, I have not used the changed version of the csproj-File. I have created a new project with the desired settings. There seem to be a lot of additional project-settings between a control library and a class library and maybe only adding the above guids may result in unexpected behaviour of the project/solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a signed class library that I want to create assemblies for via
I have a class library project that references the version 4.1 Microsoft.Practices.Common dll. I
I have a library class that I cannot change and a custom class. I
I have a Class library with WCF service added. When I click on command
I have a class library that has settings within an app.config. I know that
My Scenario I have a class library that is going to be called from
I currently have a .NET class library written in C# that exposes its functionaility
I have a class library that interacts with a WCF service, and uses an
Consider that in some library somewhere (which we have no access to change), we
I have a C# 4.0 application that is referencing a type library from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.