Skip to content

Commit

Permalink
Update to .Net 8 and new version Q sharp
Browse files Browse the repository at this point in the history
  • Loading branch information
RolfHuisman committed Oct 16, 2024
1 parent 86a0571 commit 8187f7f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
9 changes: 7 additions & 2 deletions sample/Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.18.2107153439">
<Project Sdk="Microsoft.Quantum.Sdk/0.28.302812">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<DefaultSimulator>QSharpCommunity.Simulators.Chp.StabilizerSimulator</DefaultSimulator>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
Expand All @@ -11,4 +11,9 @@
<ProjectReference Include="../src/ChpSimulator.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.Quantum.QSharp.Core" Version="0.28.302812" />
<PackageReference Update="Microsoft.Quantum.Standard" Version="0.28.302812" />
</ItemGroup>

</Project>
8 changes: 4 additions & 4 deletions src/ChpSimulator.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>

Expand All @@ -14,8 +14,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.18.2107153439" />
<PackageReference Include="Microsoft.Quantum.IQSharp.Jupyter" Version="0.18.2107153439" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.28.302812" />
<PackageReference Include="Microsoft.Quantum.IQSharp.Jupyter" Version="0.28.302812" />
</ItemGroup>

<!--For more info on the package properties check out https://docs.microsoft.com/en-us/dotnet/core/tools/csproj#nuget-metadata-properties -->
Expand Down
17 changes: 11 additions & 6 deletions test/ChpSimulator.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.18.2107153439">
<Project Sdk="Microsoft.Quantum.Sdk/0.28.302812">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.18.2107153439" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.28.302812" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -21,4 +21,9 @@
<ProjectReference Include="..\src\ChpSimulator.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.Quantum.QSharp.Core" Version="0.28.302812" />
<PackageReference Update="Microsoft.Quantum.Standard" Version="0.28.302812" />
</ItemGroup>

</Project>

0 comments on commit 8187f7f

Please sign in to comment.