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

  • Home
  • SEARCH
  • 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 6587513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:55:36+00:00 2026-05-25T16:55:36+00:00

After adding a new project to a large solution I am getting errors indicating

  • 0

After adding a new project to a large solution I am getting errors indicating the build is not right. Having always relied on Visual Studio to just make it happen, I would appreciate the help.

Below is a picture from the Configuration Manager. The project at the very end (Parties.Presentation.Wpf) has a dependency on an assembly named ‘Core.Presentation.Wpf’, as evidenced by the code below:

using Smack.Core.Presentation.Wpf.Services;
using Smack.Parties.Presentation.ViewModels.PimVms;

namespace Smack.Parties.Presentation.Wpf.ApplicationControl
{
    public class PimVisualizerService : WpfUiVisualizerService
    {

        public PimVisualizerService(WpfTypeRegistrationService registrationServiceService)
            : base(registrationServiceService) { _registrationService.Register<PimShellVm>("blah"); }

    }
}

Not sure if it’s all R#, but before I try to build, there are no errors indicated and I can navigate to the base class in the Core assembly.

But I cannot build it, and I get this error:

Error   1   The type or namespace name 'Core' does not exist in the namespace 'Smack' (are you missing an assembly reference?)  
C:\Users\L&M\Documents\Projects\Smack\trunk\src\Parties.Presentation.Wpf\ApplicationControl\PimVisualizerService.cs 1   13  
Parties.Presentation.Wpf

Is this a build dependency issue? How can I fix it?

Cheers,
Berryl

enter image description here

UPDATE

Ok, per the last answer to this question, changing from ‘MixedPlatforms’ to ‘AnyCPU’ is letting me build again.

I’ll leave this open for a bit to see if anyone with more build experience than I says this is either a hack or the right thing to do. I’d be curious as to why the WPF projects default to x86 in the first place while at it.

  • 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-25T16:55:36+00:00Added an answer on May 25, 2026 at 4:55 pm

    Building ‘Any CPU’ breaks if you have actual (not accidental) x86 dependencies and try to run it on x64. It probably defaults to ‘x86’ as that was/is the most common platform target.

    Unfortunately there isn’t a zero-maintenance way of fixing this. Because the work that I’m shipping to a corporate customer is mandated to be ‘x86’ for dependency reasons, I’ll rip the ‘Any CPU’ configs out of the .csproj file, and ensure that the default is set to ‘x86’, but adding a new project will have a ‘Any CPU’ config and the solution will flop over to ‘Mixed Platforms’ with ‘Any CPU’ and ‘x86’ set in the solution.

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

Sidebar

Related Questions

I am getting this error after adding the libxml2.2.dylib file Linking /Users/Biranchi/Desktop/Funmovies TabBarController/build/Debug-iphonesimulator/funmovies.app/funmovies (1
I added a new layout in the project and after adding it, I am
In VS2008, I am adding new classes to a web project. When I right-click
I am getting unexpected linker errors after refactoring my solution from 1 to 3
I'm using set_cookie() on a site. After adding some functionality, I'm getting Warning: Cannot
I'm having a memory problem related to UIImageView. After adding this view to my
I create a new solution with one project, and then change the target platform
Given demo solution with two VSX-projects: 1. Add New Project -> Extensibility -> Item
When I try adding a new data source to my project I get a
I'm extending an open source project. After including afxcoll.h in a new C++ file

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.