locked
Blend 4 has incorrect paths for references RRS feed

  • Question

  • When a multi-project solution (solution file is first attached code block) is opened in Blend 4, some of the projects are mapped to incorrect paths for References. We believe this is why their XAML files show the Invalid XAML message, but cannot determine why this is happening, or how to fix it.

    An example incorrect-path proj file (2nd code block) is also attached.

    Other details: Using EB 4.0.20525.0, Tortoise SVN, VS 2010, .NET 4.0

    Any help would be much appreciated.

    - Tom B, R2 Financial Technologies

     

    Microsoft Visual Studio Solution File, Format Version 11.00
    # Visual Studio 2010
    Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R2Financial.Objects", "R2Financial.Objects\R2Financial.Objects.csproj", "{6AF9C728-7B9F-411B-8F7B-96616192114A}"
    EndProject
    ... etc.
    Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R2Financial.ScenarioCoverageManager", "R2Financial.ScenarioCoverageManager\R2Financial.ScenarioCoverageManager.csproj", "{ABDB5726-19D5-4423-89A0-F00E20250A1F}"
    EndProject
    Global
    	GlobalSection(TestCaseManagementSettings) = postSolution
    		CategoryFile = R2Financial.RiskAnalysis.vsmdi
    	EndGlobalSection
    	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    		BuildServer|Any CPU = BuildServer|Any CPU
    		BuildServer|Mixed Platforms = BuildServer|Mixed Platforms
    		BuildServer|x86 = BuildServer|x86
    		Debug|Any CPU = Debug|Any CPU
    		Debug|Mixed Platforms = Debug|Mixed Platforms
    		Debug|x86 = Debug|x86
    		Release|Any CPU = Release|Any CPU
    		Release|Mixed Platforms = Release|Mixed Platforms
    		Release|x86 = Release|x86
    	EndGlobalSection
    	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.BuildServer|Any CPU.ActiveCfg = BuildServer|Any CPU
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.BuildServer|Any CPU.Build.0 = BuildServer|Any CPU
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.BuildServer|Mixed Platforms.ActiveCfg = BuildServer|x64
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.BuildServer|Mixed Platforms.Build.0 = BuildServer|x64
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.BuildServer|x86.ActiveCfg = BuildServer|x86
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.BuildServer|x86.Build.0 = BuildServer|x86
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Debug|Any CPU.Build.0 = Debug|Any CPU
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Debug|Mixed Platforms.Build.0 = Debug|x64
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Debug|x86.ActiveCfg = Debug|x86
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Debug|x86.Build.0 = Debug|x86
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Release|Any CPU.ActiveCfg = Release|Any CPU
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Release|Any CPU.Build.0 = Release|Any CPU
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Release|Mixed Platforms.ActiveCfg = Release|x64
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Release|Mixed Platforms.Build.0 = Release|x64
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Release|x86.ActiveCfg = Release|x86
    		{6AF9C728-7B9F-411B-8F7B-96616192114A}.Release|x86.Build.0 = Release|x86
    		ETC.
    	EndGlobalSection
    	GlobalSection(SolutionProperties) = preSolution
    		HideSolutionNode = FALSE
    	EndGlobalSection
    EndGlobal
    
    THIS IS THE PROJECT WITH THE INCORRECT PATH
    <?xml version="1.0" encoding="utf-8"?>
    <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <PropertyGroup>
        <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
        <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
        <ProductVersion>9.0.30729</ProductVersion>
        <SchemaVersion>2.0</SchemaVersion>
        <ProjectGuid>{F48D4C51-D9CB-4D6C-89F6-23BC904DEBA7}</ProjectGuid>
        <OutputType>WinExe</OutputType>
        <AppDesignerFolder>Properties</AppDesignerFolder>
        <RootNamespace>R2Financial.WpfScenarioUI</RootNamespace>
        <AssemblyName>R2Financial.WpfScenarioUI</AssemblyName>
        <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
        <FileAlignment>512</FileAlignment>
        <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
        <WarningLevel>4</WarningLevel>
        <SignAssembly>true</SignAssembly>
        <AssemblyOriginatorKeyFile>..\lib\R2DevKey.snk</AssemblyOriginatorKeyFile>
        <FileUpgradeFlags>
        </FileUpgradeFlags>
        <OldToolsVersion>3.5</OldToolsVersion>
        <UpgradeBackupLocation />
        <TargetFrameworkProfile />
        <PublishUrl>publish\</PublishUrl>
        <Install>true</Install>
        <InstallFrom>Disk</InstallFrom>
        <UpdateEnabled>false</UpdateEnabled>
        <UpdateMode>Foreground</UpdateMode>
        <UpdateInterval>7</UpdateInterval>
        <UpdateIntervalUnits>Days</UpdateIntervalUnits>
        <UpdatePeriodically>false</UpdatePeriodically>
        <UpdateRequired>false</UpdateRequired>
        <MapFileExtensions>true</MapFileExtensions>
        <ApplicationRevision>0</ApplicationRevision>
        <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
        <IsWebBootstrapper>false</IsWebBootstrapper>
        <UseApplicationTrust>false</UseApplicationTrust>
        <BootstrapperEnabled>true</BootstrapperEnabled>
        <R2QPath>..\lib\R2Q</R2QPath>
      </PropertyGroup>
      <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
        <DebugSymbols>true</DebugSymbols>
        <OutputPath>bin\Debug\</OutputPath>
        <DefineConstants>DEBUG;TRACE</DefineConstants>
        <DebugType>full</DebugType>
        <PlatformTarget>x86</PlatformTarget>
        <ErrorReport>prompt</ErrorReport>
        <R2QPath>..\lib\R2Q</R2QPath>
      </PropertyGroup>
      <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
        <OutputPath>bin\x86\Release\</OutputPath>
        <DefineConstants>TRACE</DefineConstants>
        <Optimize>true</Optimize>
        <DebugType>pdbonly</DebugType>
        <PlatformTarget>x86</PlatformTarget>
        <ErrorReport>prompt</ErrorReport>
        <R2QPath>..\lib\R2Q</R2QPath>
      </PropertyGroup>
      <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'BuildServer|x86' ">
        <DebugSymbols>true</DebugSymbols>
        <OutputPath>bin\x86\BuildServer\</OutputPath>
        <DefineConstants>DEBUG;TRACE</DefineConstants>
        <DebugType>full</DebugType>
        <PlatformTarget>x86</PlatformTarget>
        <ErrorReport>prompt</ErrorReport>
        <R2QPath>..\lib\R2Q</R2QPath>
      </PropertyGroup>
      <PropertyGroup>
        <ApplicationIcon>Images\R2.ico</ApplicationIcon>
      </PropertyGroup>
      <ItemGroup>
        <Reference Include="Accessibility" />
        <Reference Include="DevExpress.Printing.v11.1.Core, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.Data.v11.1, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.Utils.v11.1, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.Xpf.Core.v11.1, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.Xpf.Printing.v11.1.Core, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.Xpf.Printing.v11.1, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.Xpf.Grid.v11.1, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.Xpf.Grid.v11.1.Core, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.Xpf.Grid.v11.1.Design, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DevExpress.XtraEditors.v11.1, Version=11.1.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
        <Reference Include="DundasWinChart, Version=6.2.0.1740, Culture=neutral, PublicKeyToken=a4c03dce5db22406, processorArchitecture=MSIL">
          <SpecificVersion>False</SpecificVersion>
          <HintPath>..\lib\DundasWinChart.dll</HintPath>
        </Reference>
        <Reference Include="NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
          <HintPath>..\lib\NLog.dll</HintPath>
        </Reference>
        <Reference Include="R2QCSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7a1b235346f6f49d, processorArchitecture=MSIL">
          <SpecificVersion>False</SpecificVersion>
          <HintPath>$(R2QPath)\R2QCSharp.dll</HintPath>
        </Reference>
        <Reference Include="System" />
        <Reference Include="System.Configuration" />
        <Reference Include="System.Core">
          <RequiredTargetFramework>3.5</RequiredTargetFramework>
        </Reference>
        <Reference Include="System.Drawing" />
        <Reference Include="System.Security" />
        <Reference Include="System.Windows.Forms" />
        <Reference Include="System.Xaml" />
        <Reference Include="System.Xml.Linq">
          <RequiredTargetFramework>3.5</RequiredTargetFramework>
        </Reference>
        <Reference Include="System.Data.DataSetExtensions">
          <RequiredTargetFramework>3.5</RequiredTargetFramework>
        </Reference>
        <Reference Include="System.Data" />
        <Reference Include="System.Xml" />
        <Reference Include="UIAutomationProvider">
          <RequiredTargetFramework>3.0</RequiredTargetFramework>
        </Reference>
        <Reference Include="WindowsBase">
          <RequiredTargetFramework>3.0</RequiredTargetFramework>
        </Reference>
        <Reference Include="PresentationCore">
          <RequiredTargetFramework>3.0</RequiredTargetFramework>
        </Reference>
        <Reference Include="PresentationFramework">
          <RequiredTargetFramework>3.0</RequiredTargetFramework>
        </Reference>
        <Reference Include="WindowsFormsIntegration">
          <RequiredTargetFramework>3.0</RequiredTargetFramework>
        </Reference>
        <Reference Include="WPFToolkit.Extended">
          <HintPath>..\lib\WPFToolkit.Extended.dll</HintPath>
        </Reference>
      </ItemGroup>
      <ItemGroup>
        <ApplicationDefinition Include="App.xaml">
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </ApplicationDefinition>
        <Page Include="Dialogs\AttributesDialog.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="Dialogs\CurveNodeChooserDialog.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="Dialogs\NameDialog.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="Dialogs\ShockSelectionDialog.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="Dialogs\UnsavedChangesDialog.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="MainWindowStyles.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ChooserView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="Simple Styles.xaml">
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="MainWindow.xaml">
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ChooserViewStyles.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\MultiChooserViewStyles.xaml">
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\CurveShockEditorView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\CurveShockEditorViewStyles.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\CustomRiskFactorShockEditorView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\FXRateShockEditorView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\GenerateUnconditionalScenariosWindow.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\CompositeModelEditWindow.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\CompositeModelView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\ConditionalModelEditWindow.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\ConditionalModelImportWindow.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\DatabasePrefilterEditWindow.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\MultiChooserView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\DescriptiveFieldEditWindow.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\ParametersEditWindow.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\ScenarioModelChooserViewStyles.xaml">
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ScenarioModels\ConditionalModelView.xaml">
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ScenarioModels\ScenarioModelChooserView.xaml">
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ScenarioModels\StrippedConditionalModelDataGridView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\StrippedScenarioModelChooserView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\UnconditionalModelEditWindow.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\ScenarioModels\UnconditionalModelView.xaml">
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ScenarioSetView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ScenarioSetViewStyles.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ScenarioView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ScenarioViewStyles.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ShockView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\ShockViewStyles.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\StandardShockEditorView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\StrippedScenarioSetView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
        </Page>
        <Page Include="View\StrippedScenarioView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Page Include="View\TPCEditorView.xaml">
          <SubType>Designer</SubType>
          <Generator>MSBuild:Compile</Generator>
          <Generator>MSBuild:Compile</Generator>
          <SubType>Designer</SubType>
        </Page>
        <Compile Include="App.xaml.cs">
          <DependentUpon>App.xaml</DependentUpon>
          <SubType>Code</SubType>
        </Compile>
        <Compile Include="Converters\DateTimetoDateConverter.cs" />
        <Compile Include="Converters\HideTPCTabConverter.cs" />
        <Compile Include="Converters\IsParameterRowReadonlyConverterConverter.cs" />
        <Compile Include="MainWindow.xaml.cs">
          <DependentUpon>MainWindow.xaml</DependentUpon>
          <SubType>Code</SubType>
        </Compile>
      </ItemGroup>
      <ItemGroup>
        <Compile Include="Animation\GridLengthStarAnimation.cs" />
        <Compile Include="Converters\ShockProfileAndTypeToBooleanConverter.cs" />
        <Compile Include="Converters\HideShockTypeConverter.cs" />
        <Compile Include="Converters\ShockTypeNotEqualToBooleanConverter.cs" />
        <Compile Include="Converters\ShockProfileToBooleanConverter.cs" />
        <Compile Include="Dialogs\AttributesDialog.xaml.cs">
          <DependentUpon>AttributesDialog.xaml</DependentUpon>
        </Compile>
        <Compile Include="Dialogs\CurveNodeChooserDialog.xaml.cs">
          <DependentUpon>CurveNodeChooserDialog.xaml</DependentUpon>
        </Compile>
        <Compile Include="Dialogs\NameDialog.xaml.cs">
          <DependentUpon>NameDialog.xaml</DependentUpon>
        </Compile>
        <Compile Include="Dialogs\ShockSelectionDialog.xaml.cs">
          <DependentUpon>ShockSelectionDialog.xaml</DependentUpon>
        </Compile>
        <Compile Include="Dialogs\UnsavedChangesDialog.xaml.cs">
          <DependentUpon>UnsavedChangesDialog.xaml</DependentUpon>
        </Compile>
        <Compile Include="Extensions\ListViewColumnStretch.cs" />
        <Compile Include="Model\InfoBaseModel.cs" />
        <Compile Include="Model\ChooserModel.cs" />
        <Compile Include="Model\ScenarioModel.cs" />
        <Compile Include="Model\ScenarioModels\CompositeModelEditModel.cs" />
        <Compile Include="Model\ScenarioModels\CompositeModelModel.cs" />
        <Compile Include="Model\ScenarioModels\ConditionalModelEditModel.cs" />
        <Compile Include="Model\ScenarioModels\ConditionalModelModel.cs" />
        <Compile Include="Model\ScenarioModels\DescriptiveFieldModel.cs" />
        <Compile Include="Model\ScenarioModels\ParametersModel.cs" />
        <Compile Include="Model\ScenarioModels\ScenarioModelChooserModel.cs" />
        <Compile Include="Model\ScenarioModels\ScenarioModelModel.cs" />
        <Compile Include="Model\ScenarioModels\UnconditionalModelEditModel.cs" />
        <Compile Include="Model\ScenarioModels\UnconditionalModelModel.cs" />
        <Compile Include="Model\ScenarioSetModel.cs" />
        <Compile Include="Model\ShockModel.cs" />
        <Compile Include="Objects\CurveFilterParameters.cs" />
        <Compile Include="Objects\CurveType.cs" />
        <Compile Include="Objects\FXRateShockVarGridRow.cs" />
        <Compile Include="Objects\GenericPropertyEditRowComparer.cs" />
        <Compile Include="Objects\ParameterGridRow.cs" />
        <Compile Include="Objects\RiskFactorType.cs" />
        <Compile Include="Objects\ShockBetaType.cs" />
        <Compile Include="Objects\ShockedTenor.cs" />
        <Compile Include="Objects\SimpleCurve.cs" />
        <Compile Include="Objects\SimpleScenario.cs" />
        <Compile Include="Objects\ViewModelActionType.cs" />
        <Compile Include="Settings.cs" />
        <Compile Include="Templates\ParameterEditSelectorTemplate.cs" />
        <Compile Include="Utils.cs" />
        <Compile Include="ViewModel\ChooserViewModelBase.cs" />
        <Compile Include="ViewModel\CustomRiskFactorShockEditorViewModel.cs" />
        <Compile Include="ViewModel\FXRateShockEditorViewModel.cs" />
        <Compile Include="ViewModel\CurveShockEditorViewModel.cs" />
        <Compile Include="ViewModel\GenerateUnconditionalScenariosViewModel.cs" />
        <Compile Include="ViewModel\MultiChooserViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\CompositeModelEditViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\CompositeModelViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\ConditionalModelEditViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\ConditionalModelImportViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\ConditionalModelViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\DatabasePrefilterViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\DescriptiveFieldViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\IStrippedConditionalModelDataGridViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\ParametersViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\ScenarioModelChooserViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\UnconditionalModelEditViewModel.cs" />
        <Compile Include="ViewModel\ScenarioModels\UnconditionalModelViewModel.cs" />
        <Compile Include="ViewModel\ScenarioSetViewModel.cs" />
        <Compile Include="Objects\ViewType.cs" />
        <Compile Include="ViewModel\MainWindowViewModel.cs" />
        <Compile Include="ViewModel\BaseShockEditorViewModel.cs" />
        <Compile Include="ViewModel\ScenarioViewModel.cs" />
        <Compile Include="ViewModel\ShockViewModel.cs" />
        <Compile Include="ViewModel\StandardShockEditorViewModel.cs" />
        <Compile Include="ViewModel\TPCEditorViewModel.cs" />
        <Compile Include="ViewModel\BaseDetailedViewModel.cs" />
        <Compile Include="View\ChooserView.xaml.cs">
          <DependentUpon>ChooserView.xaml</DependentUpon>
        </Compile>
        <Compile Include="Properties\AssemblyInfo.cs">
          <SubType>Code</SubType>
        </Compile>
        <Compile Include="Properties\Resources.Designer.cs">
          <AutoGen>True</AutoGen>
          <DesignTime>True</DesignTime>
          <DependentUpon>Resources.resx</DependentUpon>
        </Compile>
        <Compile Include="Properties\Settings.Designer.cs">
          <AutoGen>True</AutoGen>
          <DependentUpon>Settings.settings</DependentUpon>
          <DesignTimeSharedInput>True</DesignTimeSharedInput>
        </Compile>
        <Compile Include="ViewModel\ChooserViewModel.cs" />
        <Compile Include="View\CurveShockEditorView.xaml.cs">
          <DependentUpon>CurveShockEditorView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\CustomRiskFactorShockEditorView.xaml.cs">
          <DependentUpon>CustomRiskFactorShockEditorView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\FXRateShockEditorView.xaml.cs">
          <DependentUpon>FXRateShockEditorView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\GenerateUnconditionalScenariosWindow.xaml.cs">
          <DependentUpon>GenerateUnconditionalScenariosWindow.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\CompositeModelEditWindow.xaml.cs">
          <DependentUpon>CompositeModelEditWindow.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\CompositeModelView.xaml.cs">
          <DependentUpon>CompositeModelView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\ConditionalModelEditWindow.xaml.cs">
          <DependentUpon>ConditionalModelEditWindow.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\ConditionalModelImportWindow.xaml.cs">
          <DependentUpon>ConditionalModelImportWindow.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\ConditionalModelView.xaml.cs">
          <DependentUpon>ConditionalModelView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\DatabasePrefilterEditWindow.xaml.cs">
          <DependentUpon>DatabasePrefilterEditWindow.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\MultiChooserView.xaml.cs">
          <DependentUpon>MultiChooserView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\DescriptiveFieldEditWindow.xaml.cs">
          <DependentUpon>DescriptiveFieldEditWindow.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\ParametersEditWindow.xaml.cs">
          <DependentUpon>ParametersEditWindow.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\ScenarioModelChooserView.xaml.cs">
          <DependentUpon>ScenarioModelChooserView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\StrippedConditionalModelDataGridView.xaml.cs">
          <DependentUpon>StrippedConditionalModelDataGridView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\StrippedScenarioModelChooserView.xaml.cs">
          <DependentUpon>StrippedScenarioModelChooserView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\UnconditionalModelEditWindow.xaml.cs">
          <DependentUpon>UnconditionalModelEditWindow.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioModels\UnconditionalModelView.xaml.cs">
          <DependentUpon>UnconditionalModelView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioSetView.xaml.cs">
          <DependentUpon>ScenarioSetView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ScenarioView.xaml.cs">
          <DependentUpon>ScenarioView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\ShockView.xaml.cs">
          <DependentUpon>ShockView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\StandardShockEditorView.xaml.cs">
          <DependentUpon>StandardShockEditorView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\StrippedScenarioSetView.xaml.cs">
          <DependentUpon>StrippedScenarioSetView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\StrippedScenarioView.xaml.cs">
          <DependentUpon>StrippedScenarioView.xaml</DependentUpon>
        </Compile>
        <Compile Include="View\TPCEditorView.xaml.cs">
          <DependentUpon>TPCEditorView.xaml</DependentUpon>
        </Compile>
        <EmbeddedResource Include="Properties\Resources.resx">
          <Generator>ResXFileCodeGenerator</Generator>
          <LastGenOutput>Resources.Designer.cs</LastGenOutput>
          <SubType>Designer</SubType>
        </EmbeddedResource>
        <None Include="..\lib\R2DevKey.snk">
          <Link>R2DevKey.snk</Link>
        </None>
        <None Include="app.config" />
        <None Include="Properties\Settings.settings">
          <Generator>SettingsSingleFileGenerator</Generator>
          <LastGenOutput>Settings.Designer.cs</LastGenOutput>
        </None>
        <AppDesigner Include="Properties\" />
      </ItemGroup>
      <ItemGroup>
        <ProjectReference Include="..\R2Financial.BusinessObjects\R2Financial.BusinessObjects.csproj">
          <Project>{52266BD5-37E0-42E3-8300-076D96E09FED}</Project>
          <Name>R2Financial.BusinessObjects</Name>
        </ProjectReference>
        <ProjectReference Include="..\R2Financial.MarketData2\R2Financial.MarketData2.csproj">
          <Project>{E254D91D-F680-46AB-95AB-C1B17F9EEED7}</Project>
          <Name>R2Financial.MarketData2</Name>
        </ProjectReference>
        <ProjectReference Include="..\R2Financial.Objects\R2Financial.Objects.csproj">
          <Project>{6AF9C728-7B9F-411B-8F7B-96616192114A}</Project>
          <Name>R2Financial.Objects</Name>
        </ProjectReference>
        <ProjectReference Include="..\R2Financial.ScenarioManager\R2Financial.ScenarioManager.csproj">
          <Project>{82734222-423C-4D0F-B2B2-AA3AF355B3FD}</Project>
          <Name>R2Financial.ScenarioManager</Name>
        </ProjectReference>
        <ProjectReference Include="..\R2Financial.ScenarioModelManager\R2Financial.ScenarioModelManager.csproj">
          <Project>{0D99CCD6-A7EB-49DF-82CA-5279D91C5158}</Project>
          <Name>R2Financial.ScenarioModelManager</Name>
        </ProjectReference>
        <ProjectReference Include="..\R2Financial.Settings\R2Financial.Settings.csproj">
          <Project>{79D19DBF-7D24-4F81-91C4-8C3847C3B26B}</Project>
          <Name>R2Financial.Settings</Name>
        </ProjectReference>
        <ProjectReference Include="..\R2Financial.TagManager\R2Financial.TagManager.csproj">
          <Project>{4AF639EF-DECE-436B-B800-43036F32D53E}</Project>
          <Name>R2Financial.TagManager</Name>
        </ProjectReference>
        <ProjectReference Include="..\R2Financial.WpfControls\R2Financial.WpfControls.csproj">
          <Project>{FE69D717-4EE0-4A17-A208-F456EB85C813}</Project>
          <Name>R2Financial.WpfControls</Name>
        </ProjectReference>
      </ItemGroup>
      <ItemGroup>
        <Resource Include="Images\sets_hover.png" />
        <Resource Include="Images\sets_mousedown.png" />
        <Resource Include="Images\sets_selected.png" />
        <Resource Include="Images\sets_unselected.png" />
      </ItemGroup>
      <ItemGroup>
        <Resource Include="Images\scenarios_hover.png" />
        <Resource Include="Images\scenarios_mousedown.png" />
        <Resource Include="Images\scenarios_selected.png" />
        <Resource Include="Images\scenarios_unselected.png" />
        <Resource Include="Images\shocks_hover.png" />
        <Resource Include="Images\shocks_mousedown.png" />
        <Resource Include="Images\shocks_selected.png" />
        <Resource Include="Images\shocks_unselected.png" />
      </ItemGroup>
      <ItemGroup>
        <Resource Include="Images\R2.ico" />
      </ItemGroup>
      <ItemGroup>
        <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
          <Visible>False</Visible>
          <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
          <Install>false</Install>
        </BootstrapperPackage>
        <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
          <Visible>False</Visible>
          <ProductName>.NET Framework 3.5 SP1</ProductName>
          <Install>true</Install>
        </BootstrapperPackage>
        <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
          <Visible>False</Visible>
          <ProductName>Windows Installer 3.1</ProductName>
          <Install>true</Install>
        </BootstrapperPackage>
      </ItemGroup>
      <ItemGroup>
        <Resource Include="Images\model_hover.png" />
        <Resource Include="Images\model_mousedown.png" />
        <Resource Include="Images\model_selected.png" />
        <Resource Include="Images\model_unselected.png" />
      </ItemGroup>
      <ItemGroup>
        <Folder Include="GenericControls\" />
      </ItemGroup>
      <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
      <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
           Other similar extension points exist, see Microsoft.Common.targets.
      <Target Name="BeforeBuild">
      </Target>
      <Target Name="AfterBuild">
      </Target>
      -->
    </Project>


    Wednesday, January 4, 2012 4:56 PM

