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

Notification

Icon
Error

dotnet 10 preview 4
mikael_salle
#1 Posted : Tuesday, June 3, 2025 1:36:08 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/17/2019(UTC)
Posts: 1
Location: Sweden

After upgrading dotnet 10 preview 3 to preview 4 I am getting the following error, but not all assemblies in the solution file.
Runninig on visual studio 2022 preview Version 17.14.3 Preview 1.0 and NCrunch 5.15.0.4


C:\Program Files\dotnet\sdk\10.0.100-preview.4.25258.110\Roslyn\Microsoft.CSharp.Core.targets: The "CompilerType" parameter is not supported by the "Csc" task loaded from assembly: Microsoft.Build.Tasks.CodeAnalysis, Version=4.14.12.22906, Culture=neutral, PublicKeyToken=31bf3856ad364e35 from the path: c:\program files\microsoft visual studio\2022\preview\MSBuild\Current\Bin\Roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll. Verify that the parameter exists on the task, the <UsingTask> points to the correct assembly, and it is a settable public instance property. C:\Program Files\dotnet\sdk\10.0.100-preview.4.25258.110\Roslyn\Microsoft.CSharp.Core.targets: The "Csc" task could not be initialized with its input parameters.

csproj of the library
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0|AnyCPU'">
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0|AnyCPU'">
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.3.0" />
</ItemGroup>

</Project>

Remco
#2 Posted : Tuesday, June 3, 2025 11:40:38 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,307

Thanks: 988 times
Was thanked: 1327 time(s) in 1230 post(s)
Hi, thanks for posting.

I'm sorry but NCrunch doesn't support preview builds of .NET. You'll need to wait until we're closer to RTM on this platform before support is added.
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.027 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download