Skip to content

Commit

Permalink
Merge pull request #56 from simongdavies/udpate-wasmtime
Browse files Browse the repository at this point in the history
update to v0.8.0-preview
  • Loading branch information
simongdavies authored Sep 20, 2021
2 parents 2114a11 + 570e5ef commit 9f59c27
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ To create a ASP.Net Core web application that host a demo WAGI Module:
***Note: nuget.org only contains (pre-)released versions of the packages, to install the latest versions follow the instructions [here](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry) to set up GitHub packages registry as a source for nuget packages.***

``` Console
dotnet new -i Deislabs.WAGI.Templates::0.7.1-preview
dotnet new -i Deislabs.WAGI.Templates::0.8.0-preview
```

This will add the dotnet wagi templates. To install pre-release versions of the templates the version of the template package must be provided as a suffix to the package name as show above `::0.7.1-preview`.
This will add the dotnet wagi templates. To install pre-release versions of the templates the version of the template package must be provided as a suffix to the package name as show above `::0.8.0-preview`.


``` Console
dotnet new wagi -n hello-wagi
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dotnet add package Deislabs.WAGI --prerelease
info : Adding PackageReference for package 'Deislabs.WAGI' into project '/tmp/wagiproj/WagiTest.csproj'.
info : Restoring packages for /tmp/wagiproj/WagiTest.csproj...
info : Package 'Deislabs.WAGI' is compatible with all the specified frameworks in project '/tmp/wagiproj/WagiTest.csproj'.
info : PackageReference for package 'Deislabs.WAGI' version '0.7.1-preview' updated in file '/tmp/wagiproj/WagiTest.csproj'.
info : PackageReference for package 'Deislabs.WAGI' version '0.8.0-preview' updated in file '/tmp/wagiproj/WagiTest.csproj'.
info : Committing restore...
info : Writing assets file to disk. Path: /tmp/wagiproj/obj/project.assets.json
log : Restored /tmp/wagiproj/WagiTest.csproj (in 155 ms).
Expand Down
36 changes: 18 additions & 18 deletions source/dotnettemplates/templates/wagi_project/Wagi.Project.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Deislabs.WAGI" Version="0.7.1-preview" />
</ItemGroup>

<ItemGroup>
<Content Include=".\modules\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Deislabs.WAGI" Version="0.8.0-preview" />
</ItemGroup>

<ItemGroup>
<Content Include=".\modules\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>

</Project>

0 comments on commit 9f59c27

Please sign in to comment.