Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
CodeAdze
#1 Posted : Wednesday, March 8, 2023 4:22:00 AM(UTC)
Rank: Member

Groups: Registered
Joined: 9/3/2014(UTC)
Posts: 29
Location: Australia

Thanks: 4 times
Was thanked: 3 time(s) in 3 post(s)
Hi,
I've been away from development for the last 4 or 5 months for life reasons. Had a chance to get back to it this week so renewed my NCrunch license and installed the latest version. When NCrunch initialized it gave me an error saying that .Net Framework 3.5 wasn't installed (I had 4.8.1) so I installed 3.5. Now on initialization I'm getting the error

An error occurred while analysing this project after it was built: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\Stu\AppData\Local\NCrunch\15788\17\Tests\bin\Debug\Tests.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
File name: 'file:///C:\Users\Stu\AppData\Local\NCrunch\15788\17\Tests\bin\Debug\Tests.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at nCrunch.Common.ExecutionPlatform.LoadAssembly(FilePath assemblyFilePath)
at nCrunch.TestExecution.RemoteTaskRunner.AnalyseAssembly(DescribedTestFrameworkDiscoverer[] applicableFrameworks, ComponentUniqueName testComponentUniqueName, PerfTracker perfTracker, TaskLogId taskLogId)

Any help would be appreciated,
Thanks in advance.
Remco
#2 Posted : Wednesday, March 8, 2023 9:51:45 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Hi, thanks for sharing this issue.

It looks like NCrunch isn't properly detecting the target platform for this project. Is it possible for you to share the project XML with me? (you can exclude any included file names if you like).
CodeAdze
#3 Posted : Thursday, March 9, 2023 2:07:21 AM(UTC)
Rank: Member

Groups: Registered
Joined: 9/3/2014(UTC)
Posts: 29
Location: Australia

Thanks: 4 times
Was thanked: 3 time(s) in 3 post(s)
Sure no problem. Is it a copy of the VB project file (.vbproj) that you need?
Remco
#4 Posted : Thursday, March 9, 2023 3:20:36 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
CodeAdze;16530 wrote:
Sure no problem. Is it a copy of the VB project file (.vbproj) that you need?


Sure. You can upload it through the contact form if you like, or copy/paste it here.
CodeAdze
#5 Posted : Thursday, March 9, 2023 5:14:13 AM(UTC)
Rank: Member

Groups: Registered
Joined: 9/3/2014(UTC)
Posts: 29
Location: Australia

Thanks: 4 times
Was thanked: 3 time(s) in 3 post(s)
Hi,
Here is the .vbproj as requested. Thanks for your help.