All replies

  • Just out of curiosity to help understand the question, is the issue that your developers are making out the views and able to view them in VS, but when your designer(s) go to blend to try and view them to start their designing, they get odd invalid XAML errors and see nothing in the design surface?
    Mark answered questions to help others.
    Wednesday, January 4, 2012 5:04 PM
  • Which paths are in error? All the project references appear to be consistent with each other at first glance, so I would expect them to work or not collectively rather than individually. From your description it sounds like only some of the paths are causing problems. Is that correct?

    The Invalid XAML message you mentioned: where does it occur, and what is the text of the error message?

    Wednesday, January 4, 2012 5:09 PM
  • Yes, that's correct.
    Wednesday, January 4, 2012 10:41 PM
  • Thanks for responding, Brian. The Invalid XAML message appears in the design surface in a big red bordered box with a link at the bottom right that says "View XAML code". The errors in the Results tab don't make sense, e.g., "User Control is not supported in a Windows Presentation Foundation (WPF) Project".

    What is not clear from the code I included (sorry) is that the resolved path--which in the correct case starts with C:\Program Files (x86)--in the bad case goes to our source code path C:\NxR2Code (see attached image).

     

     

    Wednesday, January 4, 2012 10:58 PM
  • Does the project build in Blend? Will it build is you try just opening a command prompt and doing msbuild yoursln.sln ?
    • Edited by Chuck HaysModerator Wednesday, January 4, 2012 11:10 PM Fix spelling of built -> build
    Wednesday, January 4, 2012 11:10 PM
    Moderator
  • Also, I would be curious what happens if you try to add a reference from inside Blend, for example to the System assembly, what does it change in the csproj file?
    Wednesday, January 4, 2012 11:12 PM
    Moderator
  • No, it does not build in Blend. Getting that to happen would be great, but I'd  be happy simply being able to use the design tools.
    Thursday, January 5, 2012 8:15 PM
  • It does (as you probably guessed) build in Visual Studio.
    Thursday, January 5, 2012 8:15 PM
  • They go together very closely, one will probably allow the other.
    Thursday, January 5, 2012 9:18 PM
    Moderator
  • Hi Tom

    Maybe my answer will come a little bit late, but I just encountered the same issue and only found your post about it. But hopefully, I have a solution.

    In my case, the issue was the same.  Everything was working well in Visual studio 2010 but not in blend. Except for one project where it was working in both programs.

    After a deeper look, I came to the following : blend wasn’t able to display my xaml because I removed the Any CPU configuration in some project.

    As soon as I re-added the ANY CPU config, blend was working fine.

    Nico


    Thursday, September 6, 2012 10:08 PM