Skip to content

Commit

Permalink
Set LangVersion to preview, update readme, and update pipeline to use…
Browse files Browse the repository at this point in the history
… 8.0 build.
  • Loading branch information
jkoritzinsky committed Aug 15, 2023
1 parent 8a201e3 commit d108d19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: 'Force a snippets build'

env:
DOTNET_INSTALLER_CHANNEL: '7.0'
DOTNET_INSTALLER_CHANNEL: '8.0'
DOTNET_DO_INSTALL: 'true' # True to install preview versions, False to use the pre-installed (released) SDK
EnableNuGetPackageRestore: 'True'
repo: 'samples'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This sample implements and uses custom marshallers for a built-in type and a use

## Prerequisites

- [.NET 7 SDK](https://dotnet.microsoft.com/download) Preview 7 or later
- [.NET 8 SDK](https://dotnet.microsoft.com/download) Preview 7 or later

- C++ compiler
- Windows: `cl.exe`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<Nullable>enable</Nullable>
<RootNamespace>CustomMarshalling</RootNamespace>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<LangVersion>Preview</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit d108d19

Please sign in to comment.