Code:
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\packages\NUnit.3.13.3\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.13.3\build\NUnit.props')" />
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{69E1D45E-8123-42B0-B712-FD8FE3E82898}</ProjectGuid>
    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <RootNamespace>PowderkegSoftware.Archimedes</RootNamespace>
    <AssemblyName>Tests</AssemblyName>
    <TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
    <MyType>Custom</MyType>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <Deterministic>true</Deterministic>
    <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>
    <NuGetPackageImportStamp>
    </NuGetPackageImportStamp>
    <TargetFrameworkProfile />
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <PlatformTarget>x64</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <DefineDebug>true</DefineDebug>
    <DefineTrace>true</DefineTrace>
    <IncrementalBuild>true</IncrementalBuild>
    <OutputPath>bin\Debug\</OutputPath>
    <DocumentationFile>
    </DocumentationFile>
    <NoWarn>42024,42099</NoWarn>
    <Optimize>false</Optimize>
    <WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>x64</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <DebugSymbols>false</DebugSymbols>
    <DefineDebug>false</DefineDebug>
    <DefineTrace>true</DefineTrace>
    <IncrementalBuild>false</IncrementalBuild>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DocumentationFile>
    </DocumentationFile>
    <NoWarn>42024,42099</NoWarn>
    <WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors>
  </PropertyGroup>
  <PropertyGroup>
    <OptionExplicit>On</OptionExplicit>
  </PropertyGroup>
  <PropertyGroup>
    <OptionCompare>Binary</OptionCompare>
  </PropertyGroup>
  <PropertyGroup>
    <OptionStrict>On</OptionStrict>
  </PropertyGroup>
  <PropertyGroup>
    <OptionInfer>Off</OptionInfer>
  </PropertyGroup>
  <PropertyGroup>
    <StartupObject />
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Castle.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
      <HintPath>..\packages\Castle.Core.5.1.1\lib\net462\Castle.Core.dll</HintPath>
    </Reference>
    <Reference Include="FakeItEasy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=eff28e2146d5fd2c, processorArchitecture=MSIL">
      <HintPath>..\packages\FakeItEasy.7.3.1\lib\net45\FakeItEasy.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="nunit.framework, Version=3.13.3.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
      <HintPath>..\packages\NUnit.3.13.3\lib\net45\nunit.framework.dll</HintPath>
    </Reference>
    <Reference Include="Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
      <HintPath>..\packages\Serilog.2.12.0\lib\net47\Serilog.dll</HintPath>
    </Reference>
    <Reference Include="Serilog.Sinks.TestCorrelator, Version=3.2.0.0, Culture=neutral, PublicKeyToken=0c0e8068c75f9f97, processorArchitecture=MSIL">
      <HintPath>..\packages\Serilog.Sinks.TestCorrelator.3.2.0\lib\net46\Serilog.Sinks.TestCorrelator.dll</HintPath>
    </Reference>
    <Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
      <HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
    </Reference>
    <Reference Include="System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <HintPath>..\packages\System.Collections.Immutable.7.0.0\lib\net462\System.Collections.Immutable.dll</HintPath>
    </Reference>
    <Reference Include="System.ComponentModel.DataAnnotations" />
    <Reference Include="System.Configuration" />
    <Reference Include="System.Core" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
      <HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
    </Reference>
    <Reference Include="System.Numerics" />
    <Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
    </Reference>
    <Reference Include="System.Reactive, Version=5.0.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263, processorArchitecture=MSIL">
      <HintPath>..\packages\System.Reactive.5.0.0\lib\net472\System.Reactive.dll</HintPath>
    </Reference>
    <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
    </Reference>
    <Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
      <HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
    </Reference>
    <Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
      <HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
    </Reference>
    <Reference Include="System.Windows" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Xaml">
      <RequiredTargetFramework>4.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="WindowsBase" />
    <Reference Include="PresentationCore" />
    <Reference Include="PresentationFramework" />
    <Reference Include="System.Net.Http" />
  </ItemGroup>
  <ItemGroup>
    <Import Include="System.Threading.Tasks" />
    <Import Include="System.Linq" />
    <Import Include="System.Xml.Linq" />
    <Import Include="Microsoft.VisualBasic" />
    <Import Include="System" />
    <Import Include="System.Collections" />
    <Import Include="System.Collections.Generic" />
    <Import Include="System.Diagnostics" />
    <Import Include="System.Windows" />
    <Import Include="System.Windows.Controls" />
    <Import Include="System.Windows.Data" />
    <Import Include="System.Windows.Documents" />
    <Import Include="System.Windows.Input" />
    <Import Include="System.Windows.Shapes" />
    <Import Include="System.Windows.Media" />
    <Import Include="System.Windows.Media.Imaging" />
    <Import Include="System.Windows.Navigation" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="ApplicationState\Communal\SystemVariablesTests.vb" />
    <Compile Include="ApplicationClosing\Core\ApplicationClosingInteractorTests.vb" />
    <Compile Include="ApplicationClosing\Core\DiscardStateCloserTests.vb" />
    <Compile Include="ApplicationClosing\Core\PersistingStateCloserTests.vb" />
    <Compile Include="ApplicationStarting\Construction\StartUpAspectFactoryTests.vb" />
    <Compile Include="ApplicationStarting\Construction\PopulateApplicationStateTests.vb" />
    <Compile Include="ApplicationStarting\Core\ApplicationStateInteractorTests.vb" />
    <Compile Include="ApplicationStarting\Core\ApplicationStateRequestTests.vb" />
    <Compile Include="ApplicationStarting\Persistence\ApplicationStateServiceTests.vb" />
    <Compile Include="Authentication\Construction\AuthenticationConstTests.vb" />
    <Compile Include="Authentication\Construction\LoginFactoryTests.vb" />
    <Compile Include="Authentication\Core\AuthenticateUserInteractorTests.vb" />
    <Compile Include="Authentication\Core\LoginInteractorTests.vb" />
    <Compile Include="Authentication\Core\NoUsersForThisInstallationExceptionTests.vb" />
    <Compile Include="Authentication\Core\ValidatePasswordTests.vb" />
    <Compile Include="Authentication\Core\ValidateUsernameTest.vb" />
    <Compile Include="Authentication\Persistence\AuthenticateUserServiceTests.vb" />
    <Compile Include="Authentication\Persistence\LoginServiceTests.vb" />
    <Compile Include="Authentication\User Interface\LoginButtonCommandTargetTests.vb" />
    <Compile Include="Authentication\User Interface\LoginModelTests.vb" />
    <Compile Include="Authentication\User Interface\LoginViewmodelTests.vb" />
    <Compile Include="ApplicationStarting\Communal\AppStartingConstTests.vb" />
    <Compile Include="Internal\User Interface\AuthorizationAttributeTests.vb" />
    <Compile Include="Internal\User Interface\MissingAuthorizationAttributeExceptionTests.vb" />
    <Compile Include="Internal\User Interface\RoleAwareCommandTargetTests.vb" />
    <Compile Include="Internal\User Interface\ViewmodelBaseTests.vb" />
    <Compile Include="Logging\LoggingConstTests.vb" />
    <Compile Include="MachineComms\Communal\MachineCommsConstTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidateStopBitsAttributeTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidateBaudRateAttributeTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidateDataBitsAttributeTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidateHandShakeAttributeTest.vb" />
    <Compile Include="ApplicationState\Communal\ValidateNewlineAttributeTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidateParityAttributeTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidateParityReplaceAttributeTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidatePortNameAttributeTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidateReadTimeOutAttributeTests.vb" />
    <Compile Include="ApplicationState\Communal\ValidateWriteTimeOutAttributeTests.vb" />
    <Compile Include="MachineComms\Core\Dnc.Tests\DncSendInteractorTests.vb" />
    <Compile Include="MachineComms\Core\Dnc.Tests\FileFromServerInteractorTests.vb" />
    <Compile Include="MachineComms\Persistence\Dnc.Tests\FileFromServerServiceTests.vb" />
    <Compile Include="MachineComms\Persistence\Dnc.Tests\MonitorableSerialPortTests.vb" />
    <Compile Include="MachineComms\Persistence\Dnc.Tests\WrappedSerialPortTests.vb" />
    <Compile Include="MachineComms\UI\DncSendViewmodelTests.vb" />
    <Compile Include="Users\Construction\ConstructUserPendantTests.vb" />
    <Compile Include="Users\Core\Lots\LotRectangleTests.vb" />
    <Compile Include="Users\Core\Lots\LotInfoRectangleTests.vb" />
    <Compile Include="Users\Core\Lots\WindowLotTests.vb" />
    <Compile Include="FatalException.Tests\Construction\BasicExceptionProcessorFactoryTests.vb" />
    <Compile Include="FatalException.Tests\Construction\ConstructExceptionHandlingTests.vb" />
    <Compile Include="Logging\LoggingConstructionTests.vb" />
    <Compile Include="Users\Core\UserIdentityTests.vb" />
    <Compile Include="Users\NotAuthorizedExceptionTests.vb" />
    <Compile Include="Windows\PrimaryWindow\Construction\Aspects.Tests\InitializeAspectPendantTests.vb" />
    <Compile Include="Windows\PrimaryWindow\Construction\ConstructPrimaryWindowTests.vb" />
    <Compile Include="Controls\Internal Controls\ControlConstTests.vb" />
    <Compile Include="Users\Core\CurrentUserPendantTests.vb" />
    <Compile Include="Users\Core\Lots\WindowLotsTests.vb" />
    <Compile Include="Internal\Persistence\DbConstTests.vb" />
    <Compile Include="FatalException.Tests\Construction\FatalExceptionConstTests.vb" />
    <Compile Include="FatalException.Tests\User Interface\FatalExceptionModelTests.vb" />
    <Compile Include="Controls\Combo Box\ComboBoxItemToStringConverterTests.vb" />
    <Compile Include="NewInstallation\Communal\SetInstallationIdTests.vb" />
    <Compile Include="Internal\Persistence\SqlRepositoryTests.vb" />
    <Compile Include="Internal\Persistence\DbUtilitiesTests.vb" />
    <Compile Include="Users\Persistence\LoadLotsPersistTests.vb" />
    <Compile Include="Users\Persistence\SaveLotsPersistTests.vb" />
    <Compile Include="Controls\Button\ArchimedesButtonTests.vb" />
    <Compile Include="Controls\Internal Controls\ArchimedesViewTests.vb" />
    <Compile Include="Controls\Internal Controls\BooleanToFontWeightConverter.vb" />
    <Compile Include="Controls\Internal Controls\DefaultEntityValidationRule.vb" />
    <Compile Include="Controls\Internal Controls\PasswordBoxApTests.vb" />
    <Compile Include="Internal\User Interface\CloseArtisanCommandTargetTests.vb" />
    <Compile Include="Users\UserConstTests.vb" />
    <Compile Include="Windows\DialogWindows\DialogConstTests.vb" />
    <Compile Include="Windows\DialogWindows\DialogFactoryTests.vb" />
    <Compile Include="Windows\DialogWindows\MissingCaseExceptionTests.vb" />
    <Compile Include="Windows\DialogWindows\DialogButtonTargetTests.vb" />
    <Compile Include="Windows\DialogWindows\DialogChromeCloseButtonTargetTests.vb" />
    <Compile Include="Windows\DialogWindows\DialogDefinitionsTests.vb" />
    <Compile Include="Windows\DialogWindows\DialogDefinitionTests.vb" />
    <Compile Include="Windows\DialogWindows\DialogViewmodelTests.vb" />
    <Compile Include="Windows\DialogWindows\DialogWindowUtilitiesTests.vb" />
    <Compile Include="Windows\DialogWindows\UnexpectedDialogResultExceptionTests.vb" />
    <Compile Include="Windows\DialogWindows\WindowNotFoundExceptionTests.vb" />
    <Compile Include="Windows\DialogWindows\HandleDialogClosingTests.vb" />
    <Compile Include="Windows\DialogWindows\WindowUtilitiesTests.vb" />
    <Compile Include="FatalException.Tests\Construction\FatalExceptionFactoryTests.vb" />
    <Compile Include="FatalException.Tests\Core\BasicExceptionProcessorTests.vb" />
    <Compile Include="FatalException.Tests\Core\FatalExceptionInteractorTests.vb" />
    <Compile Include="FatalException.Tests\Core\HandleFatalExceptionTests.vb" />
    <Compile Include="FatalException.Tests\Core\RichExceptionProcessorTests.vb" />
    <Compile Include="FatalException.Tests\User Interface\FatalExceptionRestartButtonCommandHandlerTests.vb" />
    <Compile Include="FatalException.Tests\User Interface\FatalExceptionShutDownButtonCommandHandlerTests.vb" />
    <Compile Include="FatalException.Tests\User Interface\FatalExceptionViewmodelTests.vb" />
    <Compile Include="Internal\Construction\MvvmFactoryBaseTests.vb" />
    <Compile Include="Internal\User Interface\CommandHandlerTests.vb" />
    <Compile Include="Controls\Button\ArchimedesButtonDpTests.vb" />
    <Compile Include="Controls\Button\ArchimedesButtonTargetNullObjectTests.vb" />
    <Compile Include="Controls\Button\ArchimedesButtonVmTests.vb" />
    <Compile Include="Controls\Button\NotDisplayedButtonTests.vb" />
    <Compile Include="Controls\Combo Box\ArchimedesComboBoxApTests.vb" />
    <Compile Include="Controls\Combo Box\ArchimedesComboBoxDpTests.vb" />
    <Compile Include="Controls\Combo Box\ArtisanComboBoxViewmodelTests.vb" />
    <Compile Include="Controls\Control Assets\BooleanToOpacityConverterTests.vb" />
    <Compile Include="Controls\Internal Controls\ControlViewmodelBase.vb" />
    <Compile Include="Controls\Internal Controls\ArtisanUiControlsApTests.vb" />
    <Compile Include="Controls\Internal Controls\Text Input Control\ArchimedesTextInputControlTests.vb" />
    <Compile Include="Controls\Internal Controls\Text Input Control\ToolTipErrorMessageConverterTests.vb" />
    <Compile Include="Controls\Image Button\ArtisanImageButtonTests.vb" />
    <Compile Include="Controls\Image Button\ArtisanImageButtonVmTests.vb" />
    <Compile Include="Controls\Internal Controls\InvertBooleanConverterTests.vb" />
    <Compile Include="Controls\Pane\PaneTests.vb" />
    <Compile Include="Controls\Password Box\ArtisanPasswordBoxVmTests.vb" />
    <Compile Include="Controls\Password Box\ArchimedesPasswordTests.vb" />
    <Compile Include="Controls\Internal Controls\RatioConverterTests.vb" />
    <Compile Include="Controls\Text Block\TextBlockViewmodelTests.vb" />
    <Compile Include="Controls\Text Box\ArtisanTextBoxVmTests.vb" />
    <Compile Include="Controls\Internal Controls\TextInputControlVmBaseTests.vb" />
    <Compile Include="Controls\Internal Controls\Tool Tip\ValidationToolTipTests.vb" />
    <Compile Include="Controls\View\ViewTests.vb" />
    <Compile Include="Internal\User Interface\WindowViewmodelBaseTests.vb" />
    <Compile Include="Logging\EventTypeEnricherTests.vb" />
    <Compile Include="My Project\AssemblyInfo.vb">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="My Project\MyExtensions\MyWpfExtension.vb">
      <VBMyExtensionTemplateID>Microsoft.VisualBasic.WPF.MyExtension</VBMyExtensionTemplateID>
      <VBMyExtensionTemplateVersion>1.0.0.0</VBMyExtensionTemplateVersion>
    </Compile>
    <Compile Include="My Project\Resources.Designer.vb">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Compile Include="My Project\Settings.Designer.vb">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
    <Compile Include="NewInstallation\Construction\NewInstallationFactoryTests.vb" />
    <Compile Include="NewInstallation\Core\NewInstallationInteractorTests.vb" />
    <Compile Include="Windows\PrimaryWindow\Construction\Aspects.Tests\WorkspacesFactoryTest.vb" />
    <Compile Include="Windows\PrimaryWindow\Construction\Pendant.Tests\ConstructPrimaryWindowPendantTests.vb" />
    <Compile Include="Windows\PrimaryWindow\Construction\PrimaryWindowMvvmFactoryTests.vb" />
    <Compile Include="Users\Core\Lots\LotChangedInteractorTests.vb" />
    <Compile Include="TransitionToAuthenticatedUser\ConfigureForUserTests.vb" />
    <Compile Include="Windows\PrimaryWindow\PrimaryWindowStateTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\AspectPresenterControlTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\Aspects\AspectPendantTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\Aspects\AspectViewmodelTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\Pendant\PrimaryWindowPendantTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\PrimaryViewControlTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\PrimaryViewmodelTests.vb" />
    <Compile Include="Windows\Shell\Lot\HandleLotChangedTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\Workspaces\WorkspaceMenuViewmodelTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\Workspaces\Machining Workspace\MachiningWorkspaceViewmodelTests.vb" />
    <Compile Include="Windows\PrimaryWindow\User Interface\Workspaces\WorkspacesViewmodelTests.vb" />
    <Compile Include="Windows\Shell\Lot\WrappedTimerWithManualTrigger.vb">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="Windows\SatelliteWindow\User Interface\CloseSatelliteWindowTests.vb" />
    <Compile Include="Windows\SatelliteWindow\User Interface\SatelliteWindowPendant.vb" />
    <Compile Include="Windows\Shell\Chrome Assets\Buttons\ChromeButtonViewmodelBaseTests.vb" />
    <Compile Include="Windows\Shell\Chrome Assets\Buttons\ChromeCloseButtonViewModelTests.vb" />
    <Compile Include="Windows\Shell\Chrome Assets\Buttons\ChromeMaximizeButtonViewModelTests.vb" />
    <Compile Include="Windows\Shell\Chrome Assets\Buttons\ChromeMenuButtonViewmodelTests.vb" />
    <Compile Include="Windows\Shell\Chrome Assets\Buttons\ChromeMinimizeButtonViewModelTests.vb" />
    <Compile Include="Windows\Shell\Chrome Assets\Buttons\DefaultMaximizeButtonCommandHandlerTests.vb" />
    <Compile Include="Windows\Shell\Chrome Assets\Buttons\DefaultMinimizeCommandHandlerTests.vb" />
    <Compile Include="Windows\Shell\Chrome Assets\Buttons\NotDisplayedButtonViewmodelTests.vb" />
    <Compile Include="Windows\Shell\DoNothingClosingEventHandlerTests.vb" />
    <Compile Include="Windows\Shell\Open Animation Players\DropAnimationPlayerTests.vb" />
    <Compile Include="Windows\Shell\Open Animation Players\NoAnimationPlayerTests.vb" />
    <Compile Include="Utilities\UiUtilitiesTests.vb" />
    <Compile Include="Utilities\Window Metrics Resolver\CentralizedWindowLocationResolverTests.vb" />
    <Compile Include="Utilities\Window Metrics Resolver\PrimaryScreenWorkingAreaResolverTests.vb" />
    <Compile Include="Utilities\Window Metrics Resolver\UnrecordedWindowLotResolverTests.vb" />
    <Compile Include="Windows\ArchimedesWindowTests.vb" />
    <Compile Include="Workspaces\Machining\Construction\MachiningWorkspaceFactoryTests.vb" />
    <EmbeddedResource Include="My Project\Resources.resx">
      <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.vb</LastGenOutput>
      <CustomToolNamespace>My.Resources</CustomToolNamespace>
    </EmbeddedResource>
    <None Include="My Project\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.vb</LastGenOutput>
    </None>
    <None Include="packages.config" />
  </ItemGroup>
  <ItemGroup>
    <None Include="App.config" />
  </ItemGroup>
  <ItemGroup>
    <BootstrapperPackage Include=".NETFramework,Version=v4.8">
      <Visible>False</Visible>
      <ProductName>Microsoft .NET Framework 4.8 %28x86 and x64%29</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5 SP1</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
  </ItemGroup>
  <ItemGroup>
    <Folder Include="Installation\" />
  </ItemGroup>
  <ItemGroup>
    <None Include="How To\Setting Up Validation.txt" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\ApplicationState\ApplicationState.vbproj">
      <Project>{745d117c-2e92-4190-951d-83428029e027}</Project>
      <Name>ApplicationState</Name>
    </ProjectReference>
    <ProjectReference Include="..\Archimedes\Archimedes.vbproj">
      <Project>{93c3a5e6-8162-413b-8ceb-7fae88d4172e}</Project>
      <Name>Archimedes</Name>
    </ProjectReference>
    <ProjectReference Include="..\AuthenticationMode\Mode.vbproj">
      <Project>{8a8770b4-1272-474a-8c64-90c2d381dd09}</Project>
      <Name>Mode</Name>
    </ProjectReference>
    <ProjectReference Include="..\Authentication\Authentication.vbproj">
      <Project>{3615836a-bd8f-4c04-a8cc-b52e55aafb63}</Project>
      <Name>Authentication</Name>
    </ProjectReference>
    <ProjectReference Include="..\Authorization\Authorization.vbproj">
      <Project>{ea59133c-122c-4bae-bd7d-21284f2fc88e}</Project>
      <Name>Authorization</Name>
    </ProjectReference>
    <ProjectReference Include="..\Communal\Communal.vbproj">
      <Project>{df23a6fc-cc53-421f-9378-394655f47c99}</Project>
      <Name>Communal</Name>
    </ProjectReference>
    <ProjectReference Include="..\FatalException\FatalException.vbproj">
      <Project>{95595c8e-abc6-4283-a78a-52c1b96dc43a}</Project>
      <Name>FatalException</Name>
    </ProjectReference>
    <ProjectReference Include="..\Install\Install.vbproj">
      <Project>{b1162332-c8ff-4240-9a93-67140c830edf}</Project>
      <Name>Install</Name>
    </ProjectReference>
    <ProjectReference Include="..\Logging\Logging.vbproj">
      <Project>{24e3d87c-145b-48d5-a5d0-c1c461bda781}</Project>
      <Name>Logging</Name>
    </ProjectReference>
    <ProjectReference Include="..\MachineComms\MachineComms.vbproj">
      <Project>{57aa77c4-a5ab-4b48-bf22-980d15dc0ddd}</Project>
      <Name>MachineComms</Name>
    </ProjectReference>
    <ProjectReference Include="..\MachineTools\MachineTools.vbproj">
      <Project>{36756b52-3650-4287-9b92-a823d2c69986}</Project>
      <Name>MachineTools</Name>
    </ProjectReference>
    <ProjectReference Include="..\ShutDown\ShutDown.vbproj">
      <Project>{13ecf7b0-ade0-43ee-82e2-853de792656a}</Project>
      <Name>ShutDown</Name>
    </ProjectReference>
    <ProjectReference Include="..\StartUp\StartUp.vbproj">
      <Project>{f494dd32-fbd8-44d8-a4e5-dc3edd8d60ae}</Project>
      <Name>StartUp</Name>
    </ProjectReference>
    <ProjectReference Include="..\UiControls\UiControls.vbproj">
      <Project>{05e4192b-c4fd-4fbc-abd4-51b2e7a06bef}</Project>
      <Name>UiControls</Name>
    </ProjectReference>
    <ProjectReference Include="..\Users\Users.vbproj">
      <Project>{3b492439-97b4-4e2a-bf30-aa31c1dd71e1}</Project>
      <Name>Users</Name>
    </ProjectReference>
    <ProjectReference Include="..\Windows\Windows.vbproj">
      <Project>{c984632c-f6ab-4163-9774-410f75590073}</Project>
      <Name>Windows</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Analyzer Include="..\packages\FakeItEasy.Analyzer.VisualBasic.6.1.1\analyzers\dotnet\vb\FakeItEasy.Analyzer.VisualBasic.dll" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\packages\NUnit.3.13.3\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.13.3\build\NUnit.props'))" />
  </Target>
</Project>
Remco
#6 Posted : Thursday, March 9, 2023 9:57:17 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Thanks for sharing these details.

The issue is here:
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>

We currently don't support v4.8.1 with NCrunch. This is because for v4.8.1, MS did not release a build that would work on anything but the newest releases of Windows 10 and Windows 11. Consequently, our ageing build system can't handle it. We're in the process of upgrading everything at the moment, but the supply chains in New Zealand have been ravaged by covid and inflation, so it's very hard to get parts here. To use NCrunch with this project, you'll need to retarget v4.8 until we can ship a build that will work with v4.8.1.
1 user thanked Remco for this useful post.
CodeAdze on 3/10/2023(UTC)
CodeAdze
#7 Posted : Friday, March 10, 2023 2:17:55 AM(UTC)
Rank: Member

Groups: Registered
Joined: 9/3/2014(UTC)
Posts: 29
Location: Australia

Thanks: 4 times
Was thanked: 3 time(s) in 3 post(s)
Thank you... v4.8 it is... and we're running again... awesome.

I'm actually a Kiwi living in rural Western Australia, still have some contact with the Motherland so have heard about the ongoing supply chain difficulties there. We're facing a similar situation here, and with the flooding over east on top of that honestly, for a while there, it was a big deal just to have bananas in the supermarket!. There wasn't a stick of framing timber in town - none, and if you needed a share part for something you ordered it and waited, how long, ???, until it arrived. WA is really living up to its name at the moment WA=Wait Awhile. First world problems ah, I don't know how we cope sometimes 😊.

Thanks again for your help.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.059 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